|
|||||||||
| Home >> All >> com >> chaoswg >> xtc4y >> [ classdesc overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.chaoswg.xtc4y.classdesc
Class MethodInfo

java.lang.Objectcom.chaoswg.xtc4y.classdesc.NameDescriptorInfo
com.chaoswg.xtc4y.classdesc.MethodInfo
- public class MethodInfo
- extends NameDescriptorInfo
This container class provides method informations
| Field Summary | |
static java.lang.String |
CONSTRUCTOR_NAME
|
static java.lang.String |
INT_CONSTRUCTOR_NAME
|
| Fields inherited from class com.chaoswg.xtc4y.classdesc.NameDescriptorInfo |
|
| Constructor Summary | |
protected |
MethodInfo(java.io.DataInputStream dis,
ConstantPool cp)
Create a MethodInfo and initializses itself through the DataInputStream |
|
MethodInfo(MethodAccessFlags access,
java.lang.String name,
java.lang.String descriptor)
Construct a new method with a given access flag, the name and the descriptor |
| Method Summary | |
protected AccessFlags |
getAccessFlags(short access)
|
boolean |
isConstructor()
|
boolean |
isInternalConstructor()
|
protected void |
write(java.io.DataOutputStream dos,
ConstantPool cp)
Write the constant pool information into a DataOutputStream. |
| Methods inherited from class com.chaoswg.xtc4y.classdesc.NameDescriptorInfo |
addAttribute, getAccessFlags, getAttributes, getDescriptor, getName, removeAttribute, setDescriptor, setName, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
CONSTRUCTOR_NAME
public static final java.lang.String CONSTRUCTOR_NAME
- See Also:
- Constant Field Values
INT_CONSTRUCTOR_NAME
public static final java.lang.String INT_CONSTRUCTOR_NAME
- See Also:
- Constant Field Values
| Constructor Detail |
MethodInfo
protected MethodInfo(java.io.DataInputStream dis, ConstantPool cp) throws java.io.IOException
- Create a MethodInfo and initializses itself through the DataInputStream
MethodInfo
public MethodInfo(MethodAccessFlags access, java.lang.String name, java.lang.String descriptor)
- Construct a new method with a given access flag, the name and the
descriptor
| Method Detail |
write
protected void write(java.io.DataOutputStream dos, ConstantPool cp) throws java.io.IOException
- Write the constant pool information into a DataOutputStream.
if it is a constructor method, add an additional methodref
- Overrides:
writein classNameDescriptorInfo
getAccessFlags
protected AccessFlags getAccessFlags(short access)
- Specified by:
getAccessFlagsin classNameDescriptorInfo
isConstructor
public boolean isConstructor()
isInternalConstructor
public boolean isInternalConstructor()
|
|||||||||
| Home >> All >> com >> chaoswg >> xtc4y >> [ classdesc overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC