Package spoon.reflect.visitor
Class CtInheritanceScanner
java.lang.Object
spoon.reflect.visitor.CtInheritanceScanner
- All Implemented Interfaces:
CtVisitor
- Direct Known Subclasses:
CloneBuilder
,EqualsChecker
,HashcodeVisitor
,ParentExiter
This class provides an abstract implementation of the visitor that allows its
subclasses to scan the metamodel elements by recursively using their
(abstract) supertype scanning methods. It declares a scan method for each
abstract element of the AST and a visit method for each element of the AST.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
scan(Collection<? extends CtElement> elements)
Generically scans a collection of meta-model elements.void
Generically scans a meta-model element.<T> void
Scans an abstract invocation.<S> void
Scans an abstract switch (either switch statement or switch expression).void
scanCtActualTypeContainer(CtActualTypeContainer reference)
Scans an actual type container..<T, E extends CtExpression<?>>
voidscanCtArrayAccess(CtArrayAccess<T,E> arrayAccess)
Scans an array access (read and write).void
scanCtBodyHolder(CtBodyHolder ctBodyHolder)
Scans a body holdervoid
scanCtCFlowBreak(CtCFlowBreak flowBreak)
Scans an abstract control flow break.void
Scans an abstract code element.void
scanCtCodeSnippet(CtCodeSnippet snippet)
void
Scans an abstract element.<R> void
scanCtExecutable(CtExecutable<R> e)
Scans an abstract executable.<T> void
scanCtExpression(CtExpression<T> expression)
Scans an abstract expression.<T> void
scanCtFieldAccess(CtFieldAccess<T> fieldAccess)
Scans a field access (read and write).void
Scans a formal type declarer.void
scanCtLabelledFlowBreak(CtLabelledFlowBreak labelledFlowBreak)
Scans a labelled control flow break.void
scanCtLoop(CtLoop loop)
Scans an abstract loop.void
Scans an abstract modifiable element.void
void
void
Scans an abstract named element.void
scanCtPattern(CtPattern pattern)
Scans a patternvoid
scanCtReference(CtReference reference)
Scans an abstract reference.void
scanCtResource(CtResource<?> resource)
Scans an abstract resource in try-with-resource statement.<T> void
scanCtRHSReceiver(CtRHSReceiver<T> ctRHSReceiver)
Scans the right-hand side of an assignmentvoid
scanCtSealable(CtSealable sealable)
Scans a sealable typevoid
scanCtShadowable(CtShadowable ctShadowable)
Scans a shadowable elementvoid
Scans an abstract statement.<T, E extends CtExpression<?>>
voidscanCtTargetedExpression(CtTargetedExpression<T,E> targetedExpression)
Scans an abstract targeted expression.<T> void
scanCtType(CtType<T> type)
Scans an abstract type.<T> void
scanCtTypedElement(CtTypedElement<T> e)
Scans an abstract typed element.<T> void
scanCtTypeInformation(CtTypeInformation typeInfo)
Scans an abstract variable reference.void
<T> void
scanCtVariable(CtVariable<T> v)
Scans an abstract variable declaration.<T> void
scanCtVariableAccess(CtVariableAccess<T> variableAccess)
Scans a variable access (read and write).<T> void
scanCtVariableReference(CtVariableReference<T> reference)
Scans an abstract variable reference.void
<A extends Annotation>
voidvisitCtAnnotation(CtAnnotation<A> e)
Visits an annotation.<T> void
Visits a field of an annotation.<T> void
visitCtAnnotationMethod(CtAnnotationMethod<T> annotationMethod)
Visits an annotation method declaration.<A extends Annotation>
voidVisits an annotation type declaration.void
Visits an anonymous executable.<T> void
visitCtArrayRead(CtArrayRead<T> arrayRead)
Visits an array read access.<T> void
Visits a reference to an array type.<T> void
visitCtArrayWrite(CtArrayWrite<T> arrayWrite)
Visits an array write access.<T> void
visitCtAssert(CtAssert<T> e)
Visits an assert.<T, A extends T>
voidvisitCtAssignment(CtAssignment<T,A> e)
Visits an assignment.<T> void
Visits a binary operator.<R> void
visitCtBlock(CtBlock<R> e)
Visits a block of code.void
visitCtBreak(CtBreak e)
Visits abreak
statement.<E> void
visitCtCase(CtCase<E> e)
Visits acase
clause.void
visitCtCatch(CtCatch e)
Visits acatch
clause.<T> void
Visits a catch variable declaration.<T> void
Visits a reference to a catch variable.<T> void
visitCtClass(CtClass<T> e)
Visits a class declaration.<T> void
Visits a code snippet expression.void
Visits a code snippet statement.void
Visits a commentvoid
visitCtCompilationUnit(CtCompilationUnit compilationUnit)
Visits a compilation unit<T> void
visitCtConditional(CtConditional<T> e)
Visits a conditional expression<T> void
visitCtConstructor(CtConstructor<T> e)
Visits a constructor declaration.<T> void
Visits a call to a constructor.void
Visits acontinue
statement.void
Visits ado
loop.<T extends Enum<?>>
voidvisitCtEnum(CtEnum<T> e)
Visits an enumeration declaration.<T> void
visitCtEnumValue(CtEnumValue<T> enumValue)
Visits an enum value declaration.<T> void
Visits a reference to an executable.<T, E extends CtExpression<?>>
voidVisits a reference to an executable.<T> void
visitCtField(CtField<T> e)
Visits a field declaration.<T> void
visitCtFieldRead(CtFieldRead<T> fieldRead)
Visits a field read access.<T> void
Visits a reference to a field.<T> void
visitCtFieldWrite(CtFieldWrite<T> fieldWrite)
Visits a field write access.void
visitCtFor(CtFor e)
Visits afor
loop.void
Visits an enhancedfor
loop.void
Visits anif
statement.void
visitCtImport(CtImport ctImport)
Visits an import declaration<T> void
visitCtInterface(CtInterface<T> e)
Visits an interface declaration.<T> void
Visits an intersection type.<T> void
visitCtInvocation(CtInvocation<T> e)
Visits an executable invocation.void
Visits a javadoc commentvoid
Visits a javadoc tag<T> void
visitCtLambda(CtLambda<T> e)
Visits an anonymous method construction.<T> void
visitCtLiteral(CtLiteral<T> e)
Visits a literal expression.<T> void
Visits a local variable declaration.<T> void
Visits a reference to a local variable.<T> void
visitCtMethod(CtMethod<T> e)
Visits a method declaration.void
visitCtModule(CtModule module)
Visits a module declarationvoid
visitCtModuleReference(CtModuleReference moduleReference)
Visits a module referencevoid
visitCtModuleRequirement(CtModuleRequirement moduleRequirement)
Visits a "require" directive in a module declaration.<T> void
visitCtNewArray(CtNewArray<T> e)
Visits an array construction.<T> void
visitCtNewClass(CtNewClass<T> e)
Visits an anonymous class construction.<T, A extends T>
voidvisitCtOperatorAssignement(CtOperatorAssignment<T,A> assignment)
<T, A extends T>
voidVisits an operator assignment.void
Visits a package declaration.void
visitCtPackageDeclaration(CtPackageDeclaration packageDeclaration)
Visits a package declarationvoid
visitCtPackageExport(CtPackageExport moduleExport)
Visits a package export in a module declaration.void
Visits a reference to a package.<T> void
visitCtParameter(CtParameter<T> e)
Visits a parameter declaration.<T> void
Visits a reference to a parameter.void
visitCtProvidedService(CtProvidedService moduleProvidedService)
Visits a "provides" directive in a module declaration.void
visitCtRecord(CtRecord recordType)
Visits a record.void
visitCtRecordComponent(CtRecordComponent recordComponent)
Visits a record component.<R> void
visitCtReturn(CtReturn<R> e)
Visits areturn
statement.<R> void
Visits a statement list.<T> void
visitCtSuperAccess(CtSuperAccess<T> f)
Visits an access to a super invocation.<E> void
visitCtSwitch(CtSwitch<E> e)
Visits aswitch
statement.<T, S> void
visitCtSwitchExpression(CtSwitchExpression<T,S> e)
Visits aswitch
expression.void
Visits asynchronized
modifier.void
Visits a literal TextBlock string.<T> void
visitCtThisAccess(CtThisAccess<T> e)
Visits a this access.void
visitCtThrow(CtThrow e)
Visits athrow
statement.void
visitCtTry(CtTry e)
Visits atry
statement.void
Visits atry
with resource statement.<T> void
visitCtTypeAccess(CtTypeAccess<T> e)
Visits a type access.void
visitCtTypeMemberWildcardImportReference(CtTypeMemberWildcardImportReference wildcardReference)
Visits an import wildcard static type member referencevoid
visitCtTypeParameter(CtTypeParameter typeParameter)
Visits a type parameter declaration.void
Visits a reference to a type parameter.void
visitCtTypePattern(CtTypePattern pattern)
Visits a pattern.<T> void
Visits a reference to a type.<T> void
Visits a unary operator.<T> void
visitCtUnboundVariableReference(CtUnboundVariableReference<T> reference)
Visits a reference to an unbound fieldvoid
visitCtUsedService(CtUsedService usedService)
Visits a "uses" directive in a module declaration.<T> void
Visits a variable read access.<T> void
Visits a variable write access.void
visitCtWhile(CtWhile e)
Visits awhile
loop.void
visitCtWildcardReference(CtWildcardReference wildcardReference)
Visits a reference to a wildcard.void
Visits a yield statement.
-
Constructor Details
-
CtInheritanceScanner
public CtInheritanceScanner()Default constructor.
-
-
Method Details
-
visitCtCodeSnippetExpression
Description copied from interface:CtVisitor
Visits a code snippet expression.- Specified by:
visitCtCodeSnippetExpression
in interfaceCtVisitor
-
visitCtCodeSnippetStatement
Description copied from interface:CtVisitor
Visits a code snippet statement.- Specified by:
visitCtCodeSnippetStatement
in interfaceCtVisitor
-
scan
Generically scans a collection of meta-model elements. -
scan
Generically scans a meta-model element. -
scanCtAbstractInvocation
Scans an abstract invocation. -
scanCtAbstractSwitch
Scans an abstract switch (either switch statement or switch expression). -
scanCtCFlowBreak
Scans an abstract control flow break. -
scanCtLabelledFlowBreak
Scans a labelled control flow break. -
scanCtCodeElement
Scans an abstract code element. -
scanCtTypeMember
-
scanCtModuleDirective
-
scanCtElement
Scans an abstract element. -
scanCtExecutable
Scans an abstract executable. -
scanCtExpression
Scans an abstract expression. -
scanCtFormalTypeDeclarer
Scans a formal type declarer. -
scanCtVisitable
-
scanCtActualTypeContainer
Scans an actual type container.. -
scanCtLoop
Scans an abstract loop. -
scanCtModifiable
Scans an abstract modifiable element. -
scanCtNamedElement
Scans an abstract named element. -
scanCtReference
Scans an abstract reference. -
scanCtResource
Scans an abstract resource in try-with-resource statement.- Parameters:
resource
- The resource
-
scanCtStatement
Scans an abstract statement. -
scanCtTargetedExpression
public <T, E extends CtExpression<?>> void scanCtTargetedExpression(CtTargetedExpression<T,E> targetedExpression)Scans an abstract targeted expression. -
scanCtType
Scans an abstract type. -
scanCtTypedElement
Scans an abstract typed element. -
scanCtVariable
Scans an abstract variable declaration. -
scanCtArrayAccess
Scans an array access (read and write). -
scanCtFieldAccess
Scans a field access (read and write). -
scanCtVariableAccess
Scans a variable access (read and write). -
scanCtRHSReceiver
Scans the right-hand side of an assignment -
scanCtShadowable
Scans a shadowable element -
scanCtBodyHolder
Scans a body holder -
scanCtPattern
Scans a pattern- Parameters:
pattern
- the pattern to scan
-
scanCtSealable
Scans a sealable type- Parameters:
sealable
- the sealable type to scan
-
visitCtFieldRead
Description copied from interface:CtVisitor
Visits a field read access.- Specified by:
visitCtFieldRead
in interfaceCtVisitor
-
visitCtFieldWrite
Description copied from interface:CtVisitor
Visits a field write access.- Specified by:
visitCtFieldWrite
in interfaceCtVisitor
-
visitCtSuperAccess
Description copied from interface:CtVisitor
Visits an access to a super invocation.- Specified by:
visitCtSuperAccess
in interfaceCtVisitor
-
scanCtMultiTypedElement
-
visitCtOperatorAssignment
Description copied from interface:CtVisitor
Visits an operator assignment.- Specified by:
visitCtOperatorAssignment
in interfaceCtVisitor
-
scanCtVariableReference
Scans an abstract variable reference. -
scanCtTypeInformation
Scans an abstract variable reference. -
visitCtAnnotation
Description copied from interface:CtVisitor
Visits an annotation.- Specified by:
visitCtAnnotation
in interfaceCtVisitor
-
visitCtAnnotationType
Description copied from interface:CtVisitor
Visits an annotation type declaration.- Specified by:
visitCtAnnotationType
in interfaceCtVisitor
-
visitCtAnonymousExecutable
Description copied from interface:CtVisitor
Visits an anonymous executable.- Specified by:
visitCtAnonymousExecutable
in interfaceCtVisitor
-
visitCtArrayRead
Description copied from interface:CtVisitor
Visits an array read access.- Specified by:
visitCtArrayRead
in interfaceCtVisitor
-
visitCtArrayWrite
Description copied from interface:CtVisitor
Visits an array write access.- Specified by:
visitCtArrayWrite
in interfaceCtVisitor
-
visitCtArrayTypeReference
Description copied from interface:CtVisitor
Visits a reference to an array type.- Specified by:
visitCtArrayTypeReference
in interfaceCtVisitor
-
visitCtAssert
Description copied from interface:CtVisitor
Visits an assert.- Specified by:
visitCtAssert
in interfaceCtVisitor
-
visitCtAssignment
Description copied from interface:CtVisitor
Visits an assignment.- Specified by:
visitCtAssignment
in interfaceCtVisitor
-
visitCtBinaryOperator
Description copied from interface:CtVisitor
Visits a binary operator.- Specified by:
visitCtBinaryOperator
in interfaceCtVisitor
-
visitCtBlock
Description copied from interface:CtVisitor
Visits a block of code.- Specified by:
visitCtBlock
in interfaceCtVisitor
-
visitCtBreak
Description copied from interface:CtVisitor
Visits abreak
statement.- Specified by:
visitCtBreak
in interfaceCtVisitor
-
visitCtCase
Description copied from interface:CtVisitor
Visits acase
clause.- Specified by:
visitCtCase
in interfaceCtVisitor
-
visitCtCatch
Description copied from interface:CtVisitor
Visits acatch
clause.- Specified by:
visitCtCatch
in interfaceCtVisitor
-
visitCtClass
Description copied from interface:CtVisitor
Visits a class declaration.- Specified by:
visitCtClass
in interfaceCtVisitor
-
visitCtTypeParameter
Description copied from interface:CtVisitor
Visits a type parameter declaration.- Specified by:
visitCtTypeParameter
in interfaceCtVisitor
-
visitCtConditional
Description copied from interface:CtVisitor
Visits a conditional expression- Specified by:
visitCtConditional
in interfaceCtVisitor
-
visitCtConstructor
Description copied from interface:CtVisitor
Visits a constructor declaration.- Specified by:
visitCtConstructor
in interfaceCtVisitor
-
visitCtContinue
Description copied from interface:CtVisitor
Visits acontinue
statement.- Specified by:
visitCtContinue
in interfaceCtVisitor
-
visitCtDo
Description copied from interface:CtVisitor
Visits ado
loop. -
visitCtEnum
Description copied from interface:CtVisitor
Visits an enumeration declaration.- Specified by:
visitCtEnum
in interfaceCtVisitor
-
visitCtExecutableReference
Description copied from interface:CtVisitor
Visits a reference to an executable.- Specified by:
visitCtExecutableReference
in interfaceCtVisitor
-
visitCtField
Description copied from interface:CtVisitor
Visits a field declaration.- Specified by:
visitCtField
in interfaceCtVisitor
-
visitCtEnumValue
Description copied from interface:CtVisitor
Visits an enum value declaration.- Specified by:
visitCtEnumValue
in interfaceCtVisitor
-
visitCtThisAccess
Description copied from interface:CtVisitor
Visits a this access.- Specified by:
visitCtThisAccess
in interfaceCtVisitor
-
visitCtFieldReference
Description copied from interface:CtVisitor
Visits a reference to a field.- Specified by:
visitCtFieldReference
in interfaceCtVisitor
-
visitCtFor
Description copied from interface:CtVisitor
Visits afor
loop.- Specified by:
visitCtFor
in interfaceCtVisitor
-
visitCtForEach
Description copied from interface:CtVisitor
Visits an enhancedfor
loop.- Specified by:
visitCtForEach
in interfaceCtVisitor
-
visitCtIf
Description copied from interface:CtVisitor
Visits anif
statement. -
visitCtInterface
Description copied from interface:CtVisitor
Visits an interface declaration.- Specified by:
visitCtInterface
in interfaceCtVisitor
-
visitCtInvocation
Description copied from interface:CtVisitor
Visits an executable invocation.- Specified by:
visitCtInvocation
in interfaceCtVisitor
-
visitCtLiteral
Description copied from interface:CtVisitor
Visits a literal expression.- Specified by:
visitCtLiteral
in interfaceCtVisitor
-
visitCtTextBlock
Description copied from interface:CtVisitor
Visits a literal TextBlock string.- Specified by:
visitCtTextBlock
in interfaceCtVisitor
-
visitCtLocalVariable
Description copied from interface:CtVisitor
Visits a local variable declaration.- Specified by:
visitCtLocalVariable
in interfaceCtVisitor
-
visitCtLocalVariableReference
Description copied from interface:CtVisitor
Visits a reference to a local variable.- Specified by:
visitCtLocalVariableReference
in interfaceCtVisitor
-
visitCtCatchVariable
Description copied from interface:CtVisitor
Visits a catch variable declaration.- Specified by:
visitCtCatchVariable
in interfaceCtVisitor
-
visitCtCatchVariableReference
Description copied from interface:CtVisitor
Visits a reference to a catch variable.- Specified by:
visitCtCatchVariableReference
in interfaceCtVisitor
-
visitCtMethod
Description copied from interface:CtVisitor
Visits a method declaration.- Specified by:
visitCtMethod
in interfaceCtVisitor
-
visitCtAnnotationMethod
Description copied from interface:CtVisitor
Visits an annotation method declaration.- Specified by:
visitCtAnnotationMethod
in interfaceCtVisitor
-
visitCtNewArray
Description copied from interface:CtVisitor
Visits an array construction.- Specified by:
visitCtNewArray
in interfaceCtVisitor
-
visitCtConstructorCall
Description copied from interface:CtVisitor
Visits a call to a constructor.- Specified by:
visitCtConstructorCall
in interfaceCtVisitor
-
visitCtNewClass
Description copied from interface:CtVisitor
Visits an anonymous class construction.- Specified by:
visitCtNewClass
in interfaceCtVisitor
-
visitCtLambda
Description copied from interface:CtVisitor
Visits an anonymous method construction.- Specified by:
visitCtLambda
in interfaceCtVisitor
-
visitCtExecutableReferenceExpression
public <T, E extends CtExpression<?>> void visitCtExecutableReferenceExpression(CtExecutableReferenceExpression<T,E> e)Description copied from interface:CtVisitor
Visits a reference to an executable.- Specified by:
visitCtExecutableReferenceExpression
in interfaceCtVisitor
-
visitCtOperatorAssignement
-
visitCtPackage
Description copied from interface:CtVisitor
Visits a package declaration.- Specified by:
visitCtPackage
in interfaceCtVisitor
-
visitCtPackageReference
Description copied from interface:CtVisitor
Visits a reference to a package.- Specified by:
visitCtPackageReference
in interfaceCtVisitor
-
visitCtParameter
Description copied from interface:CtVisitor
Visits a parameter declaration.- Specified by:
visitCtParameter
in interfaceCtVisitor
-
visitCtParameterReference
Description copied from interface:CtVisitor
Visits a reference to a parameter.- Specified by:
visitCtParameterReference
in interfaceCtVisitor
-
visitCtReturn
Description copied from interface:CtVisitor
Visits areturn
statement.- Specified by:
visitCtReturn
in interfaceCtVisitor
-
visitCtStatementList
Description copied from interface:CtVisitor
Visits a statement list.- Specified by:
visitCtStatementList
in interfaceCtVisitor
-
visitCtSwitch
Description copied from interface:CtVisitor
Visits aswitch
statement.- Specified by:
visitCtSwitch
in interfaceCtVisitor
-
visitCtSwitchExpression
Description copied from interface:CtVisitor
Visits aswitch
expression.- Specified by:
visitCtSwitchExpression
in interfaceCtVisitor
-
visitCtSynchronized
Description copied from interface:CtVisitor
Visits asynchronized
modifier.- Specified by:
visitCtSynchronized
in interfaceCtVisitor
-
visitCtThrow
Description copied from interface:CtVisitor
Visits athrow
statement.- Specified by:
visitCtThrow
in interfaceCtVisitor
-
visitCtTry
Description copied from interface:CtVisitor
Visits atry
statement.- Specified by:
visitCtTry
in interfaceCtVisitor
-
visitCtTryWithResource
Description copied from interface:CtVisitor
Visits atry
with resource statement.- Specified by:
visitCtTryWithResource
in interfaceCtVisitor
-
visitCtTypeParameterReference
Description copied from interface:CtVisitor
Visits a reference to a type parameter.- Specified by:
visitCtTypeParameterReference
in interfaceCtVisitor
-
visitCtWildcardReference
Description copied from interface:CtVisitor
Visits a reference to a wildcard.- Specified by:
visitCtWildcardReference
in interfaceCtVisitor
-
visitCtIntersectionTypeReference
Description copied from interface:CtVisitor
Visits an intersection type.- Specified by:
visitCtIntersectionTypeReference
in interfaceCtVisitor
-
visitCtTypeReference
Description copied from interface:CtVisitor
Visits a reference to a type.- Specified by:
visitCtTypeReference
in interfaceCtVisitor
-
visitCtTypeAccess
Description copied from interface:CtVisitor
Visits a type access.- Specified by:
visitCtTypeAccess
in interfaceCtVisitor
-
visitCtUnaryOperator
Description copied from interface:CtVisitor
Visits a unary operator.- Specified by:
visitCtUnaryOperator
in interfaceCtVisitor
-
visitCtVariableRead
Description copied from interface:CtVisitor
Visits a variable read access.- Specified by:
visitCtVariableRead
in interfaceCtVisitor
-
visitCtVariableWrite
Description copied from interface:CtVisitor
Visits a variable write access.- Specified by:
visitCtVariableWrite
in interfaceCtVisitor
-
visitCtComment
Description copied from interface:CtVisitor
Visits a comment- Specified by:
visitCtComment
in interfaceCtVisitor
-
visitCtJavaDoc
Description copied from interface:CtVisitor
Visits a javadoc comment- Specified by:
visitCtJavaDoc
in interfaceCtVisitor
-
visitCtJavaDocTag
Description copied from interface:CtVisitor
Visits a javadoc tag- Specified by:
visitCtJavaDocTag
in interfaceCtVisitor
-
visitCtAnnotationFieldAccess
Description copied from interface:CtVisitor
Visits a field of an annotation.- Specified by:
visitCtAnnotationFieldAccess
in interfaceCtVisitor
-
visitCtWhile
Description copied from interface:CtVisitor
Visits awhile
loop.- Specified by:
visitCtWhile
in interfaceCtVisitor
-
visitCtUnboundVariableReference
Description copied from interface:CtVisitor
Visits a reference to an unbound field- Specified by:
visitCtUnboundVariableReference
in interfaceCtVisitor
-
scanCtCodeSnippet
-
visitCtImport
Description copied from interface:CtVisitor
Visits an import declaration- Specified by:
visitCtImport
in interfaceCtVisitor
-
visitCtModule
Description copied from interface:CtVisitor
Visits a module declaration- Specified by:
visitCtModule
in interfaceCtVisitor
-
visitCtModuleReference
Description copied from interface:CtVisitor
Visits a module reference- Specified by:
visitCtModuleReference
in interfaceCtVisitor
-
visitCtPackageExport
Description copied from interface:CtVisitor
Visits a package export in a module declaration.- Specified by:
visitCtPackageExport
in interfaceCtVisitor
-
visitCtModuleRequirement
Description copied from interface:CtVisitor
Visits a "require" directive in a module declaration.- Specified by:
visitCtModuleRequirement
in interfaceCtVisitor
-
visitCtProvidedService
Description copied from interface:CtVisitor
Visits a "provides" directive in a module declaration.- Specified by:
visitCtProvidedService
in interfaceCtVisitor
-
visitCtUsedService
Description copied from interface:CtVisitor
Visits a "uses" directive in a module declaration.- Specified by:
visitCtUsedService
in interfaceCtVisitor
-
visitCtCompilationUnit
Description copied from interface:CtVisitor
Visits a compilation unit- Specified by:
visitCtCompilationUnit
in interfaceCtVisitor
-
visitCtPackageDeclaration
Description copied from interface:CtVisitor
Visits a package declaration- Specified by:
visitCtPackageDeclaration
in interfaceCtVisitor
-
visitCtTypeMemberWildcardImportReference
public void visitCtTypeMemberWildcardImportReference(CtTypeMemberWildcardImportReference wildcardReference)Description copied from interface:CtVisitor
Visits an import wildcard static type member reference- Specified by:
visitCtTypeMemberWildcardImportReference
in interfaceCtVisitor
-
visitCtYieldStatement
Description copied from interface:CtVisitor
Visits a yield statement.- Specified by:
visitCtYieldStatement
in interfaceCtVisitor
-
visitCtTypePattern
Description copied from interface:CtVisitor
Visits a pattern.- Specified by:
visitCtTypePattern
in interfaceCtVisitor
- Parameters:
pattern
- the pattern to visit.
-
visitCtRecord
Description copied from interface:CtVisitor
Visits a record.- Specified by:
visitCtRecord
in interfaceCtVisitor
- Parameters:
recordType
- the record to visit.
-
visitCtRecordComponent
Description copied from interface:CtVisitor
Visits a record component.- Specified by:
visitCtRecordComponent
in interfaceCtVisitor
- Parameters:
recordComponent
- the record component to visit.
-