8328383: Method is not used: com.sun.tools.javac.comp.Attr::thisSym

Reviewed-by: jlahoda
This commit is contained in:
Vicente Romero 2024-04-03 15:55:37 +00:00
parent ee09801afd
commit 1c691938e9

View File

@ -328,13 +328,6 @@ public class Attr extends JCTree.Visitor {
return sym != null && sym.kind == TYP;
}
/** The current `this' symbol.
* @param env The current environment.
*/
Symbol thisSym(DiagnosticPosition pos, Env<AttrContext> env) {
return rs.resolveSelf(pos, env, env.enclClass.sym, names._this);
}
/** Attribute a parsed identifier.
* @param tree Parsed identifier name
* @param topLevel The toplevel to use