Class AnnotationRuntimeBuilderContext
java.lang.Object
spoon.support.visitor.java.internal.AnnotationRuntimeBuilderContext
- All Implemented Interfaces:
RuntimeBuilderContext
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAnnotation(CtAnnotation<Annotation> ctAnnotation)
void
addConstructor(CtConstructor<?> ctConstructor)
void
addEnumValue(CtEnumValue<?> ctEnumValue)
void
void
addFormalType(CtTypeParameter parameterRef)
void
void
addPackage(CtPackage ctPackage)
void
addParameter(CtParameter ctParameter)
void
addRecordComponent(CtRecordComponent ctRecordComponent)
void
void
addTypeReference(CtRole role, CtTypeReference<?> typeReference)
@Nullable CtTypeParameter
getTypeParameter(GenericDeclaration genericDeclaration, String string)
-
Constructor Details
-
AnnotationRuntimeBuilderContext
-
-
Method Details
-
addAnnotation
- Specified by:
addAnnotation
in interfaceRuntimeBuilderContext
-
addTypeReference
- Specified by:
addTypeReference
in interfaceRuntimeBuilderContext
-
getCtAnnotation
-
addPackage
- Specified by:
addPackage
in interfaceRuntimeBuilderContext
-
addType
- Specified by:
addType
in interfaceRuntimeBuilderContext
-
addConstructor
- Specified by:
addConstructor
in interfaceRuntimeBuilderContext
-
addMethod
- Specified by:
addMethod
in interfaceRuntimeBuilderContext
-
addField
- Specified by:
addField
in interfaceRuntimeBuilderContext
-
addEnumValue
- Specified by:
addEnumValue
in interfaceRuntimeBuilderContext
-
addParameter
- Specified by:
addParameter
in interfaceRuntimeBuilderContext
-
addFormalType
- Specified by:
addFormalType
in interfaceRuntimeBuilderContext
-
addRecordComponent
- Specified by:
addRecordComponent
in interfaceRuntimeBuilderContext
-
getTypeParameter
public @Nullable CtTypeParameter getTypeParameter(GenericDeclaration genericDeclaration, String string)- Specified by:
getTypeParameter
in interfaceRuntimeBuilderContext
-