src/share/classes/com/sun/tools/javac/code/Symbol.java

Print this page

        

*** 215,224 **** --- 215,232 ---- public boolean isInterface() { return (flags() & INTERFACE) != 0; } + public boolean isPrivate() { + return (flags_field & Flags.AccessFlags) == PRIVATE; + } + + public boolean isEnum() { + return (flags() & ENUM) != 0; + } + /** Is this symbol declared (directly or indirectly) local * to a method or variable initializer? * Also includes fields of inner classes which are in * turn local to a method or variable initializer. */
*** 1076,1085 **** --- 1084,1096 ---- public static class MethodSymbol extends Symbol implements ExecutableElement { /** The code of the method. */ public Code code = null; + /** The extra (synthetic/mandated) parameters of the method. */ + public List<VarSymbol> extraParams = List.nil(); + /** The parameters of the method. */ public List<VarSymbol> params = null; /** The names of the parameters */ public List<Name> savedParameterNames;