Package spoon.refactoring
Class MethodInvocationSearch
java.lang.Object
spoon.reflect.visitor.CtScanner
spoon.refactoring.MethodInvocationSearch
- All Implemented Interfaces:
CtVisitor
Class for creating a mapping from CtExecutable to all known calls from fields
and methods.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T> void
visitCtField(CtField<T> field)
Visits a field declaration.<T> void
visitCtMethod(CtMethod<T> method)
Visits a method declaration.Methods inherited from class spoon.reflect.visitor.CtScanner
enter, exit, scan, scan, scan, scan, scan, scan, scan, visitCtAnnotation, visitCtAnnotationFieldAccess, visitCtAnnotationMethod, visitCtAnnotationType, visitCtAnonymousExecutable, visitCtArrayRead, visitCtArrayTypeReference, visitCtArrayWrite, visitCtAssert, visitCtAssignment, visitCtBinaryOperator, visitCtBlock, visitCtBreak, visitCtCase, visitCtCatch, visitCtCatchVariable, visitCtCatchVariableReference, visitCtClass, visitCtCodeSnippetExpression, visitCtCodeSnippetStatement, visitCtComment, visitCtCompilationUnit, visitCtConditional, visitCtConstructor, visitCtConstructorCall, visitCtContinue, visitCtDo, visitCtEnum, visitCtEnumValue, visitCtExecutableReference, visitCtExecutableReferenceExpression, visitCtFieldRead, visitCtFieldReference, visitCtFieldWrite, visitCtFor, visitCtForEach, visitCtIf, visitCtImport, visitCtInterface, visitCtIntersectionTypeReference, visitCtInvocation, visitCtJavaDoc, visitCtJavaDocTag, visitCtLambda, visitCtLiteral, visitCtLocalVariable, visitCtLocalVariableReference, visitCtModule, visitCtModuleReference, visitCtModuleRequirement, visitCtNewArray, visitCtNewClass, visitCtOperatorAssignment, visitCtPackage, visitCtPackageDeclaration, visitCtPackageExport, visitCtPackageReference, visitCtParameter, visitCtParameterReference, visitCtProvidedService, visitCtRecord, visitCtRecordComponent, visitCtReturn, visitCtStatementList, visitCtSuperAccess, visitCtSwitch, visitCtSwitchExpression, visitCtSynchronized, visitCtTextBlock, visitCtThisAccess, visitCtThrow, visitCtTry, visitCtTryWithResource, visitCtTypeAccess, visitCtTypeMemberWildcardImportReference, visitCtTypeParameter, visitCtTypeParameterReference, visitCtTypePattern, visitCtTypeReference, visitCtUnaryOperator, visitCtUnboundVariableReference, visitCtUsedService, visitCtVariableRead, visitCtVariableWrite, visitCtWhile, visitCtWildcardReference, visitCtYieldStatement
-
Constructor Details
-
MethodInvocationSearch
public MethodInvocationSearch()
-
-
Method Details
-
visitCtMethod
Description copied from interface:CtVisitor
Visits a method declaration.- Specified by:
visitCtMethod
in interfaceCtVisitor
- Overrides:
visitCtMethod
in classCtScanner
-
getInvocationsOfMethod
-
visitCtField
Description copied from interface:CtVisitor
Visits a field declaration.- Specified by:
visitCtField
in interfaceCtVisitor
- Overrides:
visitCtField
in classCtScanner
-