Home
last modified time | relevance | path

Searched refs:cons (Results 1 – 16 of 16) sorted by relevance

/libcore/ojluni/src/main/java/java/io/
DObjectStreamClass.java188 private Constructor<?> cons; field in ObjectStreamClass
527 cons = getExternalizableConstructor(cl); in ObjectStreamClass()
529 cons = getSerializableConstructor(cl); in ObjectStreamClass()
562 } else if (cons == null && !isRecord) { in ObjectStreamClass()
616 cons = localDesc.cons; in initProxy()
707 assert cl.isRecord() ? localDesc.cons == null : true; in initNonProxy()
708 cons = localDesc.cons; in initNonProxy()
990 return (cons != null); in isInstantiable()
1055 if (cons != null) { in newInstance()
1057 return cons.newInstance(); in newInstance()
[all …]
DConsole.java620 if (cons == null) in console()
621 cons = new Console(); in console()
622 return cons; in console()
626 private static Console cons; field in Console
/libcore/ojluni/src/test/java/time/test/java/time/
DAbstractTest.java99 Constructor<?>[] cons = cls.getDeclaredConstructors(); in assertImmutable() local
100 for (Constructor<?> con : cons) { in assertImmutable()
/libcore/ojluni/src/main/java/javax/security/cert/
DX509Certificate.java235 Constructor<?> cons = certClass.getConstructor(params); in getInst() local
238 Object obj = cons.newInstance(new Object[] {value}); in getInst()
/libcore/ojluni/src/main/java/sun/security/x509/
DOtherName.java128 Constructor<?> cons = extClass.getConstructor(params); in getGNI() local
132 (GeneralNameInterface)cons.newInstance(passed); in getGNI()
DCRLExtensions.java122 Constructor<?> cons = extClass.getConstructor(PARAMS); in parseExtension() local
125 CertAttrSet<?> crlExt = (CertAttrSet<?>)cons.newInstance(passed); in parseExtension()
DCertificateExtensions.java108 Constructor<?> cons = extClass.getConstructor(PARAMS); in parseExtension() local
113 cons.newInstance(passed); in parseExtension()
DX500Name.java1410 Constructor<X500Principal> cons = pClass.getDeclaredConstructor(args);
1411 cons.setAccessible(true);
1414 return new Object[] {cons, field};
/libcore/ojluni/src/main/java/sun/security/jca/
DProviderConfig.java257 Constructor<?> cons = provClass.getConstructor(CL_STRING);
258 obj = cons.newInstance(argument);
/libcore/ojluni/src/main/java/java/lang/reflect/
DProxy.java886 final Constructor<?> cons = cl.getConstructor(constructorParams); in newProxyInstance() local
899 cons.setAccessible(true); in newProxyInstance()
902 return cons.newInstance(new Object[]{h}); in newProxyInstance()
/libcore/ojluni/src/main/java/java/lang/
DSystem.java202 private static volatile Console cons = null; field in System
213 if (cons == null) { in console()
215 if (cons == null) { in console()
216 cons = Console.console(); in console()
220 return cons; in console()
/libcore/ojluni/annotations/hiddenapi/java/io/
DConsole.java97 private static java.io.Console cons; field in Console
DObjectStreamClass.java387 private java.lang.reflect.Constructor<?> cons; field in ObjectStreamClass
683 public MemberSignature(java.lang.reflect.Constructor<?> cons) { in MemberSignature() argument
/libcore/ojluni/src/main/java/java/util/
DScanner.java2864 public boolean tryAdvance(Consumer<? super String> cons) { in tryAdvance() argument
2872 cons.accept(token); in tryAdvance()
2976 public boolean tryAdvance(Consumer<? super MatchResult> cons) { in tryAdvance() argument
2992 cons.accept(matcher.toMatchResult()); in tryAdvance()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DSystem.java299 private static volatile java.io.Console cons; field in System
/libcore/luni/src/test/java/libcore/java/lang/invoke/
DMethodHandlesTest.java1960 Constructor cons = UnreflectTester.class.getConstructor(String.class, boolean.class); in testRevealDirect() local
1969 assertEquals(cons, info.reflectAs(Constructor.class, MethodHandles.lookup())); in testRevealDirect()
2053 Constructor cons = UnreflectTester.class.getConstructor(String.class, boolean.class); in testReflectAs() local
2055 assertEquals(cons, reflectedCons); in testReflectAs()