Home
last modified time | relevance | path

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

/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/java/io/
DObjectStreamClass.java179 private Constructor<?> cons; field in ObjectStreamClass
503 cons = getExternalizableConstructor(cl); in ObjectStreamClass()
505 cons = getSerializableConstructor(cl); in ObjectStreamClass()
538 } else if (cons == null) { in ObjectStreamClass()
588 cons = localDesc.cons; in initProxy()
674 cons = localDesc.cons; in initNonProxy()
947 return (cons != null); in isInstantiable()
1012 if (cons != null) { in newInstance()
1014 return cons.newInstance(); in newInstance()
1398 Constructor<?> cons = cl.getDeclaredConstructor((Class<?>[]) null); in getExternalizableConstructor() local
[all …]
DConsole.java524 if (cons == null) in console()
525 cons = new Console(); in console()
526 return cons; in console()
530 private static Console cons; field in Console
/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/
DSystem.java201 private static volatile Console cons = null; field in System
212 if (cons == null) { in console()
214 if (cons == null) { in console()
215 cons = Console.console(); in console()
219 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/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/security/
DProvider.java1648 Constructor<?> cons = clazz.getConstructor(paramClass); in newInstance() local
1649 return cons.newInstance(constructorParameter); in newInstance()
1713 Constructor[] cons = clazz.getConstructors(); in newInstanceGeneric() local
1716 for (Constructor<?> con : cons) { in newInstanceGeneric()
/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.java1841 Constructor cons = UnreflectTester.class.getConstructor(String.class, boolean.class); in testRevealDirect() local
1850 assertEquals(cons, info.reflectAs(Constructor.class, MethodHandles.lookup())); in testRevealDirect()
1934 Constructor cons = UnreflectTester.class.getConstructor(String.class, boolean.class); in testReflectAs() local
1936 assertEquals(cons, reflectedCons); in testReflectAs()