Uses of Interface
spoon.reflect.visitor.CtVisitable
Package
Description
this is unstable code, subject to potential complete redesign, not only in snapshots but also in releases.
This package defines the Spoon's compile-time meta-model of Java programs.
This package contains the meta-model part that models the executable code (methods and constructors' bodies, field initializers).
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).
This package contains the meta-model part that models the declarations (program's structures such as classes, fields, etc).
This package defines all the sub-factories for the Spoon meta-model.
This package defines the references to program elements for the meta-model.
This package defines visitor, scanner, and scanner-based query API for Java programs reified in the meta-model.
-
Uses of CtVisitable in spoon.experimental
-
Uses of CtVisitable in spoon.reflect
-
Uses of CtVisitable in spoon.reflect.code
Modifier and TypeInterfaceDescriptioninterface
This code element defines an abstract invocation on aCtExecutable
.interface
This code element defines an abstract switch (either switch statement or switch expression).interface
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
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
This abstract code element defines an element, which contains a bodyinterface
This code element defines a break statement.interface
CtCase<S>
This code element defines a case within a switch-case.interface
This code element defines acatch
of atry
.interface
This code element defines an exception variable in a catch.interface
This abstract code element represents all the statements that break the control flow of the program.interface
This interface is the root interface of the code elements.interface
This element is a code snippet that must represent an expression and can thus be inserted in the program's model as is.interface
This element is a code snippet that must represent a statement and can thus be inserted in the program's model as is.interface
This code element defines a comment Example:int x = 0; // a comment
interface
This code element defines conditional expressions using the ? (ternary expressions).interface
This code element represents a constructor call.interface
This code element defines the continue statement.interface
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
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
This code element defines a for loop.interface
This code element defines a foreach statement.interface
This code element represents anif
statement.interface
CtInvocation<T>
This code element defines a concrete invocation.interface
This code element defines a javadoc comment Example:interface
This code element defines a javadoc tag Example:interface
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
This code element defines a local variable definition (within an executable body).interface
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
This interface represents a common super type for different patterns implemented in the Java language.interface
CtResource<T>
This code element defines a resource used in the try-with-resource statement.interface
CtReturn<R>
This code element represents areturn
statement.interface
This abstract code element represents all the statements, which can be part of a block.interface
This code element represents a list of statements.interface
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
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
This code element defines a Text Block String Literal.interface
CtThisAccess<T>
This code element defines an access to this.interface
This code element defines athrow
statement.interface
This code element defines atry
statement.interface
This code element defines atry
with resource statement.interface
CtTypeAccess<A>
This code element represents a type reference usable as an expression.interface
This code element defines a type pattern, introduced in Java 16 by JEP 394.interface
This code element represents a unary operator.interface
This code element defines an access to a variable (read and write).interface
This code element defines an read access to a variable.interface
This code element defines a write to a variable.interface
This code element defines awhile
loop.interface
This code element defines ayield
statement. -
Uses of CtVisitable in spoon.reflect.cu
-
Uses of CtVisitable in spoon.reflect.cu.position
-
Uses of CtVisitable in spoon.reflect.declaration
Modifier and TypeInterfaceDescriptioninterface
CtAnnotation<A extends Annotation>
This element represents an annotation on an element.interface
This element defines an annotation method declared in an annotation type.interface
CtAnnotationType<T extends Annotation>
This element defines an annotation type.interface
This element defines an anonymous executable block declaration in a class.interface
CtClass<T>
This element represents a class declaration.interface
Defines a compilation unit.interface
This element defines a constructor declaration.interface
This interface is the root interface for the metamodel elements (any program element).interface
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
This abstract element defines a declaration that accepts formal type parameters (aka generics), such as a CtType (class A<E>
), CtMethod or CtConstructor.interface
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
This interface defines an element that accepts modifiers.interface
Represents a Java module as defined in Java 9.interface
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
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
Defined an element with several types.interface
Declares an element that has a name (a class, a method, a variable, etc).interface
This element defines a package declaration.interface
This element represents an package declaration.interface
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
Represents a provided service in aCtModule
.interface
This element represents a record declaration.interface
This element represents a record component.interface
CtType<T>
This abstract element defines a super-type for classes and interfaces, which can declare methods.interface
This abstract element defines a typed element.interface
This interface represents a member of a class (field, method, nested class or static/instance initializer).interface
This element defines a declaration of a type parameter (aka generics).interface
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
-
Uses of CtVisitable in spoon.reflect.reference
Modifier and TypeInterfaceDescriptioninterface
This interface defines a reference to an array.interface
This interface defines a reference toCtCatchVariable
.interface
This interface defines a reference to aCtExecutable
.interface
This interface defines a reference to aCtField
.interface
This interface defines a reference to an intersection type in generics or in casts.interface
This interface defines a reference toCtLocalVariable
.interface
Represents a reference to aCtModule
interface
This interface defines a reference to aCtPackage
.interface
This interface defines a reference to aCtParameter
of a method.interface
This is the root interface for named program element references, such as fields, types, variables, and so on.interface
This interface defines a import reference to all static type members of a type.
Example:somePackage.Type.*;
interface
This interface defines a reference to a type parameter (aka generics).interface
This interface defines a reference to aCtType
or sub-type.interface
This interface defines a reference to an unboundCtVariable
.interface
This interface defines a reference to aCtVariable
or sub-type.interface
Represents a wildcard in generic type annotations, i.e. -
Uses of CtVisitable in spoon.reflect.visitor
-
Uses of CtVisitable in spoon.support.reflect.code
Modifier and TypeClassDescriptionclass
class
CtArrayAccessImpl<T,V extends CtExpression<?>>
class
class
class
CtAssertImpl<T>
class
CtAssignmentImpl<T,A extends T>
class
class
CtBlockImpl<R>
class
class
CtCaseImpl<E>
class
class
class
class
class
class
class
class
class
class
class
CtExecutableReferenceExpressionImpl<T,E extends CtExpression<?>>
class
class
class
class
class
class
class
class
class
class
class
CtLambdaImpl<T>
class
class
class
class
class
class
CtOperatorAssignmentImpl<T,A extends T>
class
CtReturnImpl<R>
class
class
class
class
CtSwitchExpressionImpl<T,S>
class
CtSwitchImpl<S>
class
class
CtTargetedExpressionImpl<E,T extends CtExpression<?>>
class
class
class
class
class
class
class
class
class
class
class
class
class
CtYieldStatementImpl -
Uses of CtVisitable in spoon.support.reflect.cu
-
Uses of CtVisitable in spoon.support.reflect.declaration
Modifier and TypeClassDescriptionclass
CtAnnotationImpl<A extends Annotation>
The implementation forCtAnnotation
.class
The implementation forCtAnnotationMethod
.class
CtAnnotationTypeImpl<T extends Annotation>
The implementation forCtAnnotationType
.class
class
CtClassImpl<T>
The implementation forCtClass
.class
Implements a compilation unit.class
class
Contains the default implementation of most CtElement methods.class
CtEnumImpl<T extends Enum<?>>
class
class
The implementation forCtExecutable
.class
CtFieldImpl<T>
The implementation forCtField
.class
class
class
CtMethodImpl<T>
The implementation forCtMethod
.class
class
class
class
class
class
The implementation forCtPackage
.class
The implementation forCtParameter
.class
class
class
class
CtTypeImpl<T>
The implementation forCtType
.class
class
class
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
Modifier and TypeClassDescriptionclass
class
class
class
class
class
An implementation forCtLocalVariableReference
.class
class
class
class
class
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
class
class
represents a reference to an unbound field (used when no full classpath is availableclass
class