|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fife.rsta.ac.java.classreader.MemberInfo
public abstract class MemberInfo
Base class for information about members (fields and methods).
FieldInfo,
MethodInfo| Field Summary | |
|---|---|
protected ClassFile |
cf
The class file in which this method is defined. |
static String |
DEPRECATED
Attribute marking a member as deprecated. |
| Constructor Summary | |
|---|---|
protected |
MemberInfo(ClassFile cf,
int accessFlags)
Constructor. |
| Method Summary | |
|---|---|
int |
getAccessFlags()
Returns the access flags for this field. |
ClassFile |
getClassFile()
Returns the parent class file. |
abstract String |
getDescriptor()
Returns the descriptor of this member. |
abstract String |
getName()
Returns the name of this member. |
boolean |
isDeprecated()
Returns whether this member is deprecated. |
boolean |
isFinal()
Returns whether this member is final. |
boolean |
isStatic()
Returns whether this member is static. |
protected AttributeInfo |
readAttribute(DataInputStream in,
String attrName,
int attrLength)
Reads attributes common to all members. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ClassFile cf
public static final String DEPRECATED
| Constructor Detail |
|---|
protected MemberInfo(ClassFile cf,
int accessFlags)
cf - The class file defining this member.| Method Detail |
|---|
public int getAccessFlags()
AccessFlagspublic ClassFile getClassFile()
public abstract String getName()
public boolean isDeprecated()
public abstract String getDescriptor()
public boolean isFinal()
public boolean isStatic()
protected AttributeInfo readAttribute(DataInputStream in,
String attrName,
int attrLength)
throws IOException
in - attrName - attrLength -
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||