static < T extends Annotation > boolean getterOrFieldHasAnnotation ( Method getter , Class < T > annotationClass ) { return getAnnotationFromGetterOrField ( getter , annotationClass ) != null ; }
Returns true if an annotation for the specified type is found on the getter method or its corresponding class field .