Home
last modified time | relevance | path

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

1234567891011

/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/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()
/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/reflect/
DFieldUtilsTest.java92 … assertEquals(Foo.class, FieldUtils.getField(PublicChild.class, "VALUE").getDeclaringClass()); in testGetField()
93 assertEquals(parentClass, FieldUtils.getField(PublicChild.class, "s").getDeclaringClass()); in testGetField()
97 …rtEquals(Foo.class, FieldUtils.getField(PubliclyShadowedChild.class, "VALUE").getDeclaringClass()); in testGetField()
98 …clyShadowedChild.class, FieldUtils.getField(PubliclyShadowedChild.class, "s").getDeclaringClass()); in testGetField()
99 …clyShadowedChild.class, FieldUtils.getField(PubliclyShadowedChild.class, "b").getDeclaringClass()); in testGetField()
100 …clyShadowedChild.class, FieldUtils.getField(PubliclyShadowedChild.class, "i").getDeclaringClass()); in testGetField()
101 …clyShadowedChild.class, FieldUtils.getField(PubliclyShadowedChild.class, "d").getDeclaringClass()); in testGetField()
102 …tEquals(Foo.class, FieldUtils.getField(PrivatelyShadowedChild.class, "VALUE").getDeclaringClass()); in testGetField()
103 …ertEquals(parentClass, FieldUtils.getField(PrivatelyShadowedChild.class, "s").getDeclaringClass()); in testGetField()
131 …uals(PublicChild.class, FieldUtils.getField(PublicChild.class, "VALUE", true).getDeclaringClass()); in testGetFieldForceAccess()
[all …]
DMethodUtilsTest.java573 assertSame(Mutable.class, accessibleMethod.getDeclaringClass()); in testGetAccessibleInterfaceMethod()
591 assertSame(Mutable.class, accessibleMethod.getDeclaringClass()); in testGetAccessibleInterfaceMethodFromDescription()
599 ArrayUtils.EMPTY_CLASS_ARRAY)).getDeclaringClass()); in testGetAccessiblePublicMethod()
606 .getDeclaringClass()); in testGetAccessiblePublicMethodFromDescription()
689 assertEquals(md.declaringClass, m.getDeclaringClass()); in testGetOverrideHierarchyIncludingInterfaces()
709 assertEquals(md.declaringClass, m.getDeclaringClass()); in testGetOverrideHierarchyExcludingInterfaces()
738 assertEquals("PublicChild", methodsWithAnnotation[0].getDeclaringClass().getSimpleName()); in testGetMethodsWithAnnotationSearchSupersAndIgnoreAccess()
739 assertEquals("PublicChild", methodsWithAnnotation[1].getDeclaringClass().getSimpleName()); in testGetMethodsWithAnnotationSearchSupersAndIgnoreAccess()
743 methodsWithAnnotation[2].getDeclaringClass().getSimpleName() + '.' + in testGetMethodsWithAnnotationSearchSupersAndIgnoreAccess()
746 methodsWithAnnotation[3].getDeclaringClass().getSimpleName() + '.' + in testGetMethodsWithAnnotationSearchSupersAndIgnoreAccess()
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/introspect/
DAnnotatedConstructor.java77 return _constructor.getDeclaringClass(); in getRawType()
139 public Class<?> getDeclaringClass() { return _constructor.getDeclaringClass(); } in getDeclaringClass() method in AnnotatedConstructor
149 +getDeclaringClass().getName()); in setValue()
157 +getDeclaringClass().getName()); in getValue()
221 clazz = ctor.getDeclaringClass(); in Serialization()
DAnnotatedParameter.java103 public Class<?> getDeclaringClass() { in getDeclaringClass() method in AnnotatedParameter
104 return _owner.getDeclaringClass(); in getDeclaringClass()
118 +getDeclaringClass().getName()); in setValue()
125 +getDeclaringClass().getName()); in getValue()
DAnnotatedField.java90 public Class<?> getDeclaringClass() { return _field.getDeclaringClass(); } in getDeclaringClass() method in AnnotatedField
185 clazz = f.getDeclaringClass(); in Serialization()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionMethodDeclaration.java77 if (method.getDeclaringClass().isInterface()) { in declaringType()
78 return new ReflectionInterfaceDeclaration(method.getDeclaringClass(), typeSolver); in declaringType()
80 if (method.getDeclaringClass().isEnum()) { in declaringType()
81 return new ReflectionEnumDeclaration(method.getDeclaringClass(), typeSolver); in declaringType()
83 return new ReflectionClassDeclaration(method.getDeclaringClass(), typeSolver); in declaringType()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/
DStdValueInstantiator.java334 return ctxt.handleInstantiationProblem(_fromStringCreator.getDeclaringClass(), in createFromString()
350 return ctxt.handleInstantiationProblem(_fromIntCreator.getDeclaringClass(), in createFromInt()
360 return ctxt.handleInstantiationProblem(_fromLongCreator.getDeclaringClass(), in createFromInt()
370 return ctxt.handleInstantiationProblem(_fromBigIntegerCreator.getDeclaringClass(), in createFromInt()
387 return ctxt.handleInstantiationProblem(_fromLongCreator.getDeclaringClass(), in createFromLong()
399 return ctxt.handleInstantiationProblem(_fromBigIntegerCreator.getDeclaringClass(), in createFromLong()
415 return ctxt.handleInstantiationProblem(_fromBigIntegerCreator.getDeclaringClass(), in createFromBigInteger()
432 return ctxt.handleInstantiationProblem(_fromDoubleCreator.getDeclaringClass(), in createFromDouble()
442 return ctxt.handleInstantiationProblem(_fromBigDecimalCreator.getDeclaringClass(), in createFromDouble()
457 return ctxt.handleInstantiationProblem(_fromBigDecimalCreator.getDeclaringClass(), in createFromBigDecimal()
[all …]
/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()
94 } else if (ctMethod.getDeclaringClass().isEnum()) { in declaringType()
95 return new JavassistEnumDeclaration(ctMethod.getDeclaringClass(), typeSolver); in declaringType()
97 return new JavassistClassDeclaration(ctMethod.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()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionMethodDeclaration.java84 if (method.getDeclaringClass().isInterface()) { in declaringType()
85 return new ReflectionInterfaceDeclaration(method.getDeclaringClass(), typeSolver); in declaringType()
87 if (method.getDeclaringClass().isEnum()) { in declaringType()
88 return new ReflectionEnumDeclaration(method.getDeclaringClass(), typeSolver); in declaringType()
90 return new ReflectionClassDeclaration(method.getDeclaringClass(), typeSolver); in declaringType()
/external/guava/guava/src/com/google/common/reflect/
DInvokable.java327 public final Class<? super T> getDeclaringClass() { in getDeclaringClass() method in Invokable
328 return (Class<? super T>) member.getDeclaringClass(); in getDeclaringClass()
335 return (TypeToken<T>) TypeToken.of(getDeclaringClass()); in getOwnerType()
411 || Modifier.isFinal(getDeclaringClass().getModifiers())); in isOverridable()
445 Class<?> declaringClass = getDeclaringClass(); in getGenericReturnType()
460 && rawParamTypes[0] == getDeclaringClass().getEnclosingClass()) { in getGenericParameterTypes()
499 TypeVariable<?>[] declaredByClass = getDeclaringClass().getTypeParameters(); in getTypeParameters()
520 Class<?> declaringClass = constructor.getDeclaringClass(); in mayNeedHiddenThis()
/external/guava/android/guava/src/com/google/common/reflect/
DInvokable.java323 public final Class<? super T> getDeclaringClass() { in getDeclaringClass() method in Invokable
324 return (Class<? super T>) member.getDeclaringClass(); in getDeclaringClass()
331 return (TypeToken<T>) TypeToken.of(getDeclaringClass()); in getOwnerType()
393 || Modifier.isFinal(getDeclaringClass().getModifiers())); in isOverridable()
427 Class<?> declaringClass = getDeclaringClass(); in getGenericReturnType()
442 && rawParamTypes[0] == getDeclaringClass().getEnclosingClass()) { in getGenericParameterTypes()
471 TypeVariable<?>[] declaredByClass = getDeclaringClass().getTypeParameters(); in getTypeParameters()
492 Class<?> declaringClass = constructor.getDeclaringClass(); in mayNeedHiddenThis()
/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/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/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javassistmodel/
DJavassistMethodDeclaration.java51 return ctMethod.getDeclaringClass().isInterface() && !isAbstract(); in isDefaultMethod()
88 if (ctMethod.getDeclaringClass().isInterface()) { in declaringType()
89 return new JavassistInterfaceDeclaration(ctMethod.getDeclaringClass(), typeSolver); in declaringType()
91 return new JavassistClassDeclaration(ctMethod.getDeclaringClass(), typeSolver); in declaringType()
/external/apache-velocity-engine/velocity-engine-core/src/main/java/org/apache/velocity/util/introspection/
DDeprecatedCheckUberspector.java53 || m.getDeclaringClass().isAnnotationPresent(Deprecated.class) in getMethod()
70 || m.getDeclaringClass().isAnnotationPresent(Deprecated.class) in getPropertyGet()
88 || m.getDeclaringClass().isAnnotationPresent(Deprecated.class) in getPropertySet()
/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/javassist/src/main/javassist/convert/
DTransformCall.java42 classname = origMethod.getDeclaringClass().getName(); in TransformCall()
51 classname = newClassname = substMethod.getDeclaringClass().getName(); in TransformCall()
99 return m.getDeclaringClass().getName().equals(classname); in matchClass()

1234567891011