JML

org.multijava.util.classfile
Class AbstractInstructionAccessor

java.lang.Object
  extended byorg.multijava.util.classfile.AbstractInstructionAccessor
All Implemented Interfaces:
InstructionAccessor
Direct Known Subclasses:
BasicBlock, CodeLabel, Instruction, InstructionHandle, InstructionHandle, InstructionHandle, InstructionHandle, InstructionIO.ForwardReference

public abstract class AbstractInstructionAccessor
extends 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
Throws:
BadAccessorException

JML

JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.