Home
last modified time | relevance | path

Searched refs:getDeclaringClass (Results 1 – 25 of 123) sorted by relevance

12345

/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_reflectionmodel_ReflectionMethodDeclaration.txt4 Line 77) method.getDeclaringClass().isInterface() ==> java.lang.Class.isInterface()
5 Line 77) method.getDeclaringClass() ==> java.lang.reflect.Method.getDeclaringClass()
6 Line 78) method.getDeclaringClass() ==> java.lang.reflect.Method.getDeclaringClass()
7 Line 80) method.getDeclaringClass().isEnum() ==> java.lang.Class.isEnum()
8 Line 80) method.getDeclaringClass() ==> java.lang.reflect.Method.getDeclaringClass()
9 Line 81) method.getDeclaringClass() ==> java.lang.reflect.Method.getDeclaringClass()
10 Line 83) method.getDeclaringClass() ==> java.lang.reflect.Method.getDeclaringClass()
Dcom_github_javaparser_symbolsolver_javassistmodel_JavassistMethodDeclaration.txt1 Line 51) ctMethod.getDeclaringClass().isInterface() ==> javassist.CtClass.isInterface()
2 Line 51) ctMethod.getDeclaringClass() ==> javassist.CtMember.getDeclaringClass()
7 Line 88) ctMethod.getDeclaringClass().isInterface() ==> javassist.CtClass.isInterface()
8 Line 88) ctMethod.getDeclaringClass() ==> javassist.CtMember.getDeclaringClass()
9 Line 89) ctMethod.getDeclaringClass() ==> javassist.CtMember.getDeclaringClass()
10 Line 91) ctMethod.getDeclaringClass() ==> javassist.CtMember.getDeclaringClass()
Dcom_github_javaparser_symbolsolver_javassistmodel_JavassistTypeDeclarationAdapter.txt28 Line 86) ctClass.getDeclaringClass() ==> javassist.CtClass.getDeclaringClass()
30 …Line 88) Optional.of(JavassistFactory.toTypeDeclaration(ctClass.getDeclaringClass(), typeSolver)) …
31 …Line 88) JavassistFactory.toTypeDeclaration(ctClass.getDeclaringClass(), typeSolver) ==> com.githu…
32 Line 88) ctClass.getDeclaringClass() ==> javassist.CtClass.getDeclaringClass()
Dcom_github_javaparser_symbolsolver_javassistmodel_JavassistFieldDeclaration.txt8 …Line 82) JavassistFactory.toTypeDeclaration(ctField.getDeclaringClass(), typeSolver) ==> com.githu…
9 Line 82) ctField.getDeclaringClass() ==> javassist.CtField.getDeclaringClass()
Dcom_github_javaparser_symbolsolver_reflectionmodel_ReflectionFieldDeclaration.txt7 …Line 76) ReflectionFactory.typeDeclarationFor(field.getDeclaringClass(), typeSolver) ==> com.githu…
8 Line 76) field.getDeclaringClass() ==> java.lang.reflect.Field.getDeclaringClass()
Dcom_github_javaparser_symbolsolver_reflectionmodel_ReflectionConstructorDeclaration.txt1 Line 43) constructor.getDeclaringClass() ==> java.lang.reflect.Constructor.getDeclaringClass()
/external/guava/guava/src/com/google/common/reflect/
DInvokable.java163 @Override public final Class<? super T> getDeclaringClass() { in getDeclaringClass() method in Invokable
164 return (Class<? super T>) super.getDeclaringClass(); in getDeclaringClass()
171 return (TypeToken<T>) TypeToken.of(getDeclaringClass()); in getOwnerType()
222 || Modifier.isFinal(getDeclaringClass().getModifiers())); in isOverridable()
250 Class<?> declaringClass = getDeclaringClass(); in getGenericReturnType()
264 && rawParamTypes[0] == getDeclaringClass().getEnclosingClass()) { in getGenericParameterTypes()
290 TypeVariable<?>[] declaredByClass = getDeclaringClass().getTypeParameters(); in getTypeParameters()
311 Class<?> declaringClass = constructor.getDeclaringClass(); in mayNeedHiddenThis()
DElement.java49 return TypeToken.of(getDeclaringClass()); in getOwnerType()
76 @Override public Class<?> getDeclaringClass() { in getDeclaringClass() method in Element
77 return member.getDeclaringClass(); in getDeclaringClass()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionMethodDeclaration.java81 if (method.getDeclaringClass().isInterface()) { in declaringType()
82 return new ReflectionInterfaceDeclaration(method.getDeclaringClass(), typeSolver); in declaringType()
84 if (method.getDeclaringClass().isEnum()) { in declaringType()
85 return new ReflectionEnumDeclaration(method.getDeclaringClass(), typeSolver); in declaringType()
87 return new ReflectionClassDeclaration(method.getDeclaringClass(), typeSolver); in declaringType()
/external/testng/src/main/java/org/testng/internal/
DObjectFactoryImpl.java32 return ClassHelper.tryOtherConstructor(constructor.getDeclaringClass()); in newInstance()
35 return ClassHelper.tryOtherConstructor(constructor.getDeclaringClass()); in newInstance()
40 ? constructor.getDeclaringClass().getName() in newInstance()
DConstructorOrMethod.java25 public Class<?> getDeclaringClass() { in getDeclaringClass() method in ConstructorOrMethod
26 …return getMethod() != null ? getMethod().getDeclaringClass() : getConstructor().getDeclaringClass(… in getDeclaringClass()
DBaseTestMethod.java87 m_methodClass = com.getDeclaringClass(); in BaseTestMethod()
133 if (! tc.getRealClass().equals(m_method.getDeclaringClass())) { in setTestClass()
134 assert m_method.getDeclaringClass().isAssignableFrom(tc.getRealClass()) : in setTestClass()
135 "\nMISMATCH : " + tc.getRealClass() + " " + m_method.getDeclaringClass(); in setTestClass()
439 … classAnnotation = getAnnotationFinder().findAnnotation(getMethod().getDeclaringClass(), annotatio… in initGroups()
450 … classAnnotation = getAnnotationFinder().findAnnotation(getMethod().getDeclaringClass(), annotatio… in initGroups()
510 String classLong = m_method.getDeclaringClass().getName(); in computeSignature()
DTestNGMethod.java93 m_method.getDeclaringClass().getName() + "." + m_method.getName())); in init()
100 … testAnnotation = AnnotationHelper.findTest(getAnnotationFinder(), m_method.getDeclaringClass()); in init()
132 if (c.getName().equals(m_method.getMethod().getDeclaringClass().getName())) { in findDescription()
/external/guice/core/src/com/google/inject/
DTypeLiteral.java251 field.getDeclaringClass().isAssignableFrom(rawType), in getFieldType()
270 method.getDeclaringClass().isAssignableFrom(rawType), in getParameterTypes()
279 constructor.getDeclaringClass().isAssignableFrom(rawType), in getParameterTypes()
304 method.getDeclaringClass().isAssignableFrom(rawType), in getExceptionTypes()
313 constructor.getDeclaringClass().isAssignableFrom(rawType), in getExceptionTypes()
334 method.getDeclaringClass().isAssignableFrom(rawType), in getReturnType()
/external/guice/core/src/com/google/inject/internal/util/
DClasses.java47 return member.getDeclaringClass().getName() + "." + member.getName() + "()"; in toString()
49 return member.getDeclaringClass().getName() + "." + member.getName(); in toString()
51 return member.getDeclaringClass().getName() + ".<init>()"; in toString()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javassistmodel/
DJavassistMethodDeclaration.java55 return ctMethod.getDeclaringClass().isInterface() && !isAbstract(); in isDefaultMethod()
92 if (ctMethod.getDeclaringClass().isInterface()) { in declaringType()
93 return new JavassistInterfaceDeclaration(ctMethod.getDeclaringClass(), typeSolver); in declaringType()
95 return new JavassistClassDeclaration(ctMethod.getDeclaringClass(), typeSolver); in declaringType()
DJavassistTypeDeclarationAdapter.java86 return ctClass.getDeclaringClass() == null ? in containerType()
88 Optional.of(JavassistFactory.toTypeDeclaration(ctClass.getDeclaringClass(), typeSolver)); in containerType()
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/
DChannelAndServerBuilderTest.java81 assertSame(builderClass, method.getDeclaringClass()); in serverBuilderHidesMethod_forPort()
91 assertSame(builderClass, method.getDeclaringClass()); in channelBuilderHidesMethod_forAddress()
101 assertSame(builderClass, method.getDeclaringClass()); in channelBuilderHidesMethod_forTarget()
/external/mockito/src/main/java/org/mockito/internal/util/
DObjectMethodsGuru.java24 return Comparable.class.isAssignableFrom(method.getDeclaringClass()) in isCompareToMethod()
27 && method.getParameterTypes()[0] == method.getDeclaringClass(); in isCompareToMethod()
/external/junit/src/main/java/org/junit/runners/model/
DFrameworkField.java65 public Class<?> getDeclaringClass() { in getDeclaringClass() method in FrameworkField
66 return field.getDeclaringClass(); in getDeclaringClass()
/external/testng/src/test/java/test/dataprovider/
DMethodTest.java14 Assert.assertEquals("test.dataprovider.MethodTest", m.getDeclaringClass().getName()); in createData()
38 Assert.assertEquals("test.dataprovider.MethodTest", m.getDeclaringClass().getName()); in createData2()
/external/guice/core/src/com/google/inject/internal/
DProviderMethodsModule.java154 if (matchingSignature.getDeclaringClass().isAssignableFrom(method.getDeclaringClass())) { in getProviderMethods()
249 return a.getDeclaringClass().getPackage().equals(b.getDeclaringClass().getPackage()); in overrides()
/external/junit/src/main/java/org/junit/internal/runners/
DMethodValidator.java79 if (!Modifier.isPublic(each.getDeclaringClass().getModifiers())) { in validateTestMethods()
80 errors.add(new Exception("Class " + each.getDeclaringClass().getName() in validateTestMethods()
/external/guava/guava-testlib/test/com/google/common/collect/testing/features/
DFeatureEnumTest.java66 annotationClass, propertyName, annotationClass.getDeclaringClass()), in assertGoodTesterAnnotation()
67 annotationClass.getDeclaringClass(), returnType.getComponentType()); in assertGoodTesterAnnotation()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DEnumBiMap.java89 return map.keySet().iterator().next().getDeclaringClass(); in inferKeyType()
97 return map.values().iterator().next().getDeclaringClass(); in inferValueType()

12345