private static final int marker ( int marker ) { for ( int i = 0 ; i < VALID_MARKERS . length ; i ++ ) { if ( marker == VALID_MARKERS [ i ] ) { return VALID_MARKER ; } } for ( int i = 0 ; i < NOPARAM_MARKERS . length ; i ++ ) { if ( marker == NOPARAM_MARKERS [ i ] ) { return NOPARAM_MARKER ; } } for ( int i = 0 ; i < UNSUPPORTED_MARKERS . length ; i ++ ) { if ( marker == UNSUPPORTED_MARKERS [ i ] ) { return UNSUPPORTED_MARKER ; } } return NOT_A_MARKER ; }
Returns a type of marker .