public class DataEntryClassWriter extends java.lang.Object implements ClassVisitor
ClassVisitor
writes out the ProgramClass
instances that it visits to the
given DataEntry
, modified to have the correct name.Constructor and Description |
---|
DataEntryClassWriter(DataEntry templateDataEntry,
DataEntryWriter dataEntryWriter)
Creates a new DataEntryClassWriter for writing to the given DataEntryWriter, based on the given
template DataEntry.
|
DataEntryClassWriter(DataEntryWriter dataEntryWriter)
Creates a new DataEntryClassWriter for writing to the given DataEntryWriter.
|
Modifier and Type | Method and Description |
---|---|
void |
visitAnyClass(Clazz clazz)
Visits any Clazz instance.
|
void |
visitProgramClass(ProgramClass programClass) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
visitLibraryClass
public DataEntryClassWriter(DataEntryWriter dataEntryWriter)
public DataEntryClassWriter(DataEntry templateDataEntry, DataEntryWriter dataEntryWriter)
public void visitAnyClass(Clazz clazz)
ClassVisitor
visitAnyClass
in interface ClassVisitor
public void visitProgramClass(ProgramClass programClass)
visitProgramClass
in interface ClassVisitor