Class VariableRuntimeBuilderContext
java.lang.Object
spoon.support.visitor.java.internal.VariableRuntimeBuilderContext
- All Implemented Interfaces:
RuntimeBuilderContext
-
Constructor Summary
ConstructorDescriptionVariableRuntimeBuilderContext(CtField<?> ctField)
VariableRuntimeBuilderContext(CtParameter<?> ctParameter)
-
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<?> ctTypeReference)
@Nullable CtTypeParameter
getTypeParameter(GenericDeclaration genericDeclaration, String string)
-
Constructor Details
-
VariableRuntimeBuilderContext
-
VariableRuntimeBuilderContext
-
-
Method Details
-
addAnnotation
- Specified by:
addAnnotation
in interfaceRuntimeBuilderContext
-
addTypeReference
- Specified by:
addTypeReference
in interfaceRuntimeBuilderContext
-
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
-