|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectharpoon.IR.RawClass.AccessFlags
public class AccessFlags
Represents a set of method or field access flags, containing permissions and properties of a field or method.
ClassFile
,
FieldInfo
,
MethodInfo
Field Summary | |
---|---|
int |
access_flags
|
Constructor Summary | |
---|---|
AccessFlags(ClassDataInputStream in)
Constructor. |
|
AccessFlags(int flags)
Constructor. |
Method Summary | |
---|---|
boolean |
isAbstract()
|
boolean |
isFinal()
|
boolean |
isInterface()
|
boolean |
isNative()
|
boolean |
isPrivate()
|
boolean |
isProtected()
|
boolean |
isPublic()
|
boolean |
isStatic()
|
boolean |
isStrict()
|
boolean |
isSuper()
|
boolean |
isSynchronized()
|
boolean |
isTransient()
|
boolean |
isVolatile()
|
String |
toString()
Returns a string with the access flags in canonical order. |
void |
write(ClassDataOutputStream out)
Write to bytecode file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int access_flags
Constructor Detail |
---|
public AccessFlags(int flags)
public AccessFlags(ClassDataInputStream in) throws IOException
IOException
Method Detail |
---|
public void write(ClassDataOutputStream out) throws IOException
IOException
public boolean isPublic()
public boolean isPrivate()
public boolean isProtected()
public boolean isStatic()
public boolean isFinal()
public boolean isVolatile()
public boolean isTransient()
public boolean isSynchronized()
public boolean isNative()
public boolean isAbstract()
public boolean isSuper()
public boolean isInterface()
public boolean isStrict()
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |