All Packages Class Hierarchy This Package Previous Next Index
Class shai.vmutils.MethodEntry
java.lang.Object
|
+----shai.vmutils.MethodEntry
- public class MethodEntry
- extends Object
This class contains the representation of a method in the class file.
-
methodAttributes
-
-
methodMode
-
-
methodName
-
-
methodType
-
-
MethodEntry(DataInputStream, ConstantPoolEntry[])
- This method reads the data regarding the method into memory.
-
getMethodAttributes()
- This method returns the methods attributes.
-
getMethodName()
- This method returns the offset of the method name in the constant pool.
-
getMethodType()
- This method returns the offset of the method type in the constant pool.
-
save(DataOutputStream)
- This method will save the method table into the file
methodName
int methodName
methodType
int methodType
methodAttributes
AttributeEntry methodAttributes
methodMode
int methodMode
MethodEntry
public MethodEntry(DataInputStream dataStream,
ConstantPoolEntry constantPool[]) throws IOException, ClassFormatError
- This method reads the data regarding the method into memory.
- Parameters:
- dataStream - java.io.DataInputStream
- ConstantPoolEntry - constantPool[]
- Throws: IOException
- The exception description.
getMethodAttributes
public AttributeEntry getMethodAttributes()
- This method returns the methods attributes.
- Returns:
- shai.vmutils.AttributeEntry
getMethodName
public int getMethodName()
- This method returns the offset of the method name in the constant pool.
- Returns:
- java.lang.String
getMethodType
public int getMethodType()
- This method returns the offset of the method type in the constant pool.
- Returns:
- java.lang.String
save
public void save(DataOutputStream outputStream) throws IOException
- This method will save the method table into the file
- Parameters:
- outputStream - java.io.DataOutputStream
- Throws: IOException
- The exception description.
All Packages Class Hierarchy This Package Previous Next Index