public class MemberAccessSetter extends java.lang.Object implements MemberVisitor
MemberVisitor
sets the access part of the access flags of the program class members
that its visits to a given value.ClassConstants
Constructor and Description |
---|
MemberAccessSetter(int accessFlags)
Creates a new MemberAccessSetter.
|
Modifier and Type | Method and Description |
---|---|
void |
visitLibraryField(LibraryClass libraryClass,
LibraryField libraryField) |
void |
visitLibraryMethod(LibraryClass libraryClass,
LibraryMethod libraryMethod) |
void |
visitProgramField(ProgramClass programClass,
ProgramField programField) |
void |
visitProgramMethod(ProgramClass programClass,
ProgramMethod programMethod) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
visitAnyMember, visitLibraryMember, visitProgramMember
public MemberAccessSetter(int accessFlags)
accessFlags
- the member access flags to be set.public void visitLibraryField(LibraryClass libraryClass, LibraryField libraryField)
visitLibraryField
in interface MemberVisitor
public void visitLibraryMethod(LibraryClass libraryClass, LibraryMethod libraryMethod)
visitLibraryMethod
in interface MemberVisitor
public void visitProgramField(ProgramClass programClass, ProgramField programField)
visitProgramField
in interface MemberVisitor
public void visitProgramMethod(ProgramClass programClass, ProgramMethod programMethod)
visitProgramMethod
in interface MemberVisitor