Uses of Interface
spoon.reflect.code.CtBodyHolder
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 CtBodyHolder in spoon.reflect.code
Modifier and TypeInterfaceDescriptioninterface
This code element defines acatch
of atry
.interface
This code element defines ado
loop.interface
This code element defines a for loop.interface
This code element defines a foreach statement.interface
CtLambda<T>
This code element represents the creation of a lambda.interface
This abstract code element defines a loop.interface
This code element defines atry
statement.interface
This code element defines atry
with resource statement.interface
This code element defines awhile
loop.Modifier and TypeMethodDescription<T extends CtBodyHolder>
TCtBodyHolder.setBody(CtStatement body)
Sets the body of this element. -
Uses of CtBodyHolder in spoon.reflect.declaration
Modifier and TypeInterfaceDescriptioninterface
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
CtExecutable<R>
This element represents an executable element such as a method, a constructor, or an anonymous block.interface
CtMethod<T>
This element defines a method declaration.Modifier and TypeMethodDescription<T1 extends CtBodyHolder>
T1CtAnnotationMethod.setBody(CtStatement body)
-
Uses of CtBodyHolder in spoon.reflect.visitor
Modifier and TypeMethodDescriptionvoid
CtInheritanceScanner.scanCtBodyHolder(CtBodyHolder ctBodyHolder)
Scans a body holder -
Uses of CtBodyHolder in spoon.support.reflect.code
Modifier and TypeClassDescriptionclass
class
class
class
class
CtLambdaImpl<T>
class
class
class
class
Modifier and TypeMethodDescription<T extends CtBodyHolder>
TCtCatchImpl.setBody(CtStatement statement)
<C extends CtBodyHolder>
CCtLambdaImpl.setBody(CtStatement statement)
<T extends CtBodyHolder>
TCtLoopImpl.setBody(CtStatement statement)
<T extends CtBodyHolder>
TCtTryImpl.setBody(CtStatement statement)
-
Uses of CtBodyHolder in spoon.support.reflect.declaration
Modifier and TypeClassDescriptionclass
The implementation forCtAnnotationMethod
.class
class
class
The implementation forCtExecutable
.class
CtMethodImpl<T>
The implementation forCtMethod
.class
This class is used to represent the constructor of an array when calling with an expression likeModifier and TypeMethodDescription<T extends CtBodyHolder>
TCtAnnotationMethodImpl.setBody(CtStatement statement)
<T extends CtBodyHolder>
TCtExecutableImpl.setBody(CtStatement statement)