com.sun.tools.apt.mirror
Class AptEnv
java.lang.Object
com.sun.tools.apt.mirror.AptEnv
public class AptEnv
- extends java.lang.Object
The environment for a run of apt.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
names
public Names names
symtab
public Symtab symtab
jctypes
public Types jctypes
enter
public Enter enter
attr
public Attr attr
typeMaker
public TypeMaker typeMaker
declMaker
public DeclarationMaker declMaker
aptEnvKey
private static final Context.Key<AptEnv> aptEnvKey
AptEnv
private AptEnv(Context context)
instance
public static AptEnv instance(Context context)
hasFlag
public static boolean hasFlag(Symbol sym,
long flag)
- Does a symbol have a given flag? Forces symbol completion.
getFlags
public static long getFlags(Symbol sym)
- Returns a symbol's flags. Forces completion.
complete
private static void complete(Symbol sym)
- Completes a symbol, ignoring completion failures.