Search in sources :

Example 1 with Attr

use of com.sun.tools.javac.comp.Attr in project error-prone by google.

the class GuardedBySymbolResolver method attribIdent.

private Symbol attribIdent(String name) {
    Attr attr = Attr.instance(context);
    TreeMaker tm = TreeMaker.instance(context);
    return attr.attribIdent(tm.Ident(getName(name)), compilationUnit);
}
Also used : TreeMaker(com.sun.tools.javac.tree.TreeMaker) Attr(com.sun.tools.javac.comp.Attr)

Aggregations

Attr (com.sun.tools.javac.comp.Attr)1 TreeMaker (com.sun.tools.javac.tree.TreeMaker)1