private boolean hasModifierNamed ( String modifierName ) { for ( ModifierMetadata modifier : modifiers ) { if ( modifierName . equalsIgnoreCase ( modifier . getName ( ) ) ) { return true ; } } return false ; }
Checks if a modifier with the given name is found among this method s identifiers .