japa.parser.ast.body.ModifierSet and java.lang.reflect.Modifier use
different constants for the same modifiers.
Just for matter of convenience please use the following constants:
public static final int PUBLIC = Modifier.PUBLIC;
public static final int PROTECTED = Modifier.PROTECTED;
public static final int PRIVATE = Modifier.PRIVATE;
public static final int ABSTRACT = Modifier.ABSTRACT;
public static final int STATIC = Modifier.STATIC;
public static final int FINAL = Modifier.FINAL;
public static final int SYNCHRONIZED = Modifier.SYNCHRONIZED;
public static final int NATIVE = Modifier.NATIVE;
public static final int TRANSIENT = Modifier.TRANSIENT;
public static final int VOLATILE = Modifier.VOLATILE;
public static final int STRICTFP = Modifier.STRICT;
Thanks for the great job on the AST and parser!
Original issue reported on code.google.com by alexanto...@gmail.com on 19 Jun 2009 at 1:06
Original issue reported on code.google.com by
alexanto...@gmail.com
on 19 Jun 2009 at 1:06