Home
last modified time | relevance | path

Searched refs:declaringClass (Results 1 – 13 of 13) sorted by relevance

/libcore/libdvm/src/main/java/java/lang/reflect/
DField.java64 private Class<?> declaringClass; field in Field
94 … private Field(Class<?> declaringClass, Class<?> type, String name, int slot, int fieldDexIndex) { in Field() argument
95 this.declaringClass = declaringClass; in Field()
114 declaringClass.getClassLoader()); in initGenericType()
115 parser.parseForField(this.declaringClass, signatureAttribute); in initGenericType()
127 Object[] annotation = getSignatureAnnotation(declaringClass, slot); in getSignatureAttribute()
139 native private Object[] getSignatureAnnotation(Class declaringClass, int slot); in getSignatureAnnotation() argument
147 int flags = getFieldModifiers(declaringClass, slot); in isSynthetic()
179 int flags = getFieldModifiers(declaringClass, slot); in isEnumConstant()
201 return getDeclaredAnnotations(declaringClass, slot); in getDeclaredAnnotations()
[all …]
DMethod.java85 private Class<?> declaringClass; field in Method
105 declaringClass.getClassLoader()); in initGenericTypes()
116 this.declaringClass = declaring; in Method()
137 Object[] annotation = getSignatureAnnotation(declaringClass, slot); in getSignatureAttribute()
150 static native Object[] getSignatureAnnotation(Class declaringClass, int slot); in getSignatureAnnotation() argument
258 return getDeclaredAnnotations(declaringClass, slot); in getDeclaredAnnotations()
260 static native Annotation[] getDeclaredAnnotations(Class<?> declaringClass, int slot); in getDeclaredAnnotations() argument
266 return getAnnotation(declaringClass, slot, annotationType); in getAnnotation()
269 Class<?> declaringClass, int slot, Class<A> annotationType); in getAnnotation() argument
275 return isAnnotationPresent(declaringClass, slot, annotationType); in isAnnotationPresent()
[all …]
DConstructor.java51 Class<T> declaringClass; field in Constructor
66 declaringClass.getClassLoader()); in initGenericTypes()
99 …private Constructor(Class<T> declaringClass, Class<?>[] ptypes, Class<?>[] extypes, int slot, int … in Constructor() argument
100 this.declaringClass = declaringClass; in Constructor()
113 Object[] annotation = Method.getSignatureAnnotation(declaringClass, slot); in getSignatureAttribute()
209 return Method.getDeclaredAnnotations(declaringClass, slot); in getDeclaredAnnotations()
216 return Method.getAnnotation(declaringClass, slot, annotationType); in getAnnotation()
223 return Method.isAnnotationPresent(declaringClass, slot, annotationType); in isAnnotationPresent()
236 = Method.getParameterAnnotations(declaringClass, slot); in getParameterAnnotations()
251 int mods = Method.getMethodModifiers(declaringClass, slot); in isVarArgs()
[all …]
/libcore/libart/src/main/java/java/lang/reflect/
DArtField.java42 private Class<?> declaringClass; field in ArtField
70 if (!declaringClass.isProxy()) { in getName()
75 Dex dex = declaringClass.getDex(); in getName()
77 return declaringClass.getDexCacheString(dex, nameIndex); in getName()
81 return declaringClass; in getDeclaringClass()
87 if (!declaringClass.isProxy()) { in getType()
92 Dex dex = declaringClass.getDex(); in getType()
94 return declaringClass.getDexCacheType(dex, typeIndex); in getType()
DArtMethod.java47 private Class<?> declaringClass; field in ArtMethod
81 return declaringClass; in getDeclaringClass()
143 Dex dex = declaringClass.getDex(); in getReturnType()
172 return AnnotationAccess.getParameterAnnotations(declaringClass, methodDexIndex); in getParameterAnnotations()
197 resolvedType = declaringClass.getDexCacheType(dex, dexTypeIndex); in getDexCacheType()
210 if (declaringClass.isProxy()) { in findOverriddenMethodIfProxy()
DAbstractMethod.java269 Class<?> declaringClass = ((Member) this).getDeclaringClass(); in toGenericStringHelper() local
272 Types.appendTypeName(sb, declaringClass); in toGenericStringHelper()
278 Types.appendTypeName(sb, declaringClass); in toGenericStringHelper()
DField.java212 Class<?> declaringClass = getDeclaringClass(); in getGenericType() local
213 ClassLoader cl = declaringClass.getClassLoader(); in getGenericType()
215 parser.parseForField(declaringClass, signatureAttribute); in getGenericType()
/libcore/luni/src/main/java/java/lang/
DStackTraceElement.java35 String declaringClass; field in StackTraceElement
66 declaringClass = cls; in StackTraceElement()
143 return (declaringClass == null) ? "<unknown class>" : declaringClass; in getClassName()
190 return methodName.hashCode() ^ declaringClass.hashCode(); in hashCode()
/libcore/luni/src/main/java/libcore/reflect/
DAnnotationAccess.java268 public static int getFieldIndex(Class<?> declaringClass, Class<?> type, String name) { in getFieldIndex() argument
269 Dex dex = declaringClass.getDex(); in getFieldIndex()
270 int declaringClassIndex = getTypeIndex(dex, declaringClass); in getFieldIndex()
277 public static int getMethodIndex(Class<?> declaringClass, String name, int protoIndex) { in getMethodIndex() argument
278 Dex dex = declaringClass.getDex(); in getMethodIndex()
279 int declaringClassIndex = getTypeIndex(dex, declaringClass); in getMethodIndex()
288 public static Annotation[][] getParameterAnnotations(Class<?> declaringClass, in getParameterAnnotations() argument
290 Dex dex = declaringClass.getDex(); in getParameterAnnotations()
297 int directoryOffset = declaringClass.getDexAnnotationDirectoryOffset(); in getParameterAnnotations()
331 = annotationSetToAnnotations(declaringClass, annotationSetOffset); in getParameterAnnotations()
[all …]
/libcore/libart/src/main/java/java/lang/
DClass.java965 Class<?> declaringClass = getDeclaringClass(); in getEnclosingClass() local
966 if (declaringClass != null) { in getEnclosingClass()
967 return declaringClass; in getEnclosingClass()
/libcore/luni/src/main/java/java/io/
DObjectStreamClass.java197 Class<?> declaringClass = forClass(); in getReflectionField() local
198 Field field = declaringClass.getDeclaredField(osf.getName()); in getReflectionField()
DObjectInputStream.java1060 Class<?> declaringClass = classDesc.forClass(); in readFieldValues() local
1061 if (declaringClass == null && mustResolve) { in readFieldValues()
DObjectOutputStream.java477 …private static native Object getFieldL(Object instance, Class<?> declaringClass, String fieldName,… in getFieldL() argument