org.aspectj.apache.bcel.generic
Class Tag

java.lang.Object
  extended by org.aspectj.apache.bcel.generic.Tag
All Implemented Interfaces:
java.lang.Cloneable, InstructionTargeter
Direct Known Subclasses:
LineNumberTag, LocalVariableTag

public abstract class Tag
extends java.lang.Object
implements InstructionTargeter, java.lang.Cloneable

A tag is an instruction-targeter that does not remember its target. Instruction handles will maintain a list of targeters but there won't be a way to get back from the tag to the instruction. Maintaining these backward/forward links just slows everything down.


Constructor Summary
Tag()
           
 
Method Summary
 boolean containsTarget(InstructionHandle ih)
           
 Tag copy()
           
 void updateTarget(InstructionHandle oldHandle, InstructionHandle newHandle)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tag

public Tag()
Method Detail

containsTarget

public boolean containsTarget(InstructionHandle ih)
Specified by:
containsTarget in interface InstructionTargeter

updateTarget

public void updateTarget(InstructionHandle oldHandle,
                         InstructionHandle newHandle)
Specified by:
updateTarget in interface InstructionTargeter

copy

public Tag copy()