prakashjegan / javaparser

Automatically exported from code.google.com/p/javaparser
0 stars 0 forks source link

Please use java.lang.reflect.Modifier constants in japa.parser.ast.body.ModifierSet #22

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago

Original comment by jges...@gmail.com on 17 Jan 2010 at 7:12

GoogleCodeExporter commented 8 years ago
Done, will be delivered in the next release.

Original comment by jges...@gmail.com on 17 Jan 2010 at 7:29