Package proguard.io
Class DataEntryClassWriter
- java.lang.Object
-
- proguard.io.DataEntryClassWriter
-
- All Implemented Interfaces:
ClassVisitor
public class DataEntryClassWriter extends java.lang.Object implements ClassVisitor
ThisClassVisitor
writes out theProgramClass
instances that it visits to the givenDataEntry
, modified to have the correct name.
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
visitAnyClass(Clazz clazz)
Visits any Clazz instance.void
visitProgramClass(ProgramClass programClass)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface proguard.classfile.visitor.ClassVisitor
visitLibraryClass
-
-
-
-
Constructor Detail
-
DataEntryClassWriter
public DataEntryClassWriter(DataEntryWriter dataEntryWriter)
Creates a new DataEntryClassWriter for writing to the given DataEntryWriter.
-
DataEntryClassWriter
public DataEntryClassWriter(DataEntry templateDataEntry, DataEntryWriter dataEntryWriter)
Creates a new DataEntryClassWriter for writing to the given DataEntryWriter, based on the given template DataEntry.
-
-
Method Detail
-
visitAnyClass
public void visitAnyClass(Clazz clazz)
Description copied from interface:ClassVisitor
Visits any Clazz instance. The more specific default implementations of this interface delegate to this method.- Specified by:
visitAnyClass
in interfaceClassVisitor
-
visitProgramClass
public void visitProgramClass(ProgramClass programClass)
- Specified by:
visitProgramClass
in interfaceClassVisitor
-
-