Package proguard.io
Class DataEntryClassWriter
java.lang.Object
proguard.io.DataEntryClassWriter
- All Implemented Interfaces:
ClassVisitor
This
ClassVisitor writes out the ProgramClass instances that it visits to the
given DataEntry, modified to have the correct name.-
Constructor Summary
ConstructorsConstructorDescriptionDataEntryClassWriter(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
Modifier and TypeMethodDescriptionvoidvisitAnyClass(Clazz clazz) Visits any Clazz instance.voidvisitProgramClass(ProgramClass programClass) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface proguard.classfile.visitor.ClassVisitor
visitLibraryClass
-
Constructor Details
-
DataEntryClassWriter
Creates a new DataEntryClassWriter for writing to the given DataEntryWriter. -
DataEntryClassWriter
Creates a new DataEntryClassWriter for writing to the given DataEntryWriter, based on the given template DataEntry.
-
-
Method Details
-
visitAnyClass
Description copied from interface:ClassVisitorVisits any Clazz instance. The more specific default implementations of this interface delegate to this method.- Specified by:
visitAnyClassin interfaceClassVisitor
-
visitProgramClass
- Specified by:
visitProgramClassin interfaceClassVisitor
-