Uses of Interface
spoon.reflect.code.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
Modifier 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. -
Uses of CtNewArray in spoon.reflect.declaration
Modifier 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
Modifier 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
Modifier and TypeMethodDescription<T> void
CtAbstractVisitor.visitCtNewArray(CtNewArray<T> newArray)
<T> void
CtBiScannerDefault.visitCtNewArray(CtNewArray<T> newArray)
<T> void
CtInheritanceScanner.visitCtNewArray(CtNewArray<T> e)
<T> void
CtScanner.visitCtNewArray(CtNewArray<T> newArray)
<T> void
CtVisitor.visitCtNewArray(CtNewArray<T> newArray)
Visits an array construction.<T> void
DefaultJavaPrettyPrinter.visitCtNewArray(CtNewArray<T> newArray)
-
Uses of CtNewArray in spoon.support
-
Uses of CtNewArray in spoon.support.compiler.jdt
-
Uses of CtNewArray in spoon.support.reflect.code
Modifier 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)
-
Uses of CtNewArray in spoon.support.reflect.declaration
Modifier and TypeMethodDescription<T extends CtAnnotation<A>>
TCtAnnotationImpl.addValue(String elementName, CtNewArray<? extends CtExpression> value)
-
Uses of CtNewArray in spoon.support.visitor.clone
-
Uses of CtNewArray in spoon.support.visitor.replace
Modifier and TypeMethodDescription<T> void
ReplacementVisitor.visitCtNewArray(CtNewArray<T> newArray)