--- old/src/share/classes/com/sun/tools/javac/code/Symbol.java 2013-02-12 12:29:47.430206606 -0500 +++ new/src/share/classes/com/sun/tools/javac/code/Symbol.java 2013-02-12 12:29:47.268204920 -0500 @@ -217,6 +217,14 @@ 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 @@ -1078,6 +1086,9 @@ /** The code of the method. */ public Code code = null; + /** The extra (synthetic/mandated) parameters of the method. */ + public List extraParams = List.nil(); + /** The parameters of the method. */ public List params = null;