Home
last modified time | relevance | path

Searched refs:accessibleObject (Results 1 – 3 of 3) sorted by relevance

/external/guava/guava/src/com/google/common/reflect/
DElement.java36 private final AccessibleObject accessibleObject; field in Element
41 this.accessibleObject = member; in Element()
51 return accessibleObject.isAnnotationPresent(annotationClass); in isAnnotationPresent()
56 return accessibleObject.getAnnotation(annotationClass); in getAnnotation()
61 return accessibleObject.getAnnotations(); in getAnnotations()
66 return accessibleObject.getDeclaredAnnotations(); in getDeclaredAnnotations()
71 accessibleObject.setAccessible(flag); in setAccessible()
76 return accessibleObject.isAccessible(); in isAccessible()
/external/guava/android/guava/src/com/google/common/reflect/
DElement.java36 private final AccessibleObject accessibleObject; field in Element
41 this.accessibleObject = member; in Element()
51 return accessibleObject.isAnnotationPresent(annotationClass); in isAnnotationPresent()
56 return accessibleObject.getAnnotation(annotationClass); in getAnnotation()
61 return accessibleObject.getAnnotations(); in getAnnotations()
66 return accessibleObject.getDeclaredAnnotations(); in getDeclaredAnnotations()
71 accessibleObject.setAccessible(flag); in setAccessible()
76 return accessibleObject.isAccessible(); in isAccessible()
/external/mockito/src/main/java/org/mockito/internal/util/reflection/
DAccessibilityChanger.java16 public void safelyDisableAccess(AccessibleObject accessibleObject) { in safelyDisableAccess() argument
19 accessibleObject.setAccessible(wasAccessible); in safelyDisableAccess()
28 public void enableAccess(AccessibleObject accessibleObject) { in enableAccess() argument
29 wasAccessible = accessibleObject.isAccessible(); in enableAccess()
30 accessibleObject.setAccessible(true); in enableAccess()