|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sourceforge.jane.jjtree.Modifiers
A container for modifiers.
Constructor Summary | |
Modifiers()
Create a new Modifiers . |
Method Summary | |
boolean |
isAbstract()
Returns true if this element is abstract. |
boolean |
isFinal()
Returns true if this element is final. |
boolean |
isNative()
Returns true if this element is native. |
boolean |
isPackageProtected()
Returns true if this element is package protected. |
boolean |
isPrivate()
Returns true if this element is public. |
boolean |
isProtected()
Returns true if this element is public. |
boolean |
isPublic()
Returns true if this element is public. |
boolean |
isStatic()
Returns true if this element is static. |
boolean |
isStrict()
Returns true if this element is static. |
boolean |
isSynchronized()
Returns true if this element is synchronized. |
static Modifiers |
newInstance(Token start,
Token end)
Create a modifiers instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Modifiers()
Modifiers
.Method Detail |
public boolean isPublic()
true
if this element is public.public boolean isProtected()
true
if this element is public.public boolean isPrivate()
true
if this element is public.public boolean isPackageProtected()
true
if this element is package protected.public boolean isAbstract()
true
if this element is abstract.public boolean isFinal()
true
if this element is final.public boolean isStatic()
true
if this element is static.public boolean isNative()
true
if this element is native.public boolean isSynchronized()
true
if this element is synchronized.public boolean isStrict()
true
if this element is static.public static Modifiers newInstance(Token start, Token end)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |