Lines Matching refs:sym
59 public final Symbol sym;
66 * "sym" should be completed before this constructor is called.
68 protected DeclarationImpl(AptEnv env, Symbol sym) {
70 this.sym = sym;
81 return sym == that.sym && env == that.env;
92 return sym.hashCode() + env.hashCode();
106 JCTree tree = TreeInfo.declarationFor(sym, enterEnv.tree);
116 for (Attribute.Compound a : sym.getAnnotationMirrors()) {
127 return getAnnotation(annoType, sym);
155 long flags = AptEnv.getFlags(sym);
177 return sym.name.toString();
193 int pos = TreeInfo.positionFor(sym, toplevel);
220 for (Scope.Entry e = sym.members().elems; e != null; e = e.sibling) {
221 if (e.sym != null && !unwanted(e.sym)) {
222 res.addFirst(e.sym);
245 // Get enclosing class of sym, or sym itself if it is a class
247 TypeSymbol ts = (sym.kind != PCK)
248 ? sym.enclClass()
249 : (PackageSymbol) sym;