Package proguard.classfile.visitor
Class MemberAccessFlagCleaner
- java.lang.Object
-
- proguard.classfile.visitor.MemberAccessFlagCleaner
-
- All Implemented Interfaces:
ClassVisitor
,MemberVisitor
public class MemberAccessFlagCleaner extends java.lang.Object implements ClassVisitor, MemberVisitor
ThisClassVisitor
andMemberVisitor
clears the specified access flags of the classes and class members that its visits.- See Also:
ClassConstants
-
-
Constructor Summary
Constructors Constructor Description MemberAccessFlagCleaner(int accessFlags)
Creates a new MemberAccessFlagCleaner.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
visitAnyClass(Clazz clazz)
Visits any Clazz instance.void
visitLibraryClass(LibraryClass libraryClass)
void
visitLibraryField(LibraryClass libraryClass, LibraryField libraryField)
void
visitLibraryMethod(LibraryClass libraryClass, LibraryMethod libraryMethod)
void
visitProgramClass(ProgramClass programClass)
void
visitProgramField(ProgramClass programClass, ProgramField programField)
void
visitProgramMethod(ProgramClass programClass, ProgramMethod programMethod)
-
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.MemberVisitor
visitAnyMember, visitLibraryMember, visitProgramMember
-
-
-
-
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
-
visitLibraryClass
public void visitLibraryClass(LibraryClass libraryClass)
- Specified by:
visitLibraryClass
in interfaceClassVisitor
-
visitLibraryField
public void visitLibraryField(LibraryClass libraryClass, LibraryField libraryField)
- Specified by:
visitLibraryField
in interfaceMemberVisitor
-
visitLibraryMethod
public void visitLibraryMethod(LibraryClass libraryClass, LibraryMethod libraryMethod)
- Specified by:
visitLibraryMethod
in interfaceMemberVisitor
-
visitProgramField
public void visitProgramField(ProgramClass programClass, ProgramField programField)
- Specified by:
visitProgramField
in interfaceMemberVisitor
-
visitProgramMethod
public void visitProgramMethod(ProgramClass programClass, ProgramMethod programMethod)
- Specified by:
visitProgramMethod
in interfaceMemberVisitor
-
-