Uses of Interface
spoon.reflect.declaration.CtTypeMember
Packages that use CtTypeMember
Package
Description
This package contains the meta-model part that models the declarations (program's structures such as classes, fields, etc).
This package defines the references to program elements for the meta-model.
This package defines visitor, scanner, and scanner-based query API for Java programs reified in the meta-model.
-
Uses of CtTypeMember in spoon.reflect.declaration
Subinterfaces of CtTypeMember in spoon.reflect.declarationModifier and TypeInterfaceDescriptioninterface
This element defines an annotation method declared in an annotation type.interface
CtAnnotationType<T extends Annotation>
This element defines an annotation type.interface
This element defines an anonymous executable block declaration in a class.interface
CtClass<T>
This element represents a class declaration.interface
This element defines a constructor declaration.interface
This element represents an enumeration declaration.interface
CtEnumValue<T>
Corresponds to one enum value specified in an enumeration.interface
CtField<T>
This element defines a field declaration.interface
This abstract element defines a declaration that accepts formal type parameters (aka generics), such as a CtType (class A<E>
), CtMethod or CtConstructor.interface
CtInterface<T>
This element defines an interface declaration.interface
CtMethod<T>
This element defines a method declaration.interface
This element represents a record declaration.interface
CtType<T>
This abstract element defines a super-type for classes and interfaces, which can declare methods.interface
This element defines a declaration of a type parameter (aka generics).Methods in spoon.reflect.declaration that return types with arguments of type CtTypeMemberModifier and TypeMethodDescriptionCtType.getTypeMembers()
Gets all type members of the type like fields, methods, anonymous block, etc.Methods in spoon.reflect.declaration with parameters of type CtTypeMemberModifier and TypeMethodDescriptionCtType.addTypeMember(CtTypeMember member)
Adds a type member at the end of all type member of the type.CtType.addTypeMemberAt(int position, CtTypeMember member)
Adds a type member at a given position.boolean
CtType.removeTypeMember(CtTypeMember member)
Removes the type member.Method parameters in spoon.reflect.declaration with type arguments of type CtTypeMemberModifier and TypeMethodDescriptionCtType.setTypeMembers(List<CtTypeMember> members)
Removes all types members with these new members.CtTypeParameter.setTypeMembers(List<CtTypeMember> members)
-
Uses of CtTypeMember in spoon.reflect.reference
Methods in spoon.reflect.reference with parameters of type CtTypeMember -
Uses of CtTypeMember in spoon.reflect.visitor
Methods in spoon.reflect.visitor with parameters of type CtTypeMemberMethod parameters in spoon.reflect.visitor with type arguments of type CtTypeMemberModifier and TypeMethodDescriptionvoid
ElementPrinterHelper.writeElementList(List<CtTypeMember> elements)
Writes a list of elements to the printer by using `scan` from the internal pretty-printer. -
Uses of CtTypeMember in spoon.support.reflect.declaration
Classes in spoon.support.reflect.declaration that implement CtTypeMemberModifier and TypeClassDescriptionclass
The implementation forCtAnnotationMethod
.class
CtAnnotationTypeImpl<T extends Annotation>
The implementation forCtAnnotationType
.class
class
CtClassImpl<T>
The implementation forCtClass
.class
class
CtEnumImpl<T extends Enum<?>>
class
class
CtFieldImpl<T>
The implementation forCtField
.class
class
CtMethodImpl<T>
The implementation forCtMethod
.class
class
CtTypeImpl<T>
The implementation forCtType
.class
class
This class is used to represent the constructor of an array when calling with an expression likeMethods in spoon.support.reflect.declaration that return types with arguments of type CtTypeMemberModifier and TypeMethodDescriptionCtTypeImpl.getTypeMembers()
CtTypeParameterImpl.getTypeMembers()
Methods in spoon.support.reflect.declaration with parameters of type CtTypeMemberModifier and TypeMethodDescriptionCtTypeImpl.addTypeMember(CtTypeMember member)
Adds a type member.CtRecordImpl.addTypeMemberAt(int position, CtTypeMember member)
CtTypeImpl.addTypeMemberAt(int position, CtTypeMember member)
boolean
CtTypeImpl.removeTypeMember(CtTypeMember member)
Method parameters in spoon.support.reflect.declaration with type arguments of type CtTypeMemberModifier and TypeMethodDescriptionCtRecordImpl.setTypeMembers(List<CtTypeMember> members)
CtTypeImpl.setTypeMembers(List<CtTypeMember> members)
CtTypeParameterImpl.setTypeMembers(List<CtTypeMember> members)
-
Uses of CtTypeMember in spoon.support.reflect.reference
Methods in spoon.support.reflect.reference with parameters of type CtTypeMemberModifier and TypeMethodDescriptionboolean
CtTypeReferenceImpl.canAccess(CtTypeMember typeMember)