public class TypeReferenceRuntimeBuilderContext
extends java.lang.Object
Constructor and Description |
---|
TypeReferenceRuntimeBuilderContext(java.lang.reflect.Type type,
CtTypeReference<?> typeReference) |
Modifier and Type | Method and Description |
---|---|
void |
addAnnotation(CtAnnotation<java.lang.annotation.Annotation> ctAnnotation) |
void |
addConstructor(CtConstructor<?> ctConstructor) |
void |
addEnumValue(CtEnumValue<?> ctEnumValue) |
void |
addField(CtField<?> ctField) |
void |
addFormalType(CtTypeParameter parameterRef) |
void |
addMethod(CtMethod<?> ctMethod) |
void |
addPackage(CtPackage ctPackage) |
void |
addParameter(CtParameter ctParameter) |
void |
addType(CtType<?> aType) |
void |
addTypeReference(CtRole role,
CtTypeReference<?> ctTypeReference) |
boolean |
equals(java.lang.Object o) |
CtTypeParameter |
getTypeParameter(java.lang.reflect.GenericDeclaration genericDeclaration,
java.lang.String string) |
int |
hashCode() |
public TypeReferenceRuntimeBuilderContext(java.lang.reflect.Type type, CtTypeReference<?> typeReference)
public void addPackage(CtPackage ctPackage)
addPackage
in interface RuntimeBuilderContext
public void addTypeReference(CtRole role, CtTypeReference<?> ctTypeReference)
addTypeReference
in interface RuntimeBuilderContext
public void addAnnotation(CtAnnotation<java.lang.annotation.Annotation> ctAnnotation)
addAnnotation
in interface RuntimeBuilderContext
public void addFormalType(CtTypeParameter parameterRef)
addFormalType
in interface RuntimeBuilderContext
public CtTypeParameter getTypeParameter(java.lang.reflect.GenericDeclaration genericDeclaration, java.lang.String string)
getTypeParameter
in interface RuntimeBuilderContext
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void addType(CtType<?> aType)
addType
in interface RuntimeBuilderContext
public void addConstructor(CtConstructor<?> ctConstructor)
addConstructor
in interface RuntimeBuilderContext
public void addMethod(CtMethod<?> ctMethod)
addMethod
in interface RuntimeBuilderContext
public void addField(CtField<?> ctField)
addField
in interface RuntimeBuilderContext
public void addEnumValue(CtEnumValue<?> ctEnumValue)
addEnumValue
in interface RuntimeBuilderContext
public void addParameter(CtParameter ctParameter)
addParameter
in interface RuntimeBuilderContext
Copyright © 2007–2021 Inria. All rights reserved.