cn.wensiqun.asmsupport.block.control
类 Catch

java.lang.Object
  继承者 cn.wensiqun.asmsupport.definition.AbstractExecuteable
      继承者 cn.wensiqun.asmsupport.block.ProgramBlock
          继承者 cn.wensiqun.asmsupport.block.control.SeriesBlock
              继承者 cn.wensiqun.asmsupport.block.control.Catch
所有已实现的接口:
IBlockOperators, ArithmeticOperator, ArrayOperator, Bitwise, CreateBlockOperator, CrementOperator, LogicalOperator, MethodInvokeOperator, RelationalOperator, ThisVariableable, ValueOperator, VariableOperator, Executeable, Cloneable

public abstract class Catch
extends SeriesBlock

作者:
温斯群(Joe Wen)

字段摘要
 
从类 cn.wensiqun.asmsupport.block.ProgramBlock 继承的字段
insnHelper, method, ownerBlock, returned, scope
 
构造方法摘要
Catch(AClass exception)
           
 
方法摘要
abstract  void catchBody(LocalVariable e)
           
 Catch catchException(Catch ca)
           
 boolean checkCatch(AClass excep)
          判断当前catch块或者之后的catch块是否已经catch过了异常或者catch过了其父类
 void executing()
           
 Finally finallyThan(Finally fly)
           
 void generateInsn()
          override this method if want create a new block 生成操作到执行队列中去。
 AClass getException()
           
 Finally getFinally()
          get finally block
 Finally getFinallyBlock()
           
 Catch getNextCatch()
           
protected  void init()
           
 void setParentExes(List<Executeable> parentExes)
          设置父类
 void setParentPreExes(List<Executeable> parentPreExes)
           
 void setReturned(boolean returned)
           
 String toString()
           
 
从类 cn.wensiqun.asmsupport.block.control.SeriesBlock 继承的方法
getPrevious, setPrevious
 
从类 cn.wensiqun.asmsupport.block.ProgramBlock 继承的方法
add, addAllExe, addException, addExe, afterDec, afterInc, append, arrayLength, arrayLength, arrayLength, arrayLength, arrayLength, arrayLoad, arrayLoad, arrayLoad, arrayLoad, arrayLoad, arrayStore, arrayStore, arrayStore, arrayStore, arrayStore, assign, beforeDec, beforeInc, bitAnd, bitOr, bitXor, breakout, checkCast, clonerGenerate, conditionalAnd, conditionalOr, continueout, createArrayVariable, createArrayVariable, createArrayVariableWithAllocateDimension, createVariable, div, dowhile, equal, equals, execute, forEach, getCopy, getExecuteBlock, getExecuteQueue, getInsnHelper, getLocalAnonymousVariableModel, getLocalVariableModel, getMethod, getMethodArguments, getMethodBody, getMethodOwner, getOwnerBlock, getPreExecuteInsn, getScope, getSuper, getThis, getThrowExceptions, greaterEqual, greaterThan, ifthan, instanceOf, inverts, invoke, invokeConstructor, invokeOriginalMethod, invokeStatic, invokeVerify, isReturned, isUnreachableCode, leftShift, lessEqual, lessThan, logicalAnd, logicalOr, logicalXor, mod, mul, neg, newArray, newArrayWithValue, newArrayWithValue, newArrayWithValue, newArrayWithValue, newArrayWithValue, not, notEqual, prepare, removeException, removeExe, replaceExe, rightShift, runReturn, runReturn, setExecuteBlock, setInsnHelper, setOwnerBlock, setScope, setWhetherCheckUnreachableCode, sub, subBlockPrepare, subBlockPrepare, syn, ternary, throwException, tiggerTryCatchPrepare, tryDo, unsignedRightShift, whetherCheckUnreachableCode, whileloop
 
从类 java.lang.Object 继承的方法
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

Catch

public Catch(AClass exception)
方法详细信息

getFinallyBlock

public Finally getFinallyBlock()

executing

public void executing()
指定者:
ProgramBlock 中的 executing

init

protected void init()
指定者:
ProgramBlock 中的 init

generateInsn

public final void generateInsn()
从类 ProgramBlock 复制的描述
override this method if want create a new block 生成操作到执行队列中去。

指定者:
ProgramBlock 中的 generateInsn

catchBody

public abstract void catchBody(LocalVariable e)

checkCatch

public boolean checkCatch(AClass excep)
判断当前catch块或者之后的catch块是否已经catch过了异常或者catch过了其父类

参数:
exception -
返回:

catchException

public Catch catchException(Catch ca)
参数:
ca -
返回:

finallyThan

public Finally finallyThan(Finally fly)

setReturned

public void setReturned(boolean returned)
覆盖:
ProgramBlock 中的 setReturned

getFinally

public Finally getFinally()
get finally block

返回:

setParentExes

public void setParentExes(List<Executeable> parentExes)
设置父类

参数:
parentExes -

setParentPreExes

public void setParentPreExes(List<Executeable> parentPreExes)

getNextCatch

public Catch getNextCatch()

getException

public AClass getException()

toString

public String toString()
覆盖:
Object 中的 toString


Copyright © 2013. All Rights Reserved.