Package org.aspectj.weaver.bcel
Class ExceptionRange
- java.lang.Object
-
- org.aspectj.weaver.bcel.ExceptionRange
-
- All Implemented Interfaces:
InstructionTargeter
public final class ExceptionRange extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected InstructionListbodyprotected InstructionHandleendstatic InstructionRANGEINSTRUCTIONprotected InstructionHandlestart
-
Constructor Summary
Constructors Constructor Description ExceptionRange(InstructionList body, UnresolvedType exceptionType, boolean insideExisting)ExceptionRange(InstructionList body, UnresolvedType exceptionType, int priority)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidassociateWithTargets(InstructionHandle start, InstructionHandle end, InstructionHandle handler)booleancontainsTarget(InstructionHandle ih)booleanequals(Object other)UnresolvedTypegetCatchType()InstructionHandlegetHandler()intgetPriority()protected static org.aspectj.weaver.bcel.RangegetRange(InstructionHandle ih)inthashCode()static booleanisExceptionEnd(InstructionHandle ih)static booleanisExceptionStart(InstructionHandle ih)static booleanisRangeHandle(InstructionHandle ih)StringtoString()voidupdateTarget(InstructionHandle old_ih, InstructionHandle new_ih)voidupdateTarget(InstructionHandle oldIh, InstructionHandle newIh, InstructionList newBody)
-
-
-
Field Detail
-
body
protected InstructionList body
-
start
protected InstructionHandle start
-
end
protected InstructionHandle end
-
RANGEINSTRUCTION
public static final Instruction RANGEINSTRUCTION
-
-
Constructor Detail
-
ExceptionRange
public ExceptionRange(InstructionList body, UnresolvedType exceptionType, int priority)
-
ExceptionRange
public ExceptionRange(InstructionList body, UnresolvedType exceptionType, boolean insideExisting)
-
-
Method Detail
-
associateWithTargets
public void associateWithTargets(InstructionHandle start, InstructionHandle end, InstructionHandle handler)
-
getHandler
public InstructionHandle getHandler()
-
getCatchType
public UnresolvedType getCatchType()
-
getPriority
public int getPriority()
-
updateTarget
public void updateTarget(InstructionHandle oldIh, InstructionHandle newIh, InstructionList newBody)
-
isExceptionStart
public static boolean isExceptionStart(InstructionHandle ih)
-
isExceptionEnd
public static boolean isExceptionEnd(InstructionHandle ih)
-
containsTarget
public boolean containsTarget(InstructionHandle ih)
- Specified by:
containsTargetin interfaceInstructionTargeter
-
updateTarget
public final void updateTarget(InstructionHandle old_ih, InstructionHandle new_ih)
- Specified by:
updateTargetin interfaceInstructionTargeter
-
isRangeHandle
public static final boolean isRangeHandle(InstructionHandle ih)
-
getRange
protected static final org.aspectj.weaver.bcel.Range getRange(InstructionHandle ih)
-
-