at.dms.classfile
Class AbstractInstructionAccessor

java.lang.Object
  |
  +--at.dms.classfile.AbstractInstructionAccessor
All Implemented Interfaces:
InstructionAccessor
Direct Known Subclasses:
BasicBlock, CodeLabel, Instruction, InstructionHandle, InstructionHandle, InstructionHandle, InstructionHandle, LabelReference

public abstract class AbstractInstructionAccessor
extends java.lang.Object
implements InstructionAccessor

This class provides default implementations for the InstructionAccessor interface. The resolution of the accessor is left to the transformer, which must in turn have knowledge of and access to the accessor to be transformed.


Constructor Summary
AbstractInstructionAccessor()
           
 
Method Summary
 InstructionAccessor transform(AccessorTransformer transformer, AccessorContainer container)
          Transforms the accessor.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractInstructionAccessor

public AbstractInstructionAccessor()
Method Detail

transform

public InstructionAccessor transform(AccessorTransformer transformer,
                                     AccessorContainer container)
                              throws BadAccessorException
Transforms the accessor.
Specified by:
transform in interface InstructionAccessor
Parameters:
transformer - The transformer to be used.
container - The object which contains the accessor.