Uses of Interface
spoon.reflect.code.CtExpression
Packages that use CtExpression
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 all the sub-factories for the Spoon meta-model.
This package defines visitor, scanner, and scanner-based query API for Java programs reified in the meta-model.
This package contains some default implementations for commonly used processing tasks.
This package defines the substitution and matching engines for Java templates.
This package defines a framework for well-typed pure-Java templates.
- 
Uses of CtExpression in spoon.refactoringMethods in spoon.refactoring with parameters of type CtExpressionModifier and TypeMethodDescriptionprotected booleanCtParameterRemoveRefactoring.canRemoveExpression(CtExpression<?> toBeRemovedExpression)Detects whether `toBeRemovedExpression` can be safely removed during the refactoringprotected voidCtParameterRemoveRefactoring.createExpressionCannotBeRemovedIssue(CtInvocation<?> invocation, CtExpression<?> toBeRemovedExpression)Override this method to get access to details about this refactoring issue.
- 
Uses of CtExpression in spoon.reflect.codeClasses in spoon.reflect.code with type parameters of type CtExpressionModifier and TypeInterfaceDescriptioninterfaceCtArrayAccess<T,E extends CtExpression<?>>This code element defines a one-dimensional array access.interfaceCtExecutableReferenceExpression<T,E extends CtExpression<?>>This abstract code element defines an expression which represents an executable reference.interfaceCtTargetedExpression<T,E extends CtExpression<?>>This abstract code element defines an expression which contains a target expression.Subinterfaces of CtExpression in spoon.reflect.codeModifier and TypeInterfaceDescriptioninterfaceThis code element defines an access to a annotation parameter variable.interfaceCtArrayAccess<T,E extends CtExpression<?>>This code element defines a one-dimensional array access.interfaceCtArrayRead<T>This code element defines a read access to an array.interfaceCtArrayWrite<T>This code element defines a write access to an array.interfaceCtAssignment<T,A extends T>This code element defines an assignment.interfaceThis interface defines a binary operator.interfaceThis element is a code snippet that must represent an expression and can thus be inserted in the program's model as is.interfaceThis code element defines conditional expressions using the ? (ternary expressions).interfaceThis code element represents a constructor call.interfaceCtExecutableReferenceExpression<T,E extends CtExpression<?>>This abstract code element defines an expression which represents an executable reference.interfaceThis code element defines an access to a field variable (read and write)interfaceCtFieldRead<T>This code element defines a read access to a field.interfaceCtFieldWrite<T>This code element defines a write access to a field.interfaceCtInvocation<T>This code element defines a concrete invocation.interfaceCtLambda<T>This code element represents the creation of a lambda.interfaceCtLiteral<T>This code element defines a literal value (an int, a string, etc).interfaceCtNewArray<T>This code element defines the inline creation of a new array.interfaceCtNewClass<T>This code element represents the creation of a anonymous class.interfaceCtOperatorAssignment<T,A extends T>This code element defines an self-operated assignment such as += or *=.interfaceThis code element defines an access to super.interfaceCtSwitchExpression<T,S>This code element defines a switch expression.interfaceCtTargetedExpression<T,E extends CtExpression<?>>This abstract code element defines an expression which contains a target expression.interfaceThis code element defines a Text Block String Literal.interfaceCtThisAccess<T>This code element defines an access to this.interfaceCtTypeAccess<A>This code element represents a type reference usable as an expression.interfaceThis code element defines a type pattern, introduced in Java 16 by JEP 394.interfaceThis code element represents a unary operator.interfaceThis code element defines an access to a variable (read and write).interfaceThis code element defines an read access to a variable.interfaceThis code element defines a write to a variable.Methods in spoon.reflect.code with type parameters of type CtExpressionModifier and TypeMethodDescription<C extends CtExpression<T>>
 CCtExpression.addTypeCast(CtTypeReference<?> type)Adds a type cast.<C extends CtExpression<Void>>
 CCtTypePattern.addTypeCast(CtTypeReference<?> type)<E extends CtExpression<T>>
 ECtCodeSnippetExpression.compile()Compiles this expression snippet to produce the corresponding AST expression.<C extends CtExpression<T>>
 CCtExpression.setTypeCasts(List<CtTypeReference<?>> types)Sets the type casts.<C extends CtExpression<Void>>
 CCtTypePattern.setTypeCasts(List<CtTypeReference<?>> types)Methods in spoon.reflect.code that return CtExpressionModifier and TypeMethodDescriptionCtExpression.clone()CtAssert.getAssertExpression()Gets the assert expression.CtAssignment.getAssigned()Returns the assigned expression on the left-hand side (where the value is stored, e.g.CtLocalVariable.getAssignment()Useful proxy toCtVariable.getDefaultExpression().CtRHSReceiver.getAssignment()Returns the right-hand side of the "=" operator.CtCase.getCaseExpression()Gets the case expression.CtConditional.getCondition()Gets the condition expression.CtIf.getCondition()Gets the boolean expression that represents theif's condition.CtConditional.getElseExpression()Gets the "false" expression.CtAssert.getExpression()Gets the expression of the assertion if defined.CtFor.getExpression()Gets the end-loop test expression.CtExpression<?>CtForEach.getExpression()Gets the iterated expression (an iterable of an array).CtLambda.getExpression()Gets the expression in the body.CtExpression<?>CtSynchronized.getExpression()Gets the expression that defines the monitored object if any.CtExpression<?>CtYieldStatement.getExpression()Gets the expression of the yield statement.CtArrayAccess.getIndexExpression()Returns the expression that defines the index.CtExpression<?>CtBinaryOperator.getLeftHandOperand()Returns the left-hand operand.CtDo.getLoopingExpression()Returns the looping test as a boolean expression.CtWhile.getLoopingExpression()Gets the looping boolean test expression.CtExpression<?>CtUnaryOperator.getOperand()Gets the expression to which the operator is applied.CtReturn.getReturnedExpression()Gets the returned expression.CtExpression<?>CtBinaryOperator.getRightHandOperand()Returns the right-hand operand.CtAbstractSwitch.getSelector()Gets the selector.CtConditional.getThenExpression()Gets the "true" expression.CtExpression<? extends Throwable>CtThrow.getThrownExpression()Returns the thrown expression (must be a throwable).Methods in spoon.reflect.code that return types with arguments of type CtExpressionModifier and TypeMethodDescriptionList<CtExpression<?>>CtAbstractInvocation.getArguments()The arguments of the invocation.CtCase.getCaseExpressions()Gets the case expressions.CtNewArray.getDimensionExpressions()Gets the expressions that define the array's dimensions.List<CtExpression<?>>CtNewArray.getElements()Gets the initialization expressions.Methods in spoon.reflect.code with parameters of type CtExpressionModifier and TypeMethodDescription<C extends CtAbstractInvocation<T>>
 CCtAbstractInvocation.addArgument(CtExpression<?> argument)Adds an argument expression to the invocation.<C extends CtAbstractInvocation<T>>
 CCtAbstractInvocation.addArgumentAt(int position, CtExpression<?> argument)Adds an argument expression to the invocation at the specified position.CtCase.addCaseExpression(CtExpression<S> caseExpression)Adds case expression.<C extends CtNewArray<T>>
 CCtNewArray.addDimensionExpression(CtExpression<Integer> dimension)Adds a dimension expression.<C extends CtNewArray<T>>
 CCtNewArray.addElement(CtExpression<?> expression)Adds an element.voidCtAbstractInvocation.removeArgument(CtExpression<?> argument)Removes an argument expression from the invocation.booleanCtNewArray.removeDimensionExpression(CtExpression<Integer> dimension)Removes a dimension expression.booleanCtNewArray.removeElement(CtExpression<?> expression)Removes an element.CtAssert.setAssertExpression(CtExpression<Boolean> asserted)Sets the assert expression.<C extends CtAssignment<T, A>>
 CCtAssignment.setAssigned(CtExpression<T> assigned)Sets the assigned expression (left hand side - LHS).<U extends CtRHSReceiver<T>>
 UCtLocalVariable.setAssignment(CtExpression<T> assignment)<T extends CtRHSReceiver<A>>
 TCtRHSReceiver.setAssignment(CtExpression<A> assignment)Sets the right-hand side expression (RHS) of the "=" operator.CtCase.setCaseExpression(CtExpression<S> caseExpression)Sets the case expression.<C extends CtConditional<T>>
 CCtConditional.setCondition(CtExpression<Boolean> condition)Sets the condition expression.<T extends CtIf>
 TCtIf.setCondition(CtExpression<Boolean> expression)Sets the boolean expression that represents theif's condition.<C extends CtVariable<T>>
 CCtCatchVariable.setDefaultExpression(CtExpression<T> assignedExpression)<C extends CtConditional<T>>
 CCtConditional.setElseExpression(CtExpression<T> elseExpression)Sets the "false" expression.CtAssert.setExpression(CtExpression<T> expression)Sets the expression of the assertion.<T extends CtFor>
 TCtFor.setExpression(CtExpression<Boolean> expression)Sets the end-loop test expression.<T extends CtForEach>
 TCtForEach.setExpression(CtExpression<?> expression)Sets the iterated expression (an iterable of an array).CtLambda.setExpression(CtExpression<T> expression)Sets the expression in the body of the lambda.<T extends CtSynchronized>
 TCtSynchronized.setExpression(CtExpression<?> expression)Sets the expression that defines the monitored.<T extends CtYieldStatement>
 TCtYieldStatement.setExpression(CtExpression<?> expression)Gets the expression of the yield statement.<C extends CtArrayAccess<T, E>>
 CCtArrayAccess.setIndexExpression(CtExpression<Integer> expression)Sets the expression that defines the index.<C extends CtBinaryOperator<T>>
 CCtBinaryOperator.setLeftHandOperand(CtExpression<?> expression)Sets the left-hand operand.<T extends CtDo>
 TCtDo.setLoopingExpression(CtExpression<Boolean> expression)Sets the looping test as a boolean expression.<T extends CtWhile>
 TCtWhile.setLoopingExpression(CtExpression<Boolean> expression)Sets the looping boolean test expression.<C extends CtUnaryOperator>
 CCtUnaryOperator.setOperand(CtExpression<?> expression)Sets the expression to which the operator is applied.CtReturn.setReturnedExpression(CtExpression<R> returnedExpression)Sets the returned expression.<C extends CtBinaryOperator<T>>
 CCtBinaryOperator.setRightHandOperand(CtExpression<?> expression)Sets the right-hand operand.<T extends CtAbstractSwitch<S>>
 TCtAbstractSwitch.setSelector(CtExpression<S> selector)Sets the selector.<C extends CtConditional<T>>
 CCtConditional.setThenExpression(CtExpression<T> thenExpression)Sets the "true" expression.<T extends CtThrow>
 TCtThrow.setThrownExpression(CtExpression<? extends Throwable> thrownExpression)Sets the thrown expression (must be a throwable).Method parameters in spoon.reflect.code with type arguments of type CtExpressionModifier and TypeMethodDescription<C extends CtAbstractInvocation<T>>
 CCtAbstractInvocation.setArguments(List<CtExpression<?>> arguments)Sets the invocation's arguments.CtCase.setCaseExpressions(List<CtExpression<S>> caseExpressions)Sets the case expressions.<C extends CtNewArray<T>>
 CCtNewArray.setDimensionExpressions(List<CtExpression<Integer>> dimensions)Sets the expressions that define the array's dimensions.<C extends CtNewArray<T>>
 CCtNewArray.setElements(List<CtExpression<?>> expression)Sets the initialization expressions.
- 
Uses of CtExpression in spoon.reflect.declarationSubinterfaces of CtExpression in spoon.reflect.declarationModifier and TypeInterfaceDescriptioninterfaceCtAnnotation<A extends Annotation>This element represents an annotation on an element.Methods in spoon.reflect.declaration with type parameters of type CtExpressionModifier and TypeMethodDescription<T extends CtExpression>
 TGets a value, as a CtExpression, for a given key without any conversion.<T extends CtExpression>
 TCtAnnotation.getWrappedValue(String key)Gets a value for a given key and try to fix its type based on the annotation type.<C extends CtExpression<A>>
 CCtAnnotation.setTypeCasts(List<CtTypeReference<?>> types)Methods in spoon.reflect.declaration that return CtExpressionModifier and TypeMethodDescriptionCtField.getAssignment()Useful proxy toCtVariable.getDefaultExpression().CtAnnotationMethod.getDefaultExpression()Gets the default expression assigned to the annotation method.CtVariable.getDefaultExpression()Gets the initialization expression assigned to the variable (also known as the initializer), when declared.Methods in spoon.reflect.declaration that return types with arguments of type CtExpressionModifier and TypeMethodDescriptionCtAnnotation.getAllValues()Get all values ofCtAnnotation.getValues(), plus the default ones defined in the annotation type.CtAnnotation.getValues()Returns this annotation's elements and their values.Methods in spoon.reflect.declaration with parameters of type CtExpressionModifier and TypeMethodDescription<U extends CtRHSReceiver<T>>
 UCtEnumValue.setAssignment(CtExpression<T> assignment)<U extends CtRHSReceiver<T>>
 UCtField.setAssignment(CtExpression<T> assignment)<C extends CtAnnotationMethod<T>>
 CCtAnnotationMethod.setDefaultExpression(CtExpression<T> assignedExpression)Sets the default expression assigned to the annotation method.<C extends CtVariable<T>>
 CCtParameter.setDefaultExpression(CtExpression<T> assignedExpression)<C extends CtVariable<T>>
 CCtVariable.setDefaultExpression(CtExpression<T> assignedExpression)Sets the initialization expression assigned to the variable, when declared.Method parameters in spoon.reflect.declaration with type arguments of type CtExpressionModifier and TypeMethodDescription<T extends CtAnnotation<A>>
 TCtAnnotation.addValue(String elementName, CtNewArray<? extends CtExpression> value)Adds a new key-array pair for this annotation.<T extends CtAnnotation<A>>
 TCtAnnotation.setValues(Map<String,CtExpression> values)Set's this annotation's element names and their values.
- 
Uses of CtExpression in spoon.reflect.factoryMethods in spoon.reflect.factory with type parameters of type CtExpressionModifier and TypeMethodDescription<T, E extends CtExpression<?>>
 CtExecutableReferenceExpression<T,E>CoreFactory.createExecutableReferenceExpression()Creates a new executable reference expression.<T, E extends CtExpression<?>>
 CtExecutableReferenceExpression<T,E>Factory.createExecutableReferenceExpression()<T, E extends CtExpression<?>>
 CtExecutableReferenceExpression<T,E>FactoryImpl.createExecutableReferenceExpression()Methods in spoon.reflect.factory that return types with arguments of type CtExpressionModifier and TypeMethodDescriptionList<CtExpression<?>>CodeFactory.createVariableReads(List<? extends CtVariable<?>> variables)Creates a list of variable accesses for read.List<CtExpression<?>>Factory.createVariableReads(List<? extends CtVariable<?>> variables)List<CtExpression<?>>FactoryImpl.createVariableReads(List<? extends CtVariable<?>> variables)Methods in spoon.reflect.factory with parameters of type CtExpressionModifier and TypeMethodDescription<T> CtField<T>FieldFactory.create(CtType<?> target, Set<ModifierKind> modifiers, CtTypeReference<T> type, String name, CtExpression<T> defaultExpression)Creates a field.<T> CtBinaryOperator<T>CodeFactory.createBinaryOperator(CtExpression<?> left, CtExpression<?> right, BinaryOperatorKind kind)Creates a binary operator.<T> CtBinaryOperator<T>Factory.createBinaryOperator(CtExpression<?> left, CtExpression<?> right, BinaryOperatorKind kind)<T> CtBinaryOperator<T>FactoryImpl.createBinaryOperator(CtExpression<?> left, CtExpression<?> right, BinaryOperatorKind kind)<T> CtConstructorCall<T>CodeFactory.createConstructorCall(CtTypeReference<T> type, CtExpression<?>... parameters)Creates a constructor call.<T> CtConstructorCall<T>Factory.createConstructorCall(CtTypeReference<T> type, CtExpression<?>... parameters)<T> CtConstructorCall<T>FactoryImpl.createConstructorCall(CtTypeReference<T> type, CtExpression<?>... parameters)Factory.createField(CtType<?> target, Set<ModifierKind> modifiers, CtTypeReference type, String name, CtExpression defaultExpression)FactoryImpl.createField(CtType<?> target, Set<ModifierKind> modifiers, CtTypeReference type, String name, CtExpression defaultExpression)<T> CtInvocation<T>CodeFactory.createInvocation(CtExpression<?> target, CtExecutableReference<T> executable, List<CtExpression<?>> arguments)Creates an invocation (can be a statement or an expression).<T> CtInvocation<T>CodeFactory.createInvocation(CtExpression<?> target, CtExecutableReference<T> executable, CtExpression<?>... arguments)Creates an invocation (can be a statement or an expression).<T> CtInvocation<T>Factory.createInvocation(CtExpression<?> target, CtExecutableReference<T> executable, List<CtExpression<?>> arguments)<T> CtInvocation<T>Factory.createInvocation(CtExpression<?> target, CtExecutableReference<T> executable, CtExpression<?>... arguments)<T> CtInvocation<T>FactoryImpl.createInvocation(CtExpression<?> target, CtExecutableReference<T> executable, List<CtExpression<?>> arguments)<T> CtInvocation<T>FactoryImpl.createInvocation(CtExpression<?> target, CtExecutableReference<T> executable, CtExpression<?>... arguments)<T> CtLocalVariable<T>CodeFactory.createLocalVariable(CtTypeReference<T> type, String name, CtExpression<T> defaultExpression)Creates a local variable declaration.<T> CtLocalVariable<T>Factory.createLocalVariable(CtTypeReference<T> type, String name, CtExpression<T> defaultExpression)<T> CtLocalVariable<T>FactoryImpl.createLocalVariable(CtTypeReference<T> type, String name, CtExpression<T> defaultExpression)<T> CtNewClass<T>CodeFactory.createNewClass(CtType<T> superClass, CtExpression<?>... parameters)Creates a new anonymous class.CtNewClass<?>Factory.createNewClass(CtType<?> superClass, CtExpression<?>... parameters)Creates an anonymous classCtNewClass<?>FactoryImpl.createNewClass(CtType<?> superClass, CtExpression<?>... parameters)<T> CtExecutableReference<T>ConstructorFactory.createReference(CtTypeReference<T> type, CtExpression<?>... parameters)Creates a constructor reference.<A, T extends A>
 CtAssignment<A,T>CodeFactory.createVariableAssignment(CtVariableReference<A> variable, boolean isStatic, CtExpression<T> expression)Creates a variable assignment (can be an expression or a statement).<A, T extends A>
 CtAssignment<A,T>Factory.createVariableAssignment(CtVariableReference<A> variable, boolean isStatic, CtExpression<T> expression)<A, T extends A>
 CtAssignment<A,T>FactoryImpl.createVariableAssignment(CtVariableReference<A> variable, boolean isStatic, CtExpression<T> expression)Method parameters in spoon.reflect.factory with type arguments of type CtExpressionModifier and TypeMethodDescription<T> CtInvocation<T>CodeFactory.createInvocation(CtExpression<?> target, CtExecutableReference<T> executable, List<CtExpression<?>> arguments)Creates an invocation (can be a statement or an expression).<T> CtInvocation<T>Factory.createInvocation(CtExpression<?> target, CtExecutableReference<T> executable, List<CtExpression<?>> arguments)<T> CtInvocation<T>FactoryImpl.createInvocation(CtExpression<?> target, CtExecutableReference<T> executable, List<CtExpression<?>> arguments)
- 
Uses of CtExpression in spoon.reflect.visitorMethods in spoon.reflect.visitor with type parameters of type CtExpressionModifier and TypeMethodDescription<T, E extends CtExpression<?>>
 voidCtInheritanceScanner.scanCtArrayAccess(CtArrayAccess<T,E> arrayAccess)Scans an array access (read and write).<T, E extends CtExpression<?>>
 voidCtInheritanceScanner.scanCtTargetedExpression(CtTargetedExpression<T,E> targetedExpression)Scans an abstract targeted expression.<T, E extends CtExpression<?>>
 voidCtAbstractVisitor.visitCtExecutableReferenceExpression(CtExecutableReferenceExpression<T,E> expression)<T, E extends CtExpression<?>>
 voidCtBiScannerDefault.visitCtExecutableReferenceExpression(CtExecutableReferenceExpression<T,E> expression)<T, E extends CtExpression<?>>
 voidCtInheritanceScanner.visitCtExecutableReferenceExpression(CtExecutableReferenceExpression<T,E> e)<T, E extends CtExpression<?>>
 voidCtScanner.visitCtExecutableReferenceExpression(CtExecutableReferenceExpression<T,E> expression)<T, E extends CtExpression<?>>
 voidCtVisitor.visitCtExecutableReferenceExpression(CtExecutableReferenceExpression<T,E> expression)Visits a reference to an executable.<T, E extends CtExpression<?>>
 voidDefaultJavaPrettyPrinter.visitCtExecutableReferenceExpression(CtExecutableReferenceExpression<T,E> expression)Methods in spoon.reflect.visitor with parameters of type CtExpressionModifier and TypeMethodDescriptionprotected voidDefaultJavaPrettyPrinter.enterCtExpression(CtExpression<?> e)Enters an expression.protected voidDefaultJavaPrettyPrinter.exitCtExpression(CtExpression<?> e)Exits an expression.static Optional<CtTypeReference<?>>OperatorHelper.getPromotedType(BinaryOperatorKind operator, CtExpression<?> left, CtExpression<?> right)Get the promoted type of the binary operator, as defined by the Java Language Specification.static Optional<CtTypeReference<?>>OperatorHelper.getPromotedType(UnaryOperatorKind operator, CtExpression<?> operand)Gets the promoted type of the unary operator, as defined by the Java Language Specification.<T> voidCtInheritanceScanner.scanCtExpression(CtExpression<T> expression)Scans an abstract expression.
- 
Uses of CtExpression in spoon.supportMethods in spoon.support with type parameters of type CtExpressionModifier and TypeMethodDescription<T, E extends CtExpression<?>>
 CtExecutableReferenceExpression<T,E>DefaultCoreFactory.createExecutableReferenceExpression()
- 
Uses of CtExpression in spoon.support.compilerMethods in spoon.support.compiler that return CtExpressionModifier and TypeMethodDescriptionstatic <T> CtExpression<T>SnippetCompilationHelper.compileExpression(CtCodeSnippetExpression<T> expr)
- 
Uses of CtExpression in spoon.support.compiler.jdtMethods in spoon.support.compiler.jdt with type parameters of type CtExpressionModifier and TypeMethodDescription<T, E extends CtExpression<?>>
 voidParentExiter.scanCtTargetedExpression(CtTargetedExpression<T,E> targetedExpression)<T, E extends CtExpression<?>>
 voidParentExiter.visitCtExecutableReferenceExpression(CtExecutableReferenceExpression<T,E> expression)Methods in spoon.support.compiler.jdt with parameters of type CtExpressionModifier and TypeMethodDescription<T> CtFieldAccess<T>JDTTreeBuilderHelper.createFieldAccess(CtVariableReference<T> variableReference, CtExpression<?> target, boolean isReadAccess)Creates variable access from aCtVariableReference.
- 
Uses of CtExpression in spoon.support.reflect.codeClasses in spoon.support.reflect.code with type parameters of type CtExpressionModifier and TypeClassDescriptionclassCtArrayAccessImpl<T,V extends CtExpression<?>>classCtExecutableReferenceExpressionImpl<T,E extends CtExpression<?>>classCtTargetedExpressionImpl<E,T extends CtExpression<?>>Classes in spoon.support.reflect.code that implement CtExpressionModifier and TypeClassDescriptionclassclassCtArrayAccessImpl<T,V extends CtExpression<?>>classclassclassCtAssignmentImpl<T,A extends T>classclassclassclassclassCtExecutableReferenceExpressionImpl<T,E extends CtExpression<?>>classclassclassclassclassclassCtLambdaImpl<T>classclassclassclassCtOperatorAssignmentImpl<T,A extends T>classclassCtSwitchExpressionImpl<T,S>classCtTargetedExpressionImpl<E,T extends CtExpression<?>>classclassclassclassclassclassclassclassMethods in spoon.support.reflect.code with type parameters of type CtExpressionModifier and TypeMethodDescription<C extends CtExpression<T>>
 CCtAssignmentImpl.addTypeCast(CtTypeReference<?> type)<C extends CtExpression<T>>
 CCtExpressionImpl.addTypeCast(CtTypeReference<?> type)<E extends CtExpression<T>>
 ECtCodeSnippetExpressionImpl.compile()<C extends CtTargetedExpression<T, CtExpression<?>>>
 CCtFieldAccessImpl.setTarget(CtExpression<?> target)<C extends CtTargetedExpression<T, CtExpression<?>>>
 CCtSuperAccessImpl.setTarget(CtExpression<?> target)<C extends CtExpression<T>>
 CCtAssignmentImpl.setTypeCasts(List<CtTypeReference<?>> casts)<C extends CtExpression<T>>
 CCtExpressionImpl.setTypeCasts(List<CtTypeReference<?>> casts)Methods in spoon.support.reflect.code that return CtExpressionModifier and TypeMethodDescriptionCtExpressionImpl.clone()CtAssertImpl.getAssertExpression()CtAssignmentImpl.getAssigned()CtAssignmentImpl.getAssignment()CtLocalVariableImpl.getAssignment()CtCaseImpl.getCaseExpression()CtConditionalImpl.getCondition()CtIfImpl.getCondition()CtCatchVariableImpl.getDefaultExpression()CtLocalVariableImpl.getDefaultExpression()CtConditionalImpl.getElseExpression()CtAssertImpl.getExpression()CtExpression<?>CtForEachImpl.getExpression()CtForImpl.getExpression()CtLambdaImpl.getExpression()CtExpression<?>CtSynchronizedImpl.getExpression()CtExpression<?>CtYieldStatementImpl.getExpression()CtArrayAccessImpl.getIndexExpression()CtExpression<?>CtBinaryOperatorImpl.getLeftHandOperand()CtDoImpl.getLoopingExpression()CtWhileImpl.getLoopingExpression()CtExpression<?>CtUnaryOperatorImpl.getOperand()CtReturnImpl.getReturnedExpression()CtExpression<?>CtBinaryOperatorImpl.getRightHandOperand()CtSwitchExpressionImpl.getSelector()CtSwitchImpl.getSelector()CtExpression<?>CtFieldAccessImpl.getTarget()CtExpression<?>CtSuperAccessImpl.getTarget()CtConditionalImpl.getThenExpression()CtExpression<? extends Throwable>CtThrowImpl.getThrownExpression()Methods in spoon.support.reflect.code that return types with arguments of type CtExpressionModifier and TypeMethodDescriptionList<CtExpression<?>>CtConstructorCallImpl.getArguments()List<CtExpression<?>>CtInvocationImpl.getArguments()CtCaseImpl.getCaseExpressions()CtNewArrayImpl.getDimensionExpressions()List<CtExpression<?>>CtNewArrayImpl.getElements()Methods in spoon.support.reflect.code with parameters of type CtExpressionModifier and TypeMethodDescription<C extends CtAbstractInvocation<T>>
 CCtConstructorCallImpl.addArgument(CtExpression<?> argument)<C extends CtAbstractInvocation<T>>
 CCtInvocationImpl.addArgument(CtExpression<?> argument)<C extends CtAbstractInvocation<T>>
 CCtConstructorCallImpl.addArgumentAt(int position, CtExpression<?> argument)<C extends CtAbstractInvocation<T>>
 CCtInvocationImpl.addArgumentAt(int position, CtExpression<?> argument)CtCaseImpl.addCaseExpression(CtExpression<E> caseExpression)<C extends CtNewArray<T>>
 CCtNewArrayImpl.addDimensionExpression(CtExpression<Integer> dimension)<C extends CtNewArray<T>>
 CCtNewArrayImpl.addElement(CtExpression<?> expression)voidCtConstructorCallImpl.removeArgument(CtExpression<?> argument)voidCtInvocationImpl.removeArgument(CtExpression<?> argument)booleanCtNewArrayImpl.removeDimensionExpression(CtExpression<Integer> dimension)booleanCtNewArrayImpl.removeElement(CtExpression<?> expression)CtAssertImpl.setAssertExpression(CtExpression<Boolean> asserted)<C extends CtAssignment<T, A>>
 CCtAssignmentImpl.setAssigned(CtExpression<T> assigned)<C extends CtRHSReceiver<A>>
 CCtAssignmentImpl.setAssignment(CtExpression<A> assignment)<C extends CtRHSReceiver<T>>
 CCtLocalVariableImpl.setAssignment(CtExpression<T> assignment)CtCaseImpl.setCaseExpression(CtExpression<E> caseExpression)<C extends CtConditional<T>>
 CCtConditionalImpl.setCondition(CtExpression<Boolean> condition)<T extends CtIf>
 TCtIfImpl.setCondition(CtExpression<Boolean> condition)<C extends CtVariable<T>>
 CCtCatchVariableImpl.setDefaultExpression(CtExpression<T> defaultExpression)<C extends CtVariable<T>>
 CCtLocalVariableImpl.setDefaultExpression(CtExpression<T> defaultExpression)<C extends CtConditional<T>>
 CCtConditionalImpl.setElseExpression(CtExpression<T> elseExpression)CtAssertImpl.setExpression(CtExpression<T> value)<T extends CtForEach>
 TCtForEachImpl.setExpression(CtExpression<?> expression)<T extends CtFor>
 TCtForImpl.setExpression(CtExpression<Boolean> expression)CtLambdaImpl.setExpression(CtExpression<T> expression)<T extends CtSynchronized>
 TCtSynchronizedImpl.setExpression(CtExpression<?> expression)<T extends CtYieldStatement>
 TCtYieldStatementImpl.setExpression(CtExpression<?> expression)<C extends CtArrayAccess<T, V>>
 CCtArrayAccessImpl.setIndexExpression(CtExpression<Integer> expression)<C extends CtBinaryOperator<T>>
 CCtBinaryOperatorImpl.setLeftHandOperand(CtExpression<?> expression)<T extends CtDo>
 TCtDoImpl.setLoopingExpression(CtExpression<Boolean> expression)<T extends CtWhile>
 TCtWhileImpl.setLoopingExpression(CtExpression<Boolean> expression)<C extends CtUnaryOperator>
 CCtUnaryOperatorImpl.setOperand(CtExpression<?> expression)CtReturnImpl.setReturnedExpression(CtExpression<R> expression)<C extends CtBinaryOperator<T>>
 CCtBinaryOperatorImpl.setRightHandOperand(CtExpression<?> expression)<T extends CtAbstractSwitch<S>>
 TCtSwitchExpressionImpl.setSelector(CtExpression<S> selector)<T extends CtAbstractSwitch<S>>
 TCtSwitchImpl.setSelector(CtExpression<S> selector)<C extends CtTargetedExpression<T, CtExpression<?>>>
 CCtFieldAccessImpl.setTarget(CtExpression<?> target)<C extends CtTargetedExpression<T, CtExpression<?>>>
 CCtSuperAccessImpl.setTarget(CtExpression<?> target)<C extends CtConditional<T>>
 CCtConditionalImpl.setThenExpression(CtExpression<T> thenExpression)<T extends CtThrow>
 TCtThrowImpl.setThrownExpression(CtExpression<? extends Throwable> expression)Method parameters in spoon.support.reflect.code with type arguments of type CtExpressionModifier and TypeMethodDescription<C extends CtAbstractInvocation<T>>
 CCtConstructorCallImpl.setArguments(List<CtExpression<?>> arguments)<C extends CtAbstractInvocation<T>>
 CCtInvocationImpl.setArguments(List<CtExpression<?>> arguments)CtCaseImpl.setCaseExpressions(List<CtExpression<E>> caseExpressions)<C extends CtNewArray<T>>
 CCtNewArrayImpl.setDimensionExpressions(List<CtExpression<Integer>> dimensionExpressions)<C extends CtNewArray<T>>
 CCtNewArrayImpl.setElements(List<CtExpression<?>> expressions)
- 
Uses of CtExpression in spoon.support.reflect.declarationClasses in spoon.support.reflect.declaration that implement CtExpressionModifier and TypeClassDescriptionclassCtAnnotationImpl<A extends Annotation>The implementation forCtAnnotation.Methods in spoon.support.reflect.declaration with type parameters of type CtExpressionModifier and TypeMethodDescription<T extends CtExpression>
 T<T extends CtExpression>
 TCtAnnotationImpl.getWrappedValue(String key)<C extends CtExpression<A>>
 CCtAnnotationImpl.setTypeCasts(List<CtTypeReference<?>> casts)Methods in spoon.support.reflect.declaration that return CtExpressionModifier and TypeMethodDescriptionCtEnumValueImpl.getAssignment()CtFieldImpl.getAssignment()CtAnnotationMethodImpl.getDefaultExpression()CtFieldImpl.getDefaultExpression()CtParameterImpl.getDefaultExpression()Methods in spoon.support.reflect.declaration that return types with arguments of type CtExpressionMethods in spoon.support.reflect.declaration with parameters of type CtExpressionModifier and TypeMethodDescription<C extends CtRHSReceiver<T>>
 CCtFieldImpl.setAssignment(CtExpression<T> assignment)<C extends CtAnnotationMethod<T>>
 CCtAnnotationMethodImpl.setDefaultExpression(CtExpression<T> assignedExpression)<C extends CtVariable<T>>
 CCtFieldImpl.setDefaultExpression(CtExpression<T> defaultExpression)<C extends CtVariable<T>>
 CCtParameterImpl.setDefaultExpression(CtExpression<T> defaultExpression)Method parameters in spoon.support.reflect.declaration with type arguments of type CtExpressionModifier and TypeMethodDescription<T extends CtAnnotation<A>>
 TCtAnnotationImpl.addValue(String elementName, CtNewArray<? extends CtExpression> value)<T extends CtAnnotation<A>>
 TCtAnnotationImpl.setValues(Map<String,CtExpression> values)
- 
Uses of CtExpression in spoon.support.reflect.evalMethods in spoon.support.reflect.eval with parameters of type CtExpressionModifier and TypeMethodDescriptionstatic ObjectEvalHelper.getCorrespondingRuntimeObject(CtExpression<?> value)Returns the runtime object corresponding to the expression eg CtLiteral(3) -> 3static booleanEvalHelper.isKnownAtCompileTime(CtExpression<?> exp)returns true if the expression is known at compile time Bonus method for @oscarlvp :-)
- 
Uses of CtExpression in spoon.support.templateMethods in spoon.support.template with parameters of type CtExpressionModifier and TypeMethodDescriptionstatic IntegerParameters.getIndex(CtExpression<?> e)Gets the index of a one-dimension array (helper).
- 
Uses of CtExpression in spoon.support.visitor.cloneMethods in spoon.support.visitor.clone with type parameters of type CtExpressionModifier and TypeMethodDescription<T, E extends CtExpression<?>>
 voidCloneVisitor.visitCtExecutableReferenceExpression(CtExecutableReferenceExpression<T,E> expression)
- 
Uses of CtExpression in spoon.support.visitor.replaceMethods in spoon.support.visitor.replace with type parameters of type CtExpressionModifier and TypeMethodDescription<T, E extends CtExpression<?>>
 voidReplacementVisitor.visitCtExecutableReferenceExpression(CtExecutableReferenceExpression<T,E> expression)
- 
Uses of CtExpression in spoon.templateMethods in spoon.template that return CtExpressionModifier and TypeMethodDescriptionstatic <T> CtExpression<T>ExpressionTemplate.getExpression(CtClass<? extends ExpressionTemplate<?>> p)Returns the expression.static CtExpression<?>Substitution.substituteFieldDefaultExpression(CtType<?> targetType, Template<?> template, String fieldName)Gets a default expression from a template field with all the template parameters substituted.