Home
last modified time | relevance | path

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

1234

/external/TestParameterInjector/junit5/src/main/java/com/google/testing/junit/testparameterinjector/junit5/
DTestParameterInjectorExtension.java60 testClass.getDeclaredConstructors().length == 1, in validateTestMethodAndConstructor()
62 testClass.getDeclaredConstructors().length, in validateTestMethodAndConstructor()
65 getOnlyElement(ImmutableList.copyOf(testClass.getDeclaredConstructors())); in validateTestMethodAndConstructor()
85 getOnlyElement(ImmutableList.copyOf(testInfo().getTestClass().getDeclaredConstructors())); in getConstructorParameters()
DTestParameterInjectorUtils.java39 constructors = ImmutableList.copyOf(testClass.getDeclaredConstructors()); in getOnlyConstructor()
/external/guava/guava-tests/test/com/google/common/reflect/
DInvokableTest.java490 Constructor<?> constructor = InnerWithDefaultConstructor.class.getDeclaredConstructors()[0]; in testInnerClassDefaultConstructor()
496 InnerWithDefaultConstructor.NestedInner.class.getDeclaredConstructors()[0]; in testNestedInnerClassDefaultConstructor()
507 InnerWithOneParameterConstructor.class.getDeclaredConstructors()[0]; in testInnerClassWithOneParameterConstructor()
520 InnerWithAnnotatedConstructorParameter.class.getDeclaredConstructors()[0]; in testInnerClassWithAnnotatedConstructorParameter()
533 InnerWithGenericConstructorParameter.class.getDeclaredConstructors()[0]; in testInnerClassWithGenericConstructorParameter()
550 Constructor<?> constructor = anonymous.getDeclaredConstructors()[0]; in testAnonymousClassDefaultConstructor()
560 Constructor<?> constructor = anonymous.getDeclaredConstructors()[0]; in testAnonymousClassWithTwoParametersConstructor()
573 Constructor<?> constructor = LocalWithDefaultConstructor.class.getDeclaredConstructors()[0]; in testLocalClassDefaultConstructor()
591 Constructor<?> constructor = anonymous.getDeclaredConstructors()[0]; in doTestStaticAnonymousClassDefaultConstructor()
610 Constructor<?> constructor = anonymous.getDeclaredConstructors()[0]; in AnonymousClassInConstructor()
[all …]
/external/guava/android/guava-tests/test/com/google/common/reflect/
DInvokableTest.java490 Constructor<?> constructor = InnerWithDefaultConstructor.class.getDeclaredConstructors()[0]; in testInnerClassDefaultConstructor()
496 InnerWithDefaultConstructor.NestedInner.class.getDeclaredConstructors()[0]; in testNestedInnerClassDefaultConstructor()
507 InnerWithOneParameterConstructor.class.getDeclaredConstructors()[0]; in testInnerClassWithOneParameterConstructor()
520 InnerWithAnnotatedConstructorParameter.class.getDeclaredConstructors()[0]; in testInnerClassWithAnnotatedConstructorParameter()
533 InnerWithGenericConstructorParameter.class.getDeclaredConstructors()[0]; in testInnerClassWithGenericConstructorParameter()
550 Constructor<?> constructor = anonymous.getDeclaredConstructors()[0]; in testAnonymousClassDefaultConstructor()
560 Constructor<?> constructor = anonymous.getDeclaredConstructors()[0]; in testAnonymousClassWithTwoParametersConstructor()
573 Constructor<?> constructor = LocalWithDefaultConstructor.class.getDeclaredConstructors()[0]; in testLocalClassDefaultConstructor()
591 Constructor<?> constructor = anonymous.getDeclaredConstructors()[0]; in doTestStaticAnonymousClassDefaultConstructor()
610 Constructor<?> constructor = anonymous.getDeclaredConstructors()[0]; in AnonymousClassInConstructor()
[all …]
/external/angle/build/android/incremental_install/third_party/AndroidHiddenApiBypass/library/src/main/java/org/lsposed/hiddenapibypass/
DLSPass.java52 public static List<Constructor<?>> getDeclaredConstructors(@NonNull Class<?> clazz) { in getDeclaredConstructors() method in LSPass
135 var constructors = getDeclaredConstructors(clazz); in getDeclaredConstructor()
157 var constructors = getDeclaredConstructors(clazz); in newInstance()
/external/sdk-platform-java/gax-java/gax/src/main/java/com/google/api/gax/nativeimage/
DNativeImageUtils.java80 RuntimeReflection.register(clazz.getDeclaredConstructors()); in registerConstructorsForReflection()
91 RuntimeReflection.register(clazz.getDeclaredConstructors()); in registerClassForReflection()
/external/javassist/src/main/javassist/util/proxy/
DSecurityActions.java71 static Constructor<?>[] getDeclaredConstructors(final Class<?> clazz)
74 return clazz.getDeclaredConstructors();
79 return clazz.getDeclaredConstructors();
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/analysis/reflection/
DReflectionClassDef.java166 Arrays.asList(cls.getDeclaredConstructors()).iterator(),
219 Arrays.asList(cls.getDeclaredConstructors()),
238 return cls.getDeclaredMethods().length + cls.getDeclaredConstructors().length;
/external/TestParameterInjector/junit4/src/main/java/com/google/testing/junit/testparameterinjector/
DTestParameterInjectorUtils.java39 constructors = ImmutableList.copyOf(testClass.getDeclaredConstructors()); in getOnlyConstructor()
/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/javassist/src/main/javassist/
DCtNewClass.java93 cs = superclazz.getDeclaredConstructors(); in inheritAllConstructors()
DSerialVersionUID.java142 CtConstructor[] constructors = clazz.getDeclaredConstructors(); in calculateDefault()
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DBenchmarkCreator.java54 for (Constructor<?> constructor : benchmarkClass.getDeclaredConstructors()) { in findDefaultConstructor()
/external/javaparser/javaparser-core-metamodel-generator/src/main/java/com/github/javaparser/generator/metamodel/
DInitializeConstructorParametersStatementsGenerator.java49 for (Constructor<?> constructor : nodeClass.getDeclaredConstructors()) { in findAllFieldsConstructor()
/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/
DClassPathUtilsTest.java37 final Constructor<?>[] cons = ClassPathUtils.class.getDeclaredConstructors(); in testConstructor()
DRandomUtilsTest.java45 final Constructor<?>[] cons = RandomUtils.class.getDeclaredConstructors(); in testConstructor()
/external/jazzer-api/src/main/java/com/code_intelligence/jazzer/autofuzz/
DAccessibleObjectLookup.java58 Arrays.stream(type.getDeclaredConstructors()), Arrays.stream(type.getConstructors())) in getAccessibleConstructors()
/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()
/external/angle/build/android/incremental_install/java/org/chromium/incrementalinstall/
DReflect.java129 for (Constructor<?> constructor : clazz.getDeclaredConstructors()) { in findConstructor()
/external/cronet/tot/build/android/incremental_install/java/org/chromium/incrementalinstall/
DReflect.java129 for (Constructor<?> constructor : clazz.getDeclaredConstructors()) { in findConstructor()
/external/cronet/stable/build/android/incremental_install/java/org/chromium/incrementalinstall/
DReflect.java129 for (Constructor<?> constructor : clazz.getDeclaredConstructors()) { in findConstructor()
/external/mockito/src/main/java/org/mockito/internal/creation/instance/
DConstructorInstantiator.java45 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/threetenbp/src/test/java/org/threeten/bp/
DAbstractTest.java136 Constructor<?>[] cons = cls.getDeclaredConstructors(); in assertImmutable()

1234