Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.chaoswg.xtc4y.classdesc
Class MethodInfo  view MethodInfo download MethodInfo.java

java.lang.Object
  extended bycom.chaoswg.xtc4y.classdesc.NameDescriptorInfo
      extended bycom.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:
write in class NameDescriptorInfo

getAccessFlags

protected AccessFlags getAccessFlags(short access)
Specified by:
getAccessFlags in class NameDescriptorInfo

isConstructor

public boolean isConstructor()

isInternalConstructor

public boolean isInternalConstructor()