Uses of Interface
spoon.reflect.code.CtLiteral
-
Packages that use CtLiteral Package Description spoon.reflect.code This package contains the meta-model part that models the executable code (methods and constructors' bodies, field initializers).spoon.reflect.declaration This package contains the meta-model part that models the declarations (program's structures such as classes, fields, etc).spoon.reflect.factory This package defines all the sub-factories for the Spoon meta-model.spoon.reflect.visitor This package defines visitor, scanner, and scanner-based query API for Java programs reified in the meta-model.spoon.support This package contains some default implementations for commonly used processing tasks.spoon.support.reflect.code spoon.support.reflect.declaration spoon.support.visitor.clone spoon.support.visitor.equals spoon.support.visitor.replace -
-
Uses of CtLiteral in spoon.reflect.code
Subinterfaces of CtLiteral in spoon.reflect.code Modifier and Type Interface Description interface
CtTextBlock
This code element defines a Text Block String Literal.Methods in spoon.reflect.code with type parameters of type CtLiteral Modifier and Type Method Description <C extends CtLiteral<T>>
CCtLiteral. setBase(LiteralBase base)
Sets the base of the numeric literal.<C extends CtLiteral<T>>
CCtLiteral. setValue(T value)
Sets the actual value of the literal.Methods in spoon.reflect.code that return CtLiteral Modifier and Type Method Description CtLiteral<T>
CtLiteral. clone()
Overriding return type, a clone of a CtLiteral returns a CtLiteral -
Uses of CtLiteral in spoon.reflect.declaration
Methods in spoon.reflect.declaration with parameters of type CtLiteral Modifier and Type Method Description <T extends CtAnnotation<A>>
TCtAnnotation. addValue(String elementName, CtLiteral<?> value)
Adds a new key-literal pair for this annotation. -
Uses of CtLiteral in spoon.reflect.factory
Methods in spoon.reflect.factory that return CtLiteral Modifier and Type Method Description <T> CtLiteral<T>
CodeFactory. createLiteral(T value)
Creates a literal with a given value.<T> CtLiteral<T>
CoreFactory. createLiteral()
Creates a literal expression.<T> CtLiteral<T>
Factory. createLiteral()
<T> CtLiteral<T>
Factory. createLiteral(T value)
<T> CtLiteral<T>
FactoryImpl. createLiteral()
<T> CtLiteral<T>
FactoryImpl. createLiteral(T value)
-
Uses of CtLiteral in spoon.reflect.visitor
Methods in spoon.reflect.visitor with parameters of type CtLiteral Modifier and Type Method Description <T> void
CtAbstractVisitor. visitCtLiteral(CtLiteral<T> literal)
<T> void
CtBiScannerDefault. visitCtLiteral(CtLiteral<T> literal)
<T> void
CtInheritanceScanner. visitCtLiteral(CtLiteral<T> e)
<T> void
CtScanner. visitCtLiteral(CtLiteral<T> literal)
<T> void
CtVisitor. visitCtLiteral(CtLiteral<T> literal)
Visits a literal expression.<T> void
DefaultJavaPrettyPrinter. visitCtLiteral(CtLiteral<T> literal)
-
Uses of CtLiteral in spoon.support
Methods in spoon.support that return CtLiteral Modifier and Type Method Description <T> CtLiteral<T>
DefaultCoreFactory. createLiteral()
-
Uses of CtLiteral in spoon.support.reflect.code
Classes in spoon.support.reflect.code that implement CtLiteral Modifier and Type Class Description class
CtLiteralImpl<T>
class
CtTextBlockImpl
Methods in spoon.support.reflect.code with type parameters of type CtLiteral Modifier and Type Method Description <C extends CtLiteral<T>>
CCtLiteralImpl. setBase(LiteralBase base)
<C extends CtLiteral<T>>
CCtLiteralImpl. setValue(T value)
Methods in spoon.support.reflect.code that return CtLiteral Modifier and Type Method Description CtLiteral<T>
CtLiteralImpl. clone()
-
Uses of CtLiteral in spoon.support.reflect.declaration
Methods in spoon.support.reflect.declaration with parameters of type CtLiteral Modifier and Type Method Description <T extends CtAnnotation<A>>
TCtAnnotationImpl. addValue(String elementName, CtLiteral<?> value)
-
Uses of CtLiteral in spoon.support.visitor.clone
Methods in spoon.support.visitor.clone with parameters of type CtLiteral Modifier and Type Method Description <T> void
CloneBuilder. visitCtLiteral(CtLiteral<T> e)
<T> void
CloneVisitor. visitCtLiteral(CtLiteral<T> literal)
-
Uses of CtLiteral in spoon.support.visitor.equals
Methods in spoon.support.visitor.equals with parameters of type CtLiteral Modifier and Type Method Description <T> void
EqualsChecker. visitCtLiteral(CtLiteral<T> e)
-
Uses of CtLiteral in spoon.support.visitor.replace
Methods in spoon.support.visitor.replace with parameters of type CtLiteral Modifier and Type Method Description <T> void
ReplacementVisitor. visitCtLiteral(CtLiteral<T> literal)
-