src/main/java/io/github/classgraph/ClassInfo.java
public boolean hasDeclaredFieldAnnotation(final String fieldAnnotationName) {
        for (final FieldInfo fi : getDeclaredFieldInfo()) {
            if (fi.hasAnnotation(fieldAnnotationName)) {
                return true;
            }
        }
        return false;
    }
/**
     * Checks whether this class declares a field with the named annotation.
     *
     * @param fieldAnnotationName
     *            The name of a field annotation.
     * @return true if this class declares a field with the named annotation.
     */
Checks whether this class declares a field with the named annotation.
@param fieldAnnotationName
The name of a field annotation.
@return true if this class declares a field with the named annotation.
Checks whether this class declares a field with the named annotation . @param fieldAnnotationName The name of a field annotation . @return true if this class declares a field with the named annotation .
public boolean hasDeclaredFieldAnnotation(final String fieldAnnotationName) {
        for (final FieldInfo fi : getDeclaredFieldInfo()) {
            if (fi.hasAnnotation(fieldAnnotationName)) {
                return true;
            }
        }
        return false;
    }
public boolean hasDeclaredFieldAnnotation ( final String fieldAnnotationName ) { for ( final FieldInfo fi : getDeclaredFieldInfo ( ) ) { if ( fi . hasAnnotation ( fieldAnnotationName ) ) { return true ; } } return false ; }
Checks whether this class declares a field with the named annotation.
Checks whether this class declares a field with the named annotation .