private static boolean resemblesPropertyPattern ( RuleCharacterIterator chars , int iterOpts ) { boolean result = false ; iterOpts &= ~ RuleCharacterIterator . PARSE_ESCAPES ; Object pos = chars . getPos ( null ) ; int c = chars . next ( iterOpts ) ; if ( c == ' ' || c == ' ' ) { int d = chars . next ( iterOpts & ~ RuleCharacterIterator . SKIP_WHITESPACE ) ; result = ( c == ' ' ) ? ( d == ' ' ) : ( d == ' ' || d == ' ' || d == ' ' ) ; } chars . setPos ( pos ) ; return result ; }
Return true if the given iterator appears to point at a property pattern . Regardless of the result return with the iterator unchanged .