Remove an unused method.

This commit is contained in:
Jesse Wilson 2011-11-23 13:39:33 +00:00
parent bc68d7293c
commit 7e47f46ac1

View File

@ -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;
}
}