Package org.aspectj.apache.bcel.generic
Class LocalVariableGen
- java.lang.Object
-
- org.aspectj.apache.bcel.generic.LocalVariableGen
-
- All Implemented Interfaces:
Serializable,Cloneable,InstructionTargeter
public class LocalVariableGen extends Object implements InstructionTargeter, Cloneable, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LocalVariableGen(int index, String name, Type type, InstructionHandle start, InstructionHandle end)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()booleancontainsTarget(InstructionHandle ih)booleanequals(Object o)InstructionHandlegetEnd()intgetIndex()LocalVariablegetLocalVariable(ConstantPool cp)StringgetName()InstructionHandlegetStart()TypegetType()voidsetEnd(InstructionHandle end)voidsetIndex(int index)voidsetName(String name)voidsetStart(InstructionHandle start)voidsetType(Type type)StringtoString()voidupdateTarget(InstructionHandle old_ih, InstructionHandle new_ih)
-
-
-
Constructor Detail
-
LocalVariableGen
public LocalVariableGen(int index, String name, Type type, InstructionHandle start, InstructionHandle end)
-
-
Method Detail
-
getLocalVariable
public LocalVariable getLocalVariable(ConstantPool cp)
-
setIndex
public void setIndex(int index)
-
getIndex
public int getIndex()
-
setName
public void setName(String name)
-
getName
public String getName()
-
setType
public void setType(Type type)
-
getType
public Type getType()
-
getStart
public InstructionHandle getStart()
-
getEnd
public InstructionHandle getEnd()
-
setStart
public void setStart(InstructionHandle start)
-
setEnd
public void setEnd(InstructionHandle end)
-
updateTarget
public void updateTarget(InstructionHandle old_ih, InstructionHandle new_ih)
- Specified by:
updateTargetin interfaceInstructionTargeter
-
containsTarget
public boolean containsTarget(InstructionHandle ih)
- Specified by:
containsTargetin interfaceInstructionTargeter
-
-