01: package javaparser;
02:
03: public interface NodeWithMod {
04: // according JavaParserConstants {PUBLIC, PRIVATE, ...}
05: int[] getModifiers();
06:
07: boolean isStatic();
08:
09: // these 3 must be present in the modifiers. if none is present => package scope.
10: boolean isPublic();
11:
12: boolean isPrivate();
13:
14: boolean isProtected();
15:
16: }
|