Uses of Interface
spoon.reflect.declaration.CtFormalTypeDeclarer
Package
Description
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.
-
Uses of CtFormalTypeDeclarer in spoon.reflect.declaration
Modifier 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
CtClass<T>
This element represents a class declaration.interface
This element defines a constructor declaration.interface
This element represents an enumeration declaration.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).Modifier and TypeMethodDescription<T extends CtFormalTypeDeclarer>
TCtFormalTypeDeclarer.addFormalCtTypeParameter(CtTypeParameter formalTypeParameter)
Add a type parameter to this generic element.<T extends CtFormalTypeDeclarer>
TCtFormalTypeDeclarer.addFormalCtTypeParameterAt(int position, CtTypeParameter formalTypeParameter)
Add a type parameter at a specific position.<T extends CtFormalTypeDeclarer>
TCtAnnotationMethod.setFormalCtTypeParameters(List<CtTypeParameter> formalTypeParameters)
<T extends CtFormalTypeDeclarer>
TCtAnnotationType.setFormalCtTypeParameters(List<CtTypeParameter> formalTypeParameters)
<T extends CtFormalTypeDeclarer>
TCtEnum.setFormalCtTypeParameters(List<CtTypeParameter> formalTypeParameters)
<T extends CtFormalTypeDeclarer>
TCtFormalTypeDeclarer.setFormalCtTypeParameters(List<CtTypeParameter> formalTypeParameters)
Sets the type parameters of this generic element.<T extends CtFormalTypeDeclarer>
TCtTypeParameter.setFormalCtTypeParameters(List<CtTypeParameter> formalTypeParameters)
-
Uses of CtFormalTypeDeclarer in spoon.reflect.factory
Modifier and TypeMethodDescriptionFactory.createTypeAdapter(CtFormalTypeDeclarer formalTypeDeclarer)
FactoryImpl.createTypeAdapter(CtFormalTypeDeclarer formalTypeDeclarer)
TypeFactory.createTypeAdapter(CtFormalTypeDeclarer formalTypeDeclarer)
Create aGenericTypeAdapter
for adapting of formal type parameters from any compatible context to the context of provided `formalTypeDeclarer` -
Uses of CtFormalTypeDeclarer in spoon.reflect.visitor
Modifier and TypeMethodDescriptionvoid
CtInheritanceScanner.scanCtFormalTypeDeclarer(CtFormalTypeDeclarer e)
Scans a formal type declarer.void
ElementPrinterHelper.writeFormalTypeParameters(CtFormalTypeDeclarer ctFormalTypeDeclarer)
Writes formal type parameters given in parameter. -
Uses of CtFormalTypeDeclarer in spoon.support.compiler.jdt
Modifier and TypeMethodDescriptionvoid
ParentExiter.scanCtFormalTypeDeclarer(CtFormalTypeDeclarer e)
-
Uses of CtFormalTypeDeclarer in spoon.support.reflect.declaration
Modifier and TypeClassDescriptionclass
The implementation forCtAnnotationMethod
.class
CtAnnotationTypeImpl<T extends Annotation>
The implementation forCtAnnotationType
.class
CtClassImpl<T>
The implementation forCtClass
.class
class
CtEnumImpl<T extends Enum<?>>
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 likeModifier and TypeMethodDescription<C extends CtFormalTypeDeclarer>
CCtConstructorImpl.addFormalCtTypeParameter(CtTypeParameter formalTypeParameter)
<C extends CtFormalTypeDeclarer>
CCtMethodImpl.addFormalCtTypeParameter(CtTypeParameter formalTypeParameter)
<C extends CtFormalTypeDeclarer>
CCtTypeImpl.addFormalCtTypeParameter(CtTypeParameter formalTypeParameter)
<C extends CtFormalTypeDeclarer>
CCtConstructorImpl.addFormalCtTypeParameterAt(int position, CtTypeParameter formalTypeParameter)
<C extends CtFormalTypeDeclarer>
CCtMethodImpl.addFormalCtTypeParameterAt(int position, CtTypeParameter formalTypeParameter)
<C extends CtFormalTypeDeclarer>
CCtTypeImpl.addFormalCtTypeParameterAt(int position, CtTypeParameter formalTypeParameter)
<C extends CtFormalTypeDeclarer>
CCtAnnotationMethodImpl.setFormalCtTypeParameters(List<CtTypeParameter> formalTypeParameters)
<C extends CtFormalTypeDeclarer>
CCtAnnotationTypeImpl.setFormalCtTypeParameters(List<CtTypeParameter> formalTypeParameters)
<C extends CtFormalTypeDeclarer>
CCtConstructorImpl.setFormalCtTypeParameters(List<CtTypeParameter> formalTypeParameters)
<C extends CtFormalTypeDeclarer>
CCtEnumImpl.setFormalCtTypeParameters(List<CtTypeParameter> formalTypeParameters)
<C extends CtFormalTypeDeclarer>
CCtMethodImpl.setFormalCtTypeParameters(List<CtTypeParameter> formalTypeParameters)
<C extends CtFormalTypeDeclarer>
CCtTypeImpl.setFormalCtTypeParameters(List<CtTypeParameter> formalTypeParameters)
<C extends CtFormalTypeDeclarer>
CCtTypeParameterImpl.setFormalCtTypeParameters(List<CtTypeParameter> formalTypeParameters)
-
Uses of CtFormalTypeDeclarer in spoon.support.visitor
Modifier and TypeMethodDescriptionGenericTypeAdapter.getAdaptationScope()
MethodTypingContext.getAdaptationScope()
Modifier and TypeMethodDescriptionboolean
MethodTypingContext.hasSameMethodFormalTypeParameters(CtFormalTypeDeclarer typeParamDeclarer)
https://docs.oracle.com/javase/specs/jls/se8/html/jls-8.html#jls-8.4.4 Formal type parameters of method are same if 1) both methods have same number of formal type parameters 2) bounds of Formal type parameters are after adapting same types