MCPcopy Create free account
hub / github.com/ReadyTalk/avian / getAnnotation

Method getAnnotation

classpath/java/lang/reflect/Field.java:346–353  ·  view source on GitHub ↗
(Object[] a)

Source from the content-addressed store, hash-verified

344 }
345
346 private Annotation getAnnotation(Object[] a) {
347 if (a[0] == null) {
348 a[0] = Proxy.newProxyInstance
349 (vmField.class_.loader, new Class[] { (Class) a[1] },
350 new AnnotationInvocationHandler(a));
351 }
352 return (Annotation) a[0];
353 }
354
355 private boolean hasAnnotations() {
356 return vmField.addendum != null

Callers 2

annotationsMethod · 0.95
getAnnotationsMethod · 0.95

Calls 2

newProxyInstanceMethod · 0.95
hasAnnotationsMethod · 0.95

Tested by 1

annotationsMethod · 0.76