Lines Matching refs:sym
134 if (select.sym != null &&
135 (select.sym.flags() & SYNTHETIC) != 0) {
468 public static int positionFor(final Symbol sym, final JCTree tree) {
469 JCTree decl = declarationFor(sym, tree);
475 public static DiagnosticPosition diagnosticPositionFor(final Symbol sym, final JCTree tree) {
476 JCTree decl = declarationFor(sym, tree);
482 public static JCTree declarationFor(final Symbol sym, final JCTree tree) {
490 if (that.packge == sym) result = that;
494 if (that.sym == sym) result = that;
498 if (that.sym == sym) result = that;
502 if (that.sym == sym) result = that;
506 if (that.type != null && that.type.tsym == sym) result = that;
631 return ((JCClassDecl) node).sym;
633 return ((JCMethodDecl) node).sym;
635 return ((JCVariableDecl) node).sym;
660 return ((JCIdent) tree).sym;
662 return ((JCFieldAccess) tree).sym;
681 public static void setSymbol(JCTree tree, Symbol sym) {
685 ((JCIdent) tree).sym = sym; break;
687 ((JCFieldAccess) tree).sym = sym; break;