|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcn.wensiqun.asmsupport.definition.method.Method
public class Method
方法的抽象。
| 构造方法摘要 | |
|---|---|
Method(MethodEntity me,
IClassContext context,
SuperMethodBody methodBody,
int mode)
构造方法 |
|
| 方法摘要 | |
|---|---|
LocalVariable[] |
getArguments()
|
String |
getDesc()
|
InstructionHelper |
getInsnHelper()
|
LocalVariables |
getLocals()
|
SuperMethodBody |
getMethodBody()
|
MethodEntity |
getMethodEntity()
|
NewMemberClass |
getMethodOwner()
|
int |
getMode()
|
Try |
getNearlyTryBlock()
|
Stack |
getStack()
|
boolean |
isStatic()
当前Method是否是static的 |
int |
nextInsNumber()
下一条指令的序号 |
void |
removeThrowException(AClass exception)
|
void |
setArguments(LocalVariable[] arguments)
|
void |
setNearlyTryBlock(Try nearlyTryBlock)
|
void |
startup()
启动创建或修改程序 |
String |
toString()
|
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 构造方法详细信息 |
|---|
public Method(MethodEntity me,
IClassContext context,
SuperMethodBody methodBody,
int mode)
me - context - methodBody - mode - | 方法详细信息 |
|---|
public boolean isStatic()
public void startup()
public Stack getStack()
public LocalVariables getLocals()
public int nextInsNumber()
public SuperMethodBody getMethodBody()
public InstructionHelper getInsnHelper()
public MethodEntity getMethodEntity()
public void removeThrowException(AClass exception)
public String getDesc()
public String toString()
Object 中的 toStringpublic NewMemberClass getMethodOwner()
public LocalVariable[] getArguments()
public void setArguments(LocalVariable[] arguments)
public int getMode()
public Try getNearlyTryBlock()
public void setNearlyTryBlock(Try nearlyTryBlock)
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||