Remove an unused method.
This commit is contained in:
parent
bc68d7293c
commit
7e47f46ac1
|
@ -154,15 +154,4 @@ public final class FieldAttributes {
|
|||
boolean isSynthetic() {
|
||||
return field.isSynthetic();
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
private static <T extends Annotation> T getAnnotationFromArray(
|
||||
Collection<Annotation> annotations, Class<T> annotation) {
|
||||
for (Annotation a : annotations) {
|
||||
if (a.annotationType() == annotation) {
|
||||
return (T) a;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user