net.sf.retrotranslator.transformer
Class VersionVisitor
java.lang.Object
net.sf.retrotranslator.runtime.asm.ClassAdapter
net.sf.retrotranslator.transformer.VersionVisitor
- All Implemented Interfaces:
- ClassVisitor
class VersionVisitor
- extends ClassAdapter
- Author:
- Taras Puchko
| Fields inherited from class net.sf.retrotranslator.runtime.asm.ClassAdapter |
cv |
|
Method Summary |
void |
visit(int version,
int access,
java.lang.String name,
java.lang.String signature,
java.lang.String superName,
java.lang.String[] interfaces)
Visits the header of the class. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
target
private final ClassVersion target
VersionVisitor
public VersionVisitor(ClassVisitor visitor,
ClassVersion target)
visit
public void visit(int version,
int access,
java.lang.String name,
java.lang.String signature,
java.lang.String superName,
java.lang.String[] interfaces)
- Description copied from interface:
ClassVisitor
- Visits the header of the class.
- Specified by:
visit in interface ClassVisitor- Overrides:
visit in class ClassAdapter
- Parameters:
version - the class version.access - the class's access flags (see Opcodes). This
parameter also indicates if the class is deprecated.name - the internal name of the class (see
getInternalName).signature - the signature of this class. May be null if
the class is not a generic one, and does not extend or implement
generic classes or interfaces.superName - the internal of name of the super class (see
getInternalName). For interfaces,
the super class is Object. May be null, but
only for the Object class.interfaces - the internal names of the class's interfaces (see
getInternalName). May be
null.