|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.aspectj.compiler.base.CompilerObject
org.aspectj.compiler.base.ast.ASTObject
org.aspectj.compiler.base.ast.Modifiers
Field Summary | |
static int |
ABSTRACT
The int value representing the abstract
modifier. |
static int |
CONSTRUCTOR_PRINT_MASK
Print mask for constructor modifiers - avoid strictfp |
static int |
DEFAULT_PRINT_MASK
Default print mask |
static int |
FINAL
The int value representing the final
modifier. |
static int |
INTERFACE
The int value representing the interface
modifier. |
static int |
INTERFACE_METHOD_PRINT_MASK
Print mask for interface modifiers - avoid public+abstract+strictfp |
static int |
NATIVE
The int value representing the native
modifier. |
static int |
PRIVATE
The int value representing the private
modifier. |
static int |
PRIVILEGED
|
static int |
PROTECTED
The int value representing the protected
modifier. |
static int |
PUBLIC
The int value representing the public
modifier. |
static int |
STATIC
The int value representing the static
modifier. |
static int |
STRICT
The int value representing the strictfp
modifier. |
static int |
SYNCHRONIZED
The int value representing the synchronized
modifier. |
static int |
THREADSAFE
|
static int |
TRANSIENT
The int value representing the transient
modifier. |
protected int |
value
|
static int |
VOLATILE
The int value representing the volatile
modifier. |
Fields inherited from class org.aspectj.compiler.base.ast.ASTObject |
dummySource, parent, sourceLocation |
Constructor Summary | |
|
Modifiers(int _value)
|
|
Modifiers(int _v1,
int _v2)
|
|
Modifiers(int _value,
Modifiers _mod1)
|
|
Modifiers(Modifiers _mod1,
int _v)
|
|
Modifiers(Modifiers _mod1,
Modifiers _mod2)
|
protected |
Modifiers(SourceLocation source)
|
|
Modifiers(SourceLocation location,
int _value)
|
Method Summary | |
void |
checkIllegalCombination(int c1,
int c2)
|
void |
checkSpec()
|
ASTObject |
copyWalk(CopyWalker walker)
|
int |
getAcceptableClassValue()
Returns an integer that is acceptable to store as a classfile's access flags. |
int |
getAcceptableInnerClassValue()
Returns an integer that is acceptable to store in the InnerClass attribute of a classfile. |
int |
getAccessValue()
Returns an integer that only encapsulates the access modifiers. |
java.lang.String |
getAccessValueString()
|
java.lang.String |
getDefaultDisplayName()
|
int |
getFalseValue()
|
int |
getValue()
|
boolean |
isAbstract()
|
static boolean |
isAbstract(int value)
|
boolean |
isFinal()
|
static boolean |
isFinal(int value)
|
boolean |
isInterface()
|
static boolean |
isInterface(int value)
|
boolean |
isMoreAccessibleThan(Modifiers other)
|
boolean |
isNative()
|
boolean |
isPackagePrivate()
|
static boolean |
isPackagePrivate(int value)
|
boolean |
isPrivate()
|
static boolean |
isPrivate(int value)
|
boolean |
isPrivileged()
|
static boolean |
isPrivileged(int value)
|
boolean |
isProtected()
|
static boolean |
isProtected(int value)
|
boolean |
isPublic()
|
static boolean |
isPublic(int value)
|
boolean |
isStatic()
|
static boolean |
isStatic(int value)
|
boolean |
isStrict()
|
static boolean |
isStrict(int value)
|
boolean |
isSynchronized()
|
boolean |
isTransient()
|
boolean |
isVolatile()
|
boolean |
isWeakerThan(Modifiers other)
|
boolean |
matches(Modifiers otherModifiers)
|
void |
setAbstract(boolean v)
|
protected void |
setAttribute(int mask,
boolean set)
|
void |
setFinal(boolean v)
|
void |
setInterface(boolean v)
|
void |
setPrivate(boolean v)
|
void |
setProtected()
|
void |
setPublic(boolean v)
|
void |
setStatic(boolean v)
|
void |
setStrict(boolean v)
|
void |
setSynchronized(boolean v)
|
void |
setValue(int _value)
|
java.lang.String |
toShortString()
|
java.lang.String |
toString()
|
void |
unparse(org.aspectj.compiler.base.CodeWriter writer)
|
Methods inherited from class org.aspectj.compiler.base.CompilerObject |
getCompiler, getOptions, getTypeManager, getWorld |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int PUBLIC
int
value representing the public
modifier.
public static final int PRIVATE
int
value representing the private
modifier.
public static final int PROTECTED
int
value representing the protected
modifier.
public static final int STATIC
int
value representing the static
modifier.
public static final int FINAL
int
value representing the final
modifier.
public static final int SYNCHRONIZED
int
value representing the synchronized
modifier.
public static final int VOLATILE
int
value representing the volatile
modifier.
public static final int TRANSIENT
int
value representing the transient
modifier.
public static final int NATIVE
int
value representing the native
modifier.
public static final int INTERFACE
int
value representing the interface
modifier.
public static final int ABSTRACT
int
value representing the abstract
modifier.
public static final int STRICT
int
value representing the strictfp
modifier.
public static final int PRIVILEGED
public static final int THREADSAFE
public static final int DEFAULT_PRINT_MASK
public static final int INTERFACE_METHOD_PRINT_MASK
public static final int CONSTRUCTOR_PRINT_MASK
protected int value
Constructor Detail |
public Modifiers(SourceLocation location, int _value)
public Modifiers(int _value)
public Modifiers(int _v1, int _v2)
public Modifiers(Modifiers _mod1, Modifiers _mod2)
public Modifiers(Modifiers _mod1, int _v)
public Modifiers(int _value, Modifiers _mod1)
protected Modifiers(SourceLocation source)
Method Detail |
public static boolean isPublic(int value)
public boolean isPublic()
public static boolean isFinal(int value)
public boolean isFinal()
public static boolean isPrivate(int value)
public boolean isPrivate()
public static boolean isProtected(int value)
public boolean isProtected()
public static boolean isPackagePrivate(int value)
public boolean isPackagePrivate()
public static boolean isInterface(int value)
public boolean isInterface()
public static boolean isStatic(int value)
public boolean isStatic()
public static boolean isAbstract(int value)
public boolean isAbstract()
public static boolean isStrict(int value)
public boolean isStrict()
public static boolean isPrivileged(int value)
public boolean isPrivileged()
public boolean isSynchronized()
public boolean isNative()
public boolean isTransient()
public boolean isVolatile()
protected void setAttribute(int mask, boolean set)
public void setPublic(boolean v)
public void setProtected()
public void setPrivate(boolean v)
public void setInterface(boolean v)
public void setFinal(boolean v)
public void setAbstract(boolean v)
public void setStatic(boolean v)
public void setStrict(boolean v)
public void setSynchronized(boolean v)
public boolean isWeakerThan(Modifiers other)
public boolean isMoreAccessibleThan(Modifiers other)
public int getFalseValue()
public int getAcceptableClassValue()
public int getAcceptableInnerClassValue()
public int getAccessValue()
public java.lang.String getAccessValueString()
public void checkIllegalCombination(int c1, int c2)
public void checkSpec()
checkSpec
in class ASTObject
public boolean matches(Modifiers otherModifiers)
public java.lang.String toShortString()
toShortString
in class ASTObject
public void unparse(org.aspectj.compiler.base.CodeWriter writer) throws java.io.IOException
unparse
in class ASTObject
java.io.IOException
public java.lang.String toString()
toString
in class ASTObject
public int getValue()
public void setValue(int _value)
public ASTObject copyWalk(CopyWalker walker)
copyWalk
in class ASTObject
public java.lang.String getDefaultDisplayName()
getDefaultDisplayName
in class ASTObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |