/** Resolve an unqualified (non-method) identifier. * @param pos The position to use for error reporting. * @param env The environment current at the identifier use. * @param name The identifier's name. * @param kind The set of admissible symbol kinds for the identifier. */ Symbol resolveIdent(DiagnosticPosition pos, Env<AttrContext> env, Name name, int kind) { return access( findIdent(env, name, kind), pos, env.enclClass.sym.type, name, false); }
@Override public Symbol visitIdentifier(IdentifierTree node, Env<AttrContext> env) { return rs.findIdent(env, (Name)node.getName(), TYP | PCK); } }
/** Resolve an unqualified (non-method) identifier. * @param pos The position to use for error reporting. * @param env The environment current at the identifier use. * @param name The identifier's name. * @param kind The set of admissible symbol kinds for the identifier. */ Symbol resolveIdent(DiagnosticPosition pos, Env<AttrContext> env, Name name, int kind) { return access( findIdent(env, name, kind), pos, env.enclClass.sym.type, name, false); }
@Override public Symbol visitIdentifier(IdentifierTree node, Env<AttrContext> env) { return rs.findIdent(env, (Name)node.getName(), TYP | PCK); } }
/** Resolve an unqualified (non-method) identifier. * @param pos The position to use for error reporting. * @param env The environment current at the identifier use. * @param name The identifier's name. * @param kind The set of admissible symbol kinds for the identifier. */ Symbol resolveIdent(DiagnosticPosition pos, Env<AttrContext> env, Name name, int kind) { return accessBase( findIdent(env, name, kind), pos, env.enclClass.sym.type, name, false); }
@Override public Symbol visitIdentifier(IdentifierTree node, Env<AttrContext> env) { return rs.findIdent(env, (Name)node.getName(), TYP | PCK); } }
@Override public Symbol visitIdentifier(IdentifierTree node, Env<AttrContext> env) { return rs.findIdent(env, (Name)node.getName(), TYP | PCK); } }
/** Resolve an unqualified (non-method) identifier. * @param pos The position to use for error reporting. * @param env The environment current at the identifier use. * @param name The identifier's name. * @param kind The set of admissible symbol kinds for the identifier. */ Symbol resolveIdent(DiagnosticPosition pos, Env<AttrContext> env, Name name, int kind) { return accessBase( findIdent(env, name, kind), pos, env.enclClass.sym.type, name, false); }