public class ReferencedClassesExtractor extends java.lang.Object implements MemberVisitor
Constructor and Description |
---|
ReferencedClassesExtractor() |
Modifier and Type | Method and Description |
---|---|
Clazz[] |
getParameterClasses()
Returns the referenced
Clazz for each parameter. |
@Nullable Clazz |
getReturnClass()
Returns the referenced return
Clazz of the target method. |
void |
visitAnyMember(Clazz clazz,
Member member)
Visits any Member instance.
|
void |
visitLibraryMethod(LibraryClass libraryClass,
LibraryMethod libraryMethod) |
void |
visitProgramMethod(ProgramClass programClass,
ProgramMethod programMethod) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
visitLibraryField, visitLibraryMember, visitProgramField, visitProgramMember
public void visitAnyMember(Clazz clazz, Member member)
MemberVisitor
visitAnyMember
in interface MemberVisitor
public void visitProgramMethod(ProgramClass programClass, ProgramMethod programMethod)
visitProgramMethod
in interface MemberVisitor
public void visitLibraryMethod(LibraryClass libraryClass, LibraryMethod libraryMethod)
visitLibraryMethod
in interface MemberVisitor
@Nullable public @Nullable Clazz getReturnClass()
Clazz
of the target method.public Clazz[] getParameterClasses()
Clazz
for each parameter.