public static List < Field > findStaticFieldsAnnotatedWith ( Class < ? > type , Class < ? extends Annotation > klass ) { List < Field > fields = findStaticFields ( type ) ; return filter ( fields , new FieldAnnotatedWithPredicate ( klass ) ) ; }
Get all static fields on given class object annotated with given annotation .