org.multijava.util.classfile
Class AbstractInstructionAccessor
java.lang.Object
org.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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractInstructionAccessor
public AbstractInstructionAccessor()
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 usedcontainer - the object which contains the accessor
- Throws:
BadAccessorException
mjc is Copyright (C) 2000-2004 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. mjc is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.