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

Method hasAnnotations

classpath/java/lang/reflect/Field.java:355–358  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

353 }
354
355 private boolean hasAnnotations() {
356 return vmField.addendum != null
357 && vmField.addendum.annotationTable != null;
358 }
359
360 public <T extends Annotation> T getAnnotation(Class<T> class_) {
361 if (hasAnnotations()) {

Callers 4

getAnnotationMethod · 0.95
getAnnotationsMethod · 0.95
getAnnotationMethod · 0.45
getAnnotationsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected