question: private Object [ ] compile ( String path ) { List list = new ArrayList ( ) ; if ( path == null ) { return list . toArray ( ) ; } StringTokenizer tok = new StringTokenizer ( path , ":." ) ; while ( tok . hasMoreTokens ( ) ) { String token = tok . nextToken ( ) ; OpEnum op = OpEnum . getInstance ( token ) ; if ( op == null ) { throw new Error ( "Bad path compiled " + path ) ; } list . add ( op ) ; if ( op == OpEnum . RELATION ) { list . add ( tok . nextToken ( ) ) ; } } return list . toArray ( ) ; }
target:  Compiles the given path into the compiled form