Home
last modified time | relevance | path

Searched refs:getDeclaredConstructors (Results 1 – 25 of 39) sorted by relevance

12

/external/guava/android/guava-tests/test/com/google/common/reflect/
DInvokableTest.java321 Constructor<?> constructor = InnerWithDefaultConstructor.class.getDeclaredConstructors()[0]; in testInnerClassDefaultConstructor()
327 InnerWithDefaultConstructor.NestedInner.class.getDeclaredConstructors()[0]; in testNestedInnerClassDefaultConstructor()
338 InnerWithOneParameterConstructor.class.getDeclaredConstructors()[0]; in testInnerClassWithOneParameterConstructor()
351 InnerWithAnnotatedConstructorParameter.class.getDeclaredConstructors()[0]; in testInnerClassWithAnnotatedConstructorParameter()
364 InnerWithGenericConstructorParameter.class.getDeclaredConstructors()[0]; in testInnerClassWithGenericConstructorParameter()
381 Constructor<?> constructor = anonymous.getDeclaredConstructors()[0]; in testAnonymousClassDefaultConstructor()
391 Constructor<?> constructor = anonymous.getDeclaredConstructors()[0]; in testAnonymousClassWithTwoParametersConstructor()
404 Constructor<?> constructor = LocalWithDefaultConstructor.class.getDeclaredConstructors()[0]; in testLocalClassDefaultConstructor()
422 Constructor<?> constructor = anonymous.getDeclaredConstructors()[0]; in doTestStaticAnonymousClassDefaultConstructor()
441 Constructor<?> constructor = anonymous.getDeclaredConstructors()[0]; in AnonymousClassInConstructor()
[all …]
/external/guava/guava-tests/test/com/google/common/reflect/
DInvokableTest.java321 Constructor<?> constructor = InnerWithDefaultConstructor.class.getDeclaredConstructors()[0]; in testInnerClassDefaultConstructor()
327 InnerWithDefaultConstructor.NestedInner.class.getDeclaredConstructors()[0]; in testNestedInnerClassDefaultConstructor()
338 InnerWithOneParameterConstructor.class.getDeclaredConstructors()[0]; in testInnerClassWithOneParameterConstructor()
351 InnerWithAnnotatedConstructorParameter.class.getDeclaredConstructors()[0]; in testInnerClassWithAnnotatedConstructorParameter()
364 InnerWithGenericConstructorParameter.class.getDeclaredConstructors()[0]; in testInnerClassWithGenericConstructorParameter()
381 Constructor<?> constructor = anonymous.getDeclaredConstructors()[0]; in testAnonymousClassDefaultConstructor()
391 Constructor<?> constructor = anonymous.getDeclaredConstructors()[0]; in testAnonymousClassWithTwoParametersConstructor()
404 Constructor<?> constructor = LocalWithDefaultConstructor.class.getDeclaredConstructors()[0]; in testLocalClassDefaultConstructor()
422 Constructor<?> constructor = anonymous.getDeclaredConstructors()[0]; in doTestStaticAnonymousClassDefaultConstructor()
441 Constructor<?> constructor = anonymous.getDeclaredConstructors()[0]; in AnonymousClassInConstructor()
[all …]
/external/javassist/src/main/javassist/util/proxy/
DSecurityActions.java71 static Constructor<?>[] getDeclaredConstructors(final Class<?> clazz)
74 return clazz.getDeclaredConstructors();
79 return clazz.getDeclaredConstructors();
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/reflection/
DReflectionClassDef.java170 Iterators.transform(Iterators.forArray(cls.getDeclaredConstructors()),
221 Iterators.transform(Iterators.forArray(cls.getDeclaredConstructors()),
239 return cls.getDeclaredMethods().length + cls.getDeclaredConstructors().length;
/external/javassist/sample/evolve/
DEvolution.java130 CtConstructor[] cs = clazz.getDeclaredConstructors(); in makeAbstractClass()
181 CtConstructor[] cs = clazz.getDeclaredConstructors(); in makeConcreteClass()
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
DCheckedProvideUtils.java47 for (Constructor<?> constructor : rawType.getDeclaredConstructors()) { in findThrowingConstructor()
/external/javaparser/javaparser-core-metamodel-generator/src/main/java/com/github/javaparser/generator/metamodel/
DInitializeConstructorParametersStatementsGenerator.java49 for (Constructor<?> constructor : nodeClass.getDeclaredConstructors()) { in findAllFieldsConstructor()
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DBenchmarkCreator.java54 for (Constructor<?> constructor : benchmarkClass.getDeclaredConstructors()) { in findDefaultConstructor()
/external/javassist/src/main/javassist/
DCtNewClass.java93 cs = superclazz.getDeclaredConstructors(); in inheritAllConstructors()
DSerialVersionUID.java142 CtConstructor[] constructors = clazz.getDeclaredConstructors(); in calculateDefault()
DCtClass.java931 public CtConstructor[] getDeclaredConstructors() { in getDeclaredConstructors() method in CtClass
/external/javassist/src/test/javassist/
DJvstTest3.java606 CtConstructor[] cons = cc.getDeclaredConstructors(); in testEmptyConstructor()
611 cons = cc.getDeclaredConstructors(); in testEmptyConstructor()
616 cons = cc.getDeclaredConstructors(); in testEmptyConstructor()
621 cons = cc.getDeclaredConstructors(); in testEmptyConstructor()
1070 assertEquals(3, obj.getClass().getDeclaredConstructors().length); in testInheritCons()
1076 assertEquals(2, obj.getClass().getDeclaredConstructors().length); in testInheritCons()
DJvstTest.java189 CtConstructor[] cons = cc.getDeclaredConstructors(); in testCalleeBefore()
224 CtConstructor[] cons = cc.getDeclaredConstructors(); in testCalleeAfter()
457 CtConstructor[] cons = cc.getDeclaredConstructors(); in testEmptyBody()
/external/mockito/src/main/java/org/mockito/internal/creation/instance/
DConstructorInstantiator.java42 for (Constructor<?> constructor : cls.getDeclaredConstructors()) { in withParams()
/external/testng/src/main/java/org/testng/internal/
DClassHelper.java151 for (Constructor constructor : cls.getDeclaredConstructors()) { in findDeclaredFactoryMethod()
432 Constructor<?>[] constructors = declaringClass.getDeclaredConstructors(); in findAnnotatedConstructor()
/external/mockito/src/main/java/org/mockito/internal/util/reflection/
DFieldInitializer.java295 …final List<? extends Constructor<?>> constructors = Arrays.asList(clazz.getDeclaredConstructors()); in biggestConstructor()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionClassAdapter.java179 return Arrays.stream(clazz.getDeclaredConstructors()) in getConstructors()
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/constructor/
DConstructor.java386 .getDeclaredConstructors(); in construct()
552 .getType().getDeclaredConstructors()) { in construct()
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
DFactoryProvider.java273 for (Constructor<?> constructor : implementationType.getRawType().getDeclaredConstructors()) { in createMethodMapping()
/external/guice/extensions/mini/src/com/google/inject/mini/
DMiniGuice.java216 for (Constructor<?> constructor : type.getDeclaredConstructors()) { in addJitBinding()
/external/guava/guava-testlib/src/com/google/common/testing/
DNullPointerTester.java111 for (Constructor<?> constructor : c.getDeclaredConstructors()) { in testConstructors()
/external/guava/android/guava-testlib/src/com/google/common/testing/
DNullPointerTester.java112 for (Constructor<?> constructor : c.getDeclaredConstructors()) { in testConstructors()
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DDeprecatedAPIChecker.java130 for (Constructor<?> ctor : cls.getDeclaredConstructors()) { in checkClass()
/external/guice/core/test/com/google/inject/spi/
DSpiBindingsTest.java215 Constructor<?> expected = D.class.getDeclaredConstructors()[0]; in testToConstructorBinding()
/external/javassist/src/test/testproxy/
DProxyTester.java158 Constructor[] cons = c.getDeclaredConstructors(); in testConstructor()

12