Package proguard.classfile.util
Interface InvalidMemberReferenceVisitor
-
- All Known Subinterfaces:
InvalidReferenceVisitor
public interface InvalidMemberReferenceVisitor
A visitor for invalid member references.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
visitAnyMissingField(Clazz referencingClazz, Clazz reference, java.lang.String name, java.lang.String type)
Visit a missing field reference.void
visitAnyMissingMember(Clazz referencingClazz, Clazz reference, java.lang.String name, java.lang.String type)
Visit a missing field or method reference.default void
visitAnyMissingMethod(Clazz referencingClazz, Clazz reference, java.lang.String name, java.lang.String type)
Visit a missing method.default void
visitMissingEnclosingMethod(Clazz enclosingClazz, Clazz reference, java.lang.String name, java.lang.String type)
Visit a missing enclosing method.default void
visitMissingLibraryField(Clazz referencingClazz, LibraryClass reference, java.lang.String name, java.lang.String type)
default void
visitMissingLibraryMethod(Clazz referencingClazz, LibraryClass reference, java.lang.String name, java.lang.String type)
default void
visitMissingProgramField(Clazz referencingClazz, ProgramClass reference, java.lang.String name, java.lang.String type)
default void
visitMissingProgramMethod(Clazz referencingClazz, ProgramClass reference, java.lang.String name, java.lang.String type)
-
-
-
Method Detail
-
visitAnyMissingMember
void visitAnyMissingMember(Clazz referencingClazz, Clazz reference, java.lang.String name, java.lang.String type)
Visit a missing field or method reference.- Parameters:
referencingClazz
- the class from which the field or method is referenced.reference
- the referenced class.name
- the name of the missing referenced field or method.type
- the type of the missing field or method.
-
visitAnyMissingField
default void visitAnyMissingField(Clazz referencingClazz, Clazz reference, java.lang.String name, java.lang.String type)
Visit a missing field reference.- Parameters:
referencingClazz
- the class from which the field is referenced.reference
- the referenced class.name
- the name of the missing referenced field.type
- the type of the missing referenced field.
-
visitMissingProgramField
default void visitMissingProgramField(Clazz referencingClazz, ProgramClass reference, java.lang.String name, java.lang.String type)
-
visitMissingLibraryField
default void visitMissingLibraryField(Clazz referencingClazz, LibraryClass reference, java.lang.String name, java.lang.String type)
-
visitAnyMissingMethod
default void visitAnyMissingMethod(Clazz referencingClazz, Clazz reference, java.lang.String name, java.lang.String type)
Visit a missing method.- Parameters:
referencingClazz
- the class from which the method is referenced.reference
- the referenced class.name
- the name of the missing referenced method.type
- the type of the missing referenced method.
-
visitMissingProgramMethod
default void visitMissingProgramMethod(Clazz referencingClazz, ProgramClass reference, java.lang.String name, java.lang.String type)
-
visitMissingLibraryMethod
default void visitMissingLibraryMethod(Clazz referencingClazz, LibraryClass reference, java.lang.String name, java.lang.String type)
-
visitMissingEnclosingMethod
default void visitMissingEnclosingMethod(Clazz enclosingClazz, Clazz reference, java.lang.String name, java.lang.String type)
Visit a missing enclosing method.- Parameters:
enclosingClazz
- the class containing the enclosing method.reference
- the referenced class that encloses the method.name
- the name of the enclosing method.type
- the type of the enclosing method.
-
-