Uses of Interface
spoon.reflect.declaration.CtTypedElement
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 CtTypedElement 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
CtAssignment<T,A extends T>
This code element defines an assignment.interface
This interface defines a binary operator.interface
This code element defines an exception variable in a catch.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 code element defines conditional expressions using the ? (ternary expressions).interface
This code element represents a constructor call.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
CtInvocation<T>
This code element defines a concrete invocation.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
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
CtResource<T>
This code element defines a resource used in the try-with-resource statement.interface
This code element defines an access to super.interface
CtSwitchExpression<T,S>
This code element defines a switch expression.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
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.Modifier and TypeMethodDescription<C extends CtTypedElement>
CCtCatchVariable.setType(CtTypeReference type)
<C extends CtTypedElement>
CCtTypeAccess.setType(CtTypeReference type)
-
Uses of CtTypedElement 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
This element defines an anonymous executable block declaration in a class.interface
This element defines a constructor 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
CtMethod<T>
This element defines a method declaration.interface
CtParameter<T>
This element defines an executable parameter declaration.interface
This element represents a record component.interface
CtVariable<T>
This abstract element defines a variable declaration.Modifier and TypeMethodDescription<C extends CtTypedElement>
CCtAnonymousExecutable.setType(CtTypeReference type)
<C extends CtTypedElement>
CCtConstructor.setType(CtTypeReference type)
<C extends CtTypedElement>
CCtTypedElement.setType(CtTypeReference type)
Sets this element's type. -
Uses of CtTypedElement in spoon.reflect.visitor
Modifier and TypeMethodDescription<T> void
CtInheritanceScanner.scanCtTypedElement(CtTypedElement<T> e)
Scans an abstract typed element. -
Uses of CtTypedElement in spoon.support.reflect.code
Modifier and TypeClassDescriptionclass
class
CtArrayAccessImpl<T,V extends CtExpression<?>>
class
class
class
CtAssignmentImpl<T,A extends T>
class
class
class
class
class
class
CtExecutableReferenceExpressionImpl<T,E extends CtExpression<?>>
class
class
class
class
class
class
CtLambdaImpl<T>
class
class
class
class
class
CtOperatorAssignmentImpl<T,A extends T>
class
class
CtSwitchExpressionImpl<T,S>
class
CtTargetedExpressionImpl<E,T extends CtExpression<?>>
class
class
class
class
class
class
class
class
Modifier and TypeMethodDescription<C extends CtTypedElement>
CCtAssignmentImpl.setType(CtTypeReference type)
<C extends CtTypedElement>
CCtCatchVariableImpl.setType(CtTypeReference type)
<C extends CtTypedElement>
CCtConstructorCallImpl.setType(CtTypeReference type)
<C extends CtTypedElement>
CCtExpressionImpl.setType(CtTypeReference type)
<C extends CtTypedElement>
CCtInvocationImpl.setType(CtTypeReference type)
<C extends CtTypedElement>
CCtLambdaImpl.setType(CtTypeReference type)
<C extends CtTypedElement>
CCtLocalVariableImpl.setType(CtTypeReference type)
<C extends CtTypedElement>
CCtTypeAccessImpl.setType(CtTypeReference type)
<C extends CtTypedElement>
CCtVariableAccessImpl.setType(CtTypeReference type)
-
Uses of CtTypedElement in spoon.support.reflect.declaration
Modifier and TypeClassDescriptionclass
CtAnnotationImpl<A extends Annotation>
The implementation forCtAnnotation
.class
The implementation forCtAnnotationMethod
.class
class
class
class
The implementation forCtExecutable
.class
CtFieldImpl<T>
The implementation forCtField
.class
CtMethodImpl<T>
The implementation forCtMethod
.class
The implementation forCtParameter
.class
class
This class is used to represent the constructor of an array when calling with an expression likeModifier and TypeMethodDescription<C extends CtTypedElement>
CCtAnonymousExecutableImpl.setType(CtTypeReference type)
<C extends CtTypedElement>
CCtConstructorImpl.setType(CtTypeReference type)
<C extends CtTypedElement>
CCtFieldImpl.setType(CtTypeReference type)
<C extends CtTypedElement>
CCtMethodImpl.setType(CtTypeReference type)
<C extends CtTypedElement>
CCtParameterImpl.setType(CtTypeReference type)
<C extends CtTypedElement>
CCtRecordComponentImpl.setType(CtTypeReference type)
<C extends CtTypedElement>
CInvisibleArrayConstructorImpl.setType(CtTypeReference type)