|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectsun.tools.javap.MethodData
public class MethodData
Strores method data informastion.
| Field Summary | |
|---|---|
(package private) int |
access
|
(package private) int |
attributes_count
|
(package private) java.util.Vector<AttrData> |
attrs
|
(package private) ClassData |
cls
|
(package private) byte[] |
code
|
(package private) java.util.Vector<AttrData> |
code_attrs
|
(package private) int |
descriptor_index
|
(package private) int[] |
exc_index_table
|
(package private) java.util.Vector<TrapData> |
exception_table
|
(package private) boolean |
isDeprecated
|
(package private) boolean |
isSynthetic
|
(package private) java.util.Vector<LineNumData> |
lin_num_tb
|
(package private) java.util.Vector<LocVarData> |
loc_var_tb
|
(package private) int |
max_locals
|
(package private) int |
max_stack
|
(package private) int |
name_index
|
(package private) StackMapData[] |
stackMap
|
(package private) StackMapTableData[] |
stackMapTable
|
| Constructor Summary | |
|---|---|
MethodData(ClassData cls)
|
|
| Method Summary | |
|---|---|
int[] |
get_exc_index_table()
Return exception index table in Exception attribute. |
java.lang.String[] |
getAccess()
Return access of the method. |
int |
getArgumentlength()
Return number of arguments of that method. |
java.util.Vector<?> |
getAttributes()
Return method attributes. |
byte[] |
getCode()
Return code attribute data of a method. |
java.util.Vector<?> |
getCodeAttributes()
Return code attributes. |
java.util.Vector<?> |
getexception_table()
Return exception table in code attributre. |
java.lang.String |
getInternalSig()
Return internal siganature of the method. |
java.util.Vector<?> |
getlin_num_tb()
Return LineNumberTable |
java.util.Vector<?> |
getloc_var_tb()
Return LocalVariableTable. |
int |
getloc_var_tbsize()
Return LocalVariableTable size. |
int |
getMaxLocals()
Return number of local variables. |
int |
getMaxStack()
Return max depth of operand stack. |
java.lang.String |
getName()
Return name of the method. |
int |
getnumlines()
Return LineNumberTable size. |
java.lang.String |
getParameters()
Return java type parameter signature. |
java.lang.String |
getReturnType()
Return java return type signature of method. |
StackMapData[] |
getStackMap()
Return StackMap. |
StackMapTableData[] |
getStackMapTable()
Return StackMapTable. |
boolean |
isDeprecated()
Return true if method is deprecated. |
boolean |
isStatic()
Return true if method is static |
boolean |
isSynthetic()
Return true if method id synthetic. |
void |
read(java.io.DataInputStream in)
Read method info. |
void |
readCode(java.io.DataInputStream in)
Read code attribute info. |
void |
readExceptions(java.io.DataInputStream in)
Read Exception attribute info. |
(package private) void |
readExceptionTable(java.io.DataInputStream in)
Read exception table info. |
(package private) void |
readLineNumTable(java.io.DataInputStream in)
Read LineNumberTable attribute info. |
(package private) void |
readLocVarTable(java.io.DataInputStream in)
Read LocalVariableTable attribute info. |
(package private) void |
readStackMap(java.io.DataInputStream in)
Read StackMap attribute info. |
(package private) void |
readStackMapTable(java.io.DataInputStream in)
Read StackMapTable attribute info. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
ClassData cls
int access
int name_index
int descriptor_index
int attributes_count
byte[] code
java.util.Vector<TrapData> exception_table
java.util.Vector<LineNumData> lin_num_tb
java.util.Vector<LocVarData> loc_var_tb
StackMapTableData[] stackMapTable
StackMapData[] stackMap
int[] exc_index_table
java.util.Vector<AttrData> attrs
java.util.Vector<AttrData> code_attrs
int max_stack
int max_locals
boolean isSynthetic
boolean isDeprecated
| Constructor Detail |
|---|
public MethodData(ClassData cls)
| Method Detail |
|---|
public void read(java.io.DataInputStream in)
throws java.io.IOException
java.io.IOException
public void readCode(java.io.DataInputStream in)
throws java.io.IOException
java.io.IOException
void readExceptionTable(java.io.DataInputStream in)
throws java.io.IOException
java.io.IOException
void readLineNumTable(java.io.DataInputStream in)
throws java.io.IOException
java.io.IOException
void readLocVarTable(java.io.DataInputStream in)
throws java.io.IOException
java.io.IOException
public void readExceptions(java.io.DataInputStream in)
throws java.io.IOException
java.io.IOException
void readStackMapTable(java.io.DataInputStream in)
throws java.io.IOException
java.io.IOException
void readStackMap(java.io.DataInputStream in)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String[] getAccess()
public java.lang.String getName()
public java.lang.String getInternalSig()
public java.lang.String getReturnType()
public java.lang.String getParameters()
public byte[] getCode()
public int getnumlines()
public java.util.Vector<?> getlin_num_tb()
public int getloc_var_tbsize()
public java.util.Vector<?> getloc_var_tb()
public StackMapData[] getStackMap()
public StackMapTableData[] getStackMapTable()
public int getArgumentlength()
public boolean isStatic()
public int getMaxStack()
public int getMaxLocals()
public int[] get_exc_index_table()
public java.util.Vector<?> getexception_table()
public java.util.Vector<?> getAttributes()
public java.util.Vector<?> getCodeAttributes()
public boolean isSynthetic()
public boolean isDeprecated()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||