Package org.aspectj.apache.bcel.generic
Class CodeExceptionGen
- java.lang.Object
-
- org.aspectj.apache.bcel.generic.CodeExceptionGen
-
- All Implemented Interfaces:
Serializable,Cloneable,InstructionTargeter
public final class CodeExceptionGen extends Object implements InstructionTargeter, Cloneable, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CodeExceptionGen(InstructionHandle start_pc, InstructionHandle end_pc, InstructionHandle handler_pc, ObjectType catch_type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()booleancontainsTarget(InstructionHandle ih)ObjectTypegetCatchType()CodeExceptiongetCodeException(ConstantPool cp)InstructionHandlegetEndPC()InstructionHandlegetHandlerPC()InstructionHandlegetStartPC()voidsetCatchType(ObjectType catch_type)voidsetEndPC(InstructionHandle end_pc)voidsetHandlerPC(InstructionHandle handler_pc)voidsetStartPC(InstructionHandle start_pc)StringtoString()voidupdateTarget(InstructionHandle old_ih, InstructionHandle new_ih)
-
-
-
Constructor Detail
-
CodeExceptionGen
public CodeExceptionGen(InstructionHandle start_pc, InstructionHandle end_pc, InstructionHandle handler_pc, ObjectType catch_type)
-
-
Method Detail
-
getCodeException
public CodeException getCodeException(ConstantPool cp)
-
setStartPC
public void setStartPC(InstructionHandle start_pc)
-
setEndPC
public void setEndPC(InstructionHandle end_pc)
-
setHandlerPC
public void setHandlerPC(InstructionHandle handler_pc)
-
updateTarget
public void updateTarget(InstructionHandle old_ih, InstructionHandle new_ih)
- Specified by:
updateTargetin interfaceInstructionTargeter
-
containsTarget
public boolean containsTarget(InstructionHandle ih)
- Specified by:
containsTargetin interfaceInstructionTargeter
-
setCatchType
public void setCatchType(ObjectType catch_type)
-
getCatchType
public ObjectType getCatchType()
-
getStartPC
public InstructionHandle getStartPC()
-
getEndPC
public InstructionHandle getEndPC()
-
getHandlerPC
public InstructionHandle getHandlerPC()
-
-