Uses of Interface
spoon.reflect.code.CtCodeElement
Package
Description
This package contains the meta-model part that models the executable code (methods and constructors' bodies, field initializers).
This package contains the meta-model part that models the declarations (program's structures such as classes, fields, etc).
This package defines visitor, scanner, and scanner-based query API for Java programs reified in the meta-model.
-
Uses of CtCodeElement in spoon.reflect.code
Modifier and TypeInterfaceDescriptioninterface
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 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 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 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
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.Modifier and TypeMethodDescription<R extends CtCodeElement>
RCtCodeElement.partiallyEvaluate()
Partially evaluates an element and all its sub-elements. -
Uses of CtCodeElement in spoon.reflect.declaration
Modifier and TypeInterfaceDescriptioninterface
CtAnnotation<A extends Annotation>
This element represents an annotation on an element.interface
CtClass<T>
This element represents a class declaration.interface
This element represents an enumeration declaration.interface
CtInterface<T>
This element defines an interface declaration.interface
This element represents a record declaration. -
Uses of CtCodeElement in spoon.reflect.visitor
Modifier and TypeMethodDescriptionvoid
CtInheritanceScanner.scanCtCodeElement(CtCodeElement e)
Scans an abstract code element. -
Uses of CtCodeElement 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
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
CtYieldStatementImplModifier and TypeMethodDescription<R extends CtCodeElement>
RCtCodeElementImpl.partiallyEvaluate()
Modifier and TypeMethodDescriptionCtCodeElementImpl.clone()
CtIfImpl.getSubstitution(CtType<?> targetType)
CtLoopImpl.getSubstitution(CtType<?> targetType)
CtReturnImpl.getSubstitution(CtType<?> targetType)
CtThrowImpl.getSubstitution(CtType<?> targetType)
CtTryImpl.getSubstitution(CtType<?> targetType)
-
Uses of CtCodeElement in spoon.support.reflect.declaration
Modifier and TypeClassDescriptionclass
CtAnnotationImpl<A extends Annotation>
The implementation forCtAnnotation
.class
CtClassImpl<T>
The implementation forCtClass
.class
CtEnumImpl<T extends Enum<?>>
class
class
Modifier and TypeMethodDescription<R extends CtCodeElement>
RCtClassImpl.partiallyEvaluate()
<R extends CtCodeElement>
RCtInterfaceImpl.partiallyEvaluate()