Home
last modified time | relevance | path

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

1234

/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()
297 TypeVariable<?>[] declaredByClass = getDeclaringClass().getTypeParameters(); in getTypeParameters()
318 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/javassist/src/main/javassist/convert/
DTransformCall.java38 classname = origMethod.getDeclaringClass().getName(); in TransformCall()
47 classname = newClassname = substMethod.getDeclaringClass().getName(); in TransformCall()
93 return m.getDeclaringClass().getName().equals(classname); in matchClass()
DTransformReadField.java35 this.fieldClass = field.getDeclaringClass(); in TransformReadField()
62 return f.getDeclaringClass() == fclass; in isFieldInSuper()
/external/javassist/src/test/test/javassist/bytecode/analysis/
DAnalyzerTest.java72 Frame[] frames = analyzer.analyze(method.getDeclaringClass(), info); in testReusedLocalMerge()
106 Frame[] frames = analyzer.analyze(method.getDeclaringClass(), info); in verifyReturn()
151 Frame[] frames = analyzer.analyze(method.getDeclaringClass(), method.getMethodInfo2()); in testDeadCode()
162 analyzer.analyze(method.getDeclaringClass(), method.getMethodInfo2()); in testInvalidCode()
174 analyzer.analyze(method.getDeclaringClass(), method.getMethodInfo2()); in testCodeFalloff()
185 analyzer.analyze(method.getDeclaringClass(), method.getMethodInfo2()); in testJsrMerge()
192 analyzer.analyze(method.getDeclaringClass(), method.getMethodInfo2()); in testJsrMerge2()
/external/mockito/src/org/mockito/internal/util/
DObjectMethodsGuru.java39 return Comparable.class.isAssignableFrom(method.getDeclaringClass()) in isCompareToMethod()
42 && method.getParameterTypes()[0] == method.getDeclaringClass(); in isCompareToMethod()
/external/junit/src/org/junit/internal/runners/
DMethodValidator.java77 if (!Modifier.isPublic(each.getDeclaringClass().getModifiers())) in validateTestMethods()
78 fErrors.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()
/external/junit/src/org/junit/runners/model/
DFrameworkMethod.java86 if (!Modifier.isPublic(fMethod.getDeclaringClass().getModifiers()))
87 … errors.add(new Exception("Class " + fMethod.getDeclaringClass().getName() + " should be public"));
/external/jetty/src/java/org/eclipse/jetty/util/
DIntrospectionUtil.java136 if (!Modifier.isPrivate(modifiers) && pack.equals(member.getDeclaringClass().getPackage())) in isInheritable()
219 if (!c.getPackage().equals(method.getDeclaringClass().getPackage())) in containsSameMethodSignature()
238 if (!c.getPackage().equals(field.getDeclaringClass().getPackage())) in containsSameFieldName()
/external/guava/guava-tests/test/com/google/common/reflect/
DElementTest.java221 assertEquals(A.class, element.getDeclaringClass()); in field()
229 assertEquals(A.class, element.getDeclaringClass()); in constructor()
236 assertEquals(A.class, element.getDeclaringClass()); in method()
/external/javassist/src/main/javassist/
DCtNewMethod.java248 return new CtMethod(minfo, field.getDeclaringClass()); in getter()
292 return new CtMethod(minfo, field.getDeclaringClass()); in setter()
344 CtClass deleClass = delegate.getDeclaringClass(); in delegator0()
DCtNewWrappedMethod.java130 + wrappedBody.getDeclaringClass().getName() in checkSignature()
146 map.put(src.getDeclaringClass().getName(), clazz.getName()); in addBodyMethod()
DCtMethod.java193 return getDeclaringClass().getName() + "." in getLongName()
274 CtClass clazz = getDeclaringClass(); in setWrappedBody()
DCtBehavior.java45 CtClass srcClass = src.getDeclaringClass(); in copy()
163 getDeclaringClass().getClassPool(), in hasAnnotation()
185 getDeclaringClass().getClassPool(), in getAnnotation()
227 getDeclaringClass().getClassPool(), in getAnnotations()
277 getDeclaringClass().getClassPool(), in getParameterAnnotations()
647 converter.doit(getDeclaringClass(), methodInfo, cp); in instrument()
DCodeConverter.java361 || origMethod.getDeclaringClass().isInterface() in redirectMethodCall()
362 != substMethod.getDeclaringClass().isInterface()) in redirectMethodCall()
DCtField.java117 return getDeclaringClass().getName() + "." + getName() in toString()
204 public CtClass getDeclaringClass() { in getDeclaringClass() method in CtField
206 return super.getDeclaringClass(); in getDeclaringClass()
256 return CtClassType.hasAnnotationType(clz, getDeclaringClass().getClassPool(), in hasAnnotation()
277 return CtClassType.getAnnotationType(clz, getDeclaringClass().getClassPool(), in getAnnotation()
316 return CtClassType.toAnnotationType(ignoreNotFound, getDeclaringClass().getClassPool(), in getAnnotations()
/external/guava/guava/src/com/google/common/collect/
DEnumBiMap.java93 return map.keySet().iterator().next().getDeclaringClass(); in inferKeyType()
101 return map.values().iterator().next().getDeclaringClass(); in inferValueType()
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/
DVisibilityPredicate.java40 … return pkg.equals(TypeUtils.getPackageName(Type.getType(((Member)arg).getDeclaringClass()))); in evaluate()
/external/mockito/cglib-and-asm/src/org/mockito/cglib/reflect/
DFastMember.java43 public Class getDeclaringClass() { in getDeclaringClass() method in FastMember
/external/droiddriver/src/io/appium/droiddriver/helpers/
DD2ActivityInstrumentationTestCase2.java52 final Class<?> fieldClass = field.getDeclaringClass(); in scrubClass()
/external/mockito/src/org/mockito/internal/stubbing/answers/
DMethodInfo.java64 return method.getDeclaringClass().isInterface(); in isDeclaredOnInterface()
/external/javassist/src/main/javassist/compiler/
DMemberCodeGen.java701 inner = inner.getDeclaringClass(); in isEnclosing()
836 CtClass declClass = f.getDeclaringClass(); in atFieldAssignCore()
890 bytecode.addInvokestatic(f.getDeclaringClass(), minfo.getName(), in atFieldRead()
919 && f.getDeclaringClass() != thisClass) { in isAccessibleField()
920 CtClass declClass = f.getDeclaringClass(); in isAccessibleField()
966 String cname = f.getDeclaringClass().getName(); in addFieldrefInfo()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/reflection/
DReflectionField.java65 return ReflectionUtils.javaToDexName(field.getDeclaringClass().getName()); in getDefiningClass()

1234