public static String getModifierSuffix ( String fullName , String baseName ) { if ( fullName . equals ( baseName ) ) { return null ; } int indexOfOpeningBracket = fullName . indexOf ( MODIFIER_OPENING_TOKEN ) ; return fullName . substring ( indexOfOpeningBracket , fullName . length ( ) ) ; }
Get modifier suffix if fullName contains any otherwise returns null .