Uses of Interface
spoon.reflect.visitor.CtVisitable
-
Packages that use CtVisitable Package Description spoon.experimental this is unstable code, subject to potential complete redesign, not only in snapshots but also in releases.spoon.reflect This package defines the Spoon's compile-time meta-model of Java programs.spoon.reflect.code This package contains the meta-model part that models the executable code (methods and constructors' bodies, field initializers).spoon.reflect.cu This package defines compilation units that hold the source code and some classes around them (in most cases, these features should be ignored by the programmers).spoon.reflect.cu.position spoon.reflect.declaration This package contains the meta-model part that models the declarations (program's structures such as classes, fields, etc).spoon.reflect.factory This package defines all the sub-factories for the Spoon meta-model.spoon.reflect.reference This package defines the references to program elements for the meta-model.spoon.reflect.visitor This package defines visitor, scanner, and scanner-based query API for Java programs reified in the meta-model.spoon.support.reflect.code spoon.support.reflect.cu spoon.support.reflect.declaration spoon.support.reflect.reference -
-
Uses of CtVisitable in spoon.experimental
Classes in spoon.experimental that implement CtVisitable Modifier and Type Class Description class
CtUnresolvedImport
-
Uses of CtVisitable in spoon.reflect
Classes in spoon.reflect that implement CtVisitable Modifier and Type Class Description static class
CtModelImpl.CtRootPackage
-
Uses of CtVisitable in spoon.reflect.code
Subinterfaces of CtVisitable in spoon.reflect.code Modifier and Type Interface Description interface
CtAbstractInvocation<T>
This code element defines an abstract invocation on aCtExecutable
.interface
CtAbstractSwitch<S>
This code element defines an abstract switch (either switch statement or switch expression).interface
CtAnnotationFieldAccess<T>
This code element defines an access to a annotation parameter variable.interface
CtArrayAccess<T,E extends CtExpression<?>>
This code element defines a one-dimensional array access.interface
CtArrayRead<T>
This code element defines a read access to an array.interface
CtArrayWrite<T>
This code element defines a write access to an array.interface
CtAssert<T>
This code element defines an assert clause.interface
CtAssignment<T,A extends T>
This code element defines an assignment.interface
CtBinaryOperator<T>
This interface defines a binary operator.interface
CtBlock<R>
This code element represents a block of code, that is to say a list of statements enclosed in curly brackets.interface
CtBodyHolder
This abstract code element defines an element, which contains a bodyinterface
CtBreak
This code element defines a break statement.interface
CtCase<S>
This code element defines a case within a switch-case.interface
CtCatch
This code element defines acatch
of atry
.interface
CtCatchVariable<T>
This code element defines an exception variable in a catch.interface
CtCFlowBreak
This abstract code element represents all the statements that break the control flow of the program.interface
CtCodeElement
This interface is the root interface of the code elements.interface
CtCodeSnippetExpression<T>
This element is a code snippet that must represent an expression and can thus be inserted in the program's model as is.interface
CtCodeSnippetStatement
This element is a code snippet that must represent a statement and can thus be inserted in the program's model as is.interface
CtComment
This code element defines a comment Example:int x = 0; // a comment
interface
CtConditional<T>
This code element defines conditional expressions using the ? (ternary expressions).interface
CtConstructorCall<T>
This code element represents a constructor call.interface
CtContinue
This code element defines the continue statement.interface
CtDo
This code element defines ado
loop.interface
CtExecutableReferenceExpression<T,E extends CtExpression<?>>
This abstract code element defines an expression which represents an executable reference.interface
CtExpression<T>
This abstract code element defines a typed expression.interface
CtFieldAccess<T>
This code element defines an access to a field variable (read and write)interface
CtFieldRead<T>
This code element defines a read access to a field.interface
CtFieldWrite<T>
This code element defines a write access to a field.interface
CtFor
This code element defines a for loop.interface
CtForEach
This code element defines a foreach statement.interface
CtIf
This code element represents anif
statement.interface
CtInvocation<T>
This code element defines a concrete invocation.interface
CtJavaDoc
This code element defines a javadoc comment Example:interface
CtJavaDocTag
This code element defines a javadoc tag Example:interface
CtLabelledFlowBreak
This abstract code element represents all the statements that break the control flow of the program and which can support a label.interface
CtLambda<T>
This code element represents the creation of a lambda.interface
CtLiteral<T>
This code element defines a literal value (an int, a string, etc).interface
CtLocalVariable<T>
This code element defines a local variable definition (within an executable body).interface
CtLoop
This abstract code element defines a loop.interface
CtNewArray<T>
This code element defines the inline creation of a new array.interface
CtNewClass<T>
This code element represents the creation of a anonymous class.interface
CtOperatorAssignment<T,A extends T>
This code element defines an self-operated assignment such as += or *=.interface
CtReturn<R>
This code element represents areturn
statement.interface
CtStatement
This abstract code element represents all the statements, which can be part of a block.interface
CtStatementList
This code element represents a list of statements.interface
CtSuperAccess<T>
This code element defines an access to super.interface
CtSwitch<S>
This code element defines a switch statement.interface
CtSwitchExpression<T,S>
This code element defines a switch expression.interface
CtSynchronized
This code element defines asynchronized
statement.interface
CtTargetedExpression<T,E extends CtExpression<?>>
This abstract code element defines an expression which contains a target expression.interface
CtTextBlock
This code element defines a Text Block String Literal.interface
CtThisAccess<T>
This code element defines an access to this.interface
CtThrow
This code element defines athrow
statement.interface
CtTry
This code element defines atry
statement.interface
CtTryWithResource
This code element defines atry
with resource statement.interface
CtTypeAccess<A>
This code element represents a type reference usable as an expression.interface
CtUnaryOperator<T>
This code element represents a unary operator.interface
CtVariableAccess<T>
This code element defines an access to a variable (read and write).interface
CtVariableRead<T>
This code element defines an read access to a variable.interface
CtVariableWrite<T>
This code element defines a write to a variable.interface
CtWhile
This code element defines awhile
loop.interface
CtYieldStatement
This code element defines ayield
statement. -
Uses of CtVisitable in spoon.reflect.cu
Subinterfaces of CtVisitable in spoon.reflect.cu Modifier and Type Interface Description interface
CompilationUnit
Deprecated. -
Uses of CtVisitable in spoon.reflect.cu.position
Classes in spoon.reflect.cu.position that implement CtVisitable Modifier and Type Class Description static class
NoSourcePosition.NullCompilationUnit
-
Uses of CtVisitable in spoon.reflect.declaration
Subinterfaces of CtVisitable in spoon.reflect.declaration Modifier and Type Interface Description interface
CtAnnotation<A extends Annotation>
This element represents an annotation on an element.interface
CtAnnotationMethod<T>
This element defines an annotation method declared in an annotation type.interface
CtAnnotationType<T extends Annotation>
This element defines an annotation type.interface
CtAnonymousExecutable
This element defines an anonymous executable block declaration in a class.interface
CtClass<T>
This element represents a class declaration.interface
CtCompilationUnit
Defines a compilation unit.interface
CtConstructor<T>
This element defines a constructor declaration.interface
CtElement
This interface is the root interface for the metamodel elements (any program element).interface
CtEnum<T extends Enum<?>>
This element represents an enumeration declaration.interface
CtEnumValue<T>
Corresponds to one enum value specified in an enumeration.interface
CtExecutable<R>
This element represents an executable element such as a method, a constructor, or an anonymous block.interface
CtField<T>
This element defines a field declaration.interface
CtFormalTypeDeclarer
This abstract element defines a declaration that accepts formal type parameters (aka generics), such as a CtType (class A<E>
), CtMethod or CtConstructor.interface
CtImport
This element represents an import declaration.interface
CtInterface<T>
This element defines an interface declaration.interface
CtMethod<T>
This element defines a method declaration.interface
CtModifiable
This interface defines an element that accepts modifiers.interface
CtModule
Represents a Java module as defined in Java 9.interface
CtModuleDirective
Represents a directive of aCtModule
The directives of a module declaration specify the module's dependences on other modulesCtModuleRequirement
, the packages it makes available to other modulesCtPackageExport
, the services it consumesCtUsedService
, and the services it providesCtProvidedService
.interface
CtModuleRequirement
Represents a require module in a Java module definition The requires directive specifies the name of a module on which the current module has a dependence.interface
CtMultiTypedElement
Defined an element with several types.interface
CtNamedElement
Declares an element that has a name (a class, a method, a variable, etc).interface
CtPackage
This element defines a package declaration.interface
CtPackageDeclaration
This element represents an package declaration.interface
CtPackageExport
Represents an exported or opened package in a Java module The exports directive specifies the name of a package to be exported by the current module.interface
CtParameter<T>
This element defines an executable parameter declaration.interface
CtProvidedService
Represents a provided service in aCtModule
.interface
CtType<T>
This abstract element defines a super-type for classes and interfaces, which can declare methods.interface
CtTypedElement<T>
This abstract element defines a typed element.interface
CtTypeMember
This interface represents a member of a class (field, method, nested class or static/instance initializer).interface
CtTypeParameter
This element defines a declaration of a type parameter (aka generics).interface
CtUsedService
Represents the declaration of a used service in aCtModule
The uses directive specifies a service for which the current module may discover providers via java.util.ServiceLoader.interface
CtVariable<T>
This abstract element defines a variable declaration. -
Uses of CtVisitable in spoon.reflect.factory
Classes in spoon.reflect.factory that implement CtVisitable Modifier and Type Class Description static class
ModuleFactory.CtUnnamedModule
-
Uses of CtVisitable in spoon.reflect.reference
Subinterfaces of CtVisitable in spoon.reflect.reference Modifier and Type Interface Description interface
CtArrayTypeReference<T>
This interface defines a reference to an array.interface
CtCatchVariableReference<T>
This interface defines a reference toCtCatchVariable
.interface
CtExecutableReference<T>
This interface defines a reference to aCtExecutable
.interface
CtFieldReference<T>
This interface defines a reference to aCtField
.interface
CtIntersectionTypeReference<T>
This interface defines a reference to an intersection type in generics or in casts.interface
CtLocalVariableReference<T>
This interface defines a reference toCtLocalVariable
.interface
CtModuleReference
Represents a reference to aCtModule
interface
CtPackageReference
This interface defines a reference to aCtPackage
.interface
CtParameterReference<T>
This interface defines a reference to aCtParameter
of a method.interface
CtReference
This is the root interface for named program element references.interface
CtTypeMemberWildcardImportReference
This interface defines a import reference to all static type members of a type.
Example:somePackage.Type.*;
interface
CtTypeParameterReference
This interface defines a reference to a type parameter (aka generics).interface
CtTypeReference<T>
This interface defines a reference to aCtType
or sub-type.interface
CtUnboundVariableReference<T>
This interface defines a reference to an unboundCtVariable
.interface
CtVariableReference<T>
This interface defines a reference to aCtVariable
or sub-type.interface
CtWildcardReference
Represents a wildcard in generic type annotations, i.e. -
Uses of CtVisitable in spoon.reflect.visitor
Methods in spoon.reflect.visitor with parameters of type CtVisitable Modifier and Type Method Description void
CtInheritanceScanner. scanCtVisitable(CtVisitable e)
-
Uses of CtVisitable in spoon.support.reflect.code
-
Uses of CtVisitable in spoon.support.reflect.cu
Classes in spoon.support.reflect.cu that implement CtVisitable Modifier and Type Class Description class
CompilationUnitImpl
Implements a compilation unit. -
Uses of CtVisitable in spoon.support.reflect.declaration
Classes in spoon.support.reflect.declaration that implement CtVisitable Modifier and Type Class Description class
CtAnnotationImpl<A extends Annotation>
The implementation forCtAnnotation
.class
CtAnnotationMethodImpl<T>
The implementation forCtAnnotationMethod
.class
CtAnnotationTypeImpl<T extends Annotation>
The implementation forCtAnnotationType
.class
CtAnonymousExecutableImpl
class
CtClassImpl<T>
The implementation forCtClass
.class
CtCompilationUnitImpl
Implements a compilation unit.class
CtConstructorImpl<T>
class
CtElementImpl
Contains the default implementation of most CtElement methods.class
CtEnumImpl<T extends Enum<?>>
class
CtEnumValueImpl<T>
class
CtExecutableImpl<R>
The implementation forCtExecutable
.class
CtFieldImpl<T>
The implementation forCtField
.class
CtImportImpl
class
CtInterfaceImpl<T>
class
CtMethodImpl<T>
The implementation forCtMethod
.class
CtModuleImpl
class
CtModuleRequirementImpl
class
CtNamedElementImpl
class
CtPackageDeclarationImpl
class
CtPackageExportImpl
class
CtPackageImpl
The implementation forCtPackage
.class
CtParameterImpl<T>
The implementation forCtParameter
.class
CtProvidedServiceImpl
class
CtTypeImpl<T>
The implementation forCtType
.class
CtTypeParameterImpl
class
CtUsedServiceImpl
class
InvisibleArrayConstructorImpl<T>
This class is used to represent the constructor of an array when calling with an expression like -
Uses of CtVisitable in spoon.support.reflect.reference
Classes in spoon.support.reflect.reference that implement CtVisitable Modifier and Type Class Description class
CtArrayTypeReferenceImpl<T>
class
CtCatchVariableReferenceImpl<T>
class
CtExecutableReferenceImpl<T>
class
CtFieldReferenceImpl<T>
class
CtIntersectionTypeReferenceImpl<T>
class
CtLocalVariableReferenceImpl<T>
An implementation forCtLocalVariableReference
.class
CtModuleReferenceImpl
class
CtPackageReferenceImpl
class
CtParameterReferenceImpl<T>
class
CtReferenceImpl
class
CtTypeMemberWildcardImportReferenceImpl
This class intends to be used only to represent the reference of a static import of all members of a type: import static org.junit.Assert.*;class
CtTypeParameterReferenceImpl
class
CtTypeReferenceImpl<T>
class
CtUnboundVariableReferenceImpl<T>
represents a reference to an unbound field (used when no full classpath is availableclass
CtVariableReferenceImpl<T>
class
CtWildcardReferenceImpl
-