Uses of Interface
spoon.reflect.code.CtNewArray
Packages that use CtNewArray
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.
-
Uses of CtNewArray in spoon.reflect.code
Methods in spoon.reflect.code with type parameters of type CtNewArrayModifier and TypeMethodDescription<C extends CtNewArray<T>>
CCtNewArray.addDimensionExpression(CtExpression<Integer> dimension)Adds a dimension expression.<C extends CtNewArray<T>>
CCtNewArray.addElement(CtExpression<?> expression)Adds an element.<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.Methods in spoon.reflect.code that return CtNewArray -
Uses of CtNewArray in spoon.reflect.declaration
Methods in spoon.reflect.declaration with parameters of type CtNewArrayModifier and TypeMethodDescription<T extends CtAnnotation<A>>
TCtAnnotation.addValue(String elementName, CtNewArray<? extends CtExpression> value)Adds a new key-array pair for this annotation. -
Uses of CtNewArray in spoon.reflect.factory
Methods in spoon.reflect.factory that return CtNewArrayModifier and TypeMethodDescription<T> CtNewArray<T[]>CodeFactory.createLiteralArray(T[] value)Creates a one-dimension array that must only contain literals.<T> CtNewArray<T[]>Factory.createLiteralArray(T[] value)<T> CtNewArray<T[]>FactoryImpl.createLiteralArray(T[] value)<T> CtNewArray<T>CoreFactory.createNewArray()Creates a new array expression.<T> CtNewArray<T>Factory.createNewArray()<T> CtNewArray<T>FactoryImpl.createNewArray() -
Uses of CtNewArray in spoon.reflect.visitor
Methods in spoon.reflect.visitor with parameters of type CtNewArrayModifier and TypeMethodDescription<T> voidCtAbstractVisitor.visitCtNewArray(CtNewArray<T> newArray)<T> voidCtBiScannerDefault.visitCtNewArray(CtNewArray<T> newArray)<T> voidCtInheritanceScanner.visitCtNewArray(CtNewArray<T> e)<T> voidCtScanner.visitCtNewArray(CtNewArray<T> newArray)<T> voidCtVisitor.visitCtNewArray(CtNewArray<T> newArray)Visits an array construction.<T> voidDefaultJavaPrettyPrinter.visitCtNewArray(CtNewArray<T> newArray) -
Uses of CtNewArray in spoon.support
Methods in spoon.support that return CtNewArray -
Uses of CtNewArray in spoon.support.compiler.jdt
Methods in spoon.support.compiler.jdt with parameters of type CtNewArray -
Uses of CtNewArray in spoon.support.reflect.code
Classes in spoon.support.reflect.code that implement CtNewArrayMethods in spoon.support.reflect.code with type parameters of type CtNewArrayModifier and TypeMethodDescription<C extends CtNewArray<T>>
CCtNewArrayImpl.addDimensionExpression(CtExpression<Integer> dimension)<C extends CtNewArray<T>>
CCtNewArrayImpl.addElement(CtExpression<?> expression)<C extends CtNewArray<T>>
CCtNewArrayImpl.setDimensionExpressions(List<CtExpression<Integer>> dimensionExpressions)<C extends CtNewArray<T>>
CCtNewArrayImpl.setElements(List<CtExpression<?>> expressions)Methods in spoon.support.reflect.code that return CtNewArray -
Uses of CtNewArray in spoon.support.reflect.declaration
Methods in spoon.support.reflect.declaration with parameters of type CtNewArrayModifier and TypeMethodDescription<T extends CtAnnotation<A>>
TCtAnnotationImpl.addValue(String elementName, CtNewArray<? extends CtExpression> value) -
Uses of CtNewArray in spoon.support.visitor.clone
Methods in spoon.support.visitor.clone with parameters of type CtNewArray -
Uses of CtNewArray in spoon.support.visitor.replace
Methods in spoon.support.visitor.replace with parameters of type CtNewArrayModifier and TypeMethodDescription<T> voidReplacementVisitor.visitCtNewArray(CtNewArray<T> newArray)