|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcn.wensiqun.asmsupport.definition.AbstractExecuteable
cn.wensiqun.asmsupport.block.ProgramBlock
cn.wensiqun.asmsupport.block.control.SeriesBlock
cn.wensiqun.asmsupport.block.control.Try
public abstract class Try
Try语句块
| 嵌套类摘要 | |
|---|---|
static class |
Try.UnAddExceptionThrow
throw操作 区别于Throw的是,当创建隐式的catch块的时候,不将该catch捕获的Throwable类型的异常添加到方法签名中 即方法上向上添加异常抛出声明 |
| 字段摘要 |
|---|
| 从类 cn.wensiqun.asmsupport.block.ProgramBlock 继承的字段 |
|---|
insnHelper, method, ownerBlock, returned, scope |
| 构造方法摘要 | |
|---|---|
Try()
|
|
| 方法摘要 | |
|---|---|
void |
addCatchedException(AClass exception)
添加异常到catch的异常集合中 |
void |
addException(AClass exception)
添加抛出的异常到方法签名中 |
Catch |
catchException(Catch ca)
|
boolean |
checkCatchBlockException(AClass exception)
判断是否已经catch过了异常或者catch过了其父类 |
void |
executing()
|
Finally |
finallyThan(Finally fny)
|
abstract void |
generateBody()
创建程序块内的java程序 |
void |
generateInsn()
override this method if want create a new block 生成操作到执行队列中去。 |
ThrowExceptionContainer |
getCatchedExceptions()
|
Catch |
getCatchEntity()
|
org.objectweb.asm.Label |
getEnd()
|
Finally |
getFinallyBlock()
返回finally块 |
org.objectweb.asm.Label |
getStart()
|
protected void |
init()
|
void |
setFinallyBlock(Finally finallyBlock)
|
void |
setParentExes(List<Executeable> parentExes)
|
void |
setParentPreExes(List<Executeable> parentPreExes)
|
String |
toString()
|
| 从类 cn.wensiqun.asmsupport.block.control.SeriesBlock 继承的方法 |
|---|
getPrevious, setPrevious |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 构造方法详细信息 |
|---|
public Try()
| 方法详细信息 |
|---|
public void addCatchedException(AClass exception)
exception - public void addException(AClass exception)
ProgramBlock 复制的描述
ProgramBlock 中的 addExceptionpublic abstract void generateBody()
public final void generateInsn()
ProgramBlock 复制的描述
ProgramBlock 中的 generateInsnpublic void executing()
ProgramBlock 中的 executingprotected void init()
ProgramBlock 中的 initpublic boolean checkCatchBlockException(AClass exception)
exception -
public Catch catchException(Catch ca)
ca -
public Finally finallyThan(Finally fny)
fly -
public void setParentExes(List<Executeable> parentExes)
public void setParentPreExes(List<Executeable> parentPreExes)
public void setFinallyBlock(Finally finallyBlock)
public Finally getFinallyBlock()
public Catch getCatchEntity()
public org.objectweb.asm.Label getStart()
public org.objectweb.asm.Label getEnd()
public ThrowExceptionContainer getCatchedExceptions()
public String toString()
Object 中的 toString
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||