MCPcopy Index your code
hub / github.com/antlr/codebuff / getDeclaredAnnotation

Method getDeclaredAnnotation

output/java_guava/1.4.17/Parameter.java:114–118  ·  view source on GitHub ↗
(Class<A> annotationType)

Source from the content-addressed store, hash-verified

112 // @Override on JDK8
113
114 @Nullable
115 public <A extends Annotation> A getDeclaredAnnotation(Class<A> annotationType) {
116 checkNotNull(annotationType);
117 return FluentIterable.from(annotations).filter(annotationType).first().orNull();
118 }
119
120 /**
121 * @since 18.0

Callers

nothing calls this directly

Calls 5

fromMethod · 0.95
checkNotNullMethod · 0.45
orNullMethod · 0.45
firstMethod · 0.45
filterMethod · 0.45

Tested by

no test coverage detected