Class TypeParameterElementImpl
java.lang.Object
org.vesalainen.bcc.model.ElementImpl
org.vesalainen.bcc.model.TypeParameterElementImpl
- All Implemented Interfaces:
AnnotatedConstruct, Element, TypeParameterElement, UpdateableElement
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate List<TypeMirror> private Parameterizableprivate TypeVariableFields inherited from class ElementImpl
annotations, enclosingElement, kind, modifiers, simpleName -
Constructor Summary
ConstructorsConstructorDescriptionTypeParameterElementImpl(TypeVariable<?> typeVariable) TypeParameterElementImpl(String simpleName, Parameterizable genericElement, TypeMirror... bounds) -
Method Summary
Modifier and TypeMethodDescription<R,P> R accept(ElementVisitor<R, P> v, P p) asType()boolean<A extends Annotation>
AgetAnnotation(Class<A> annotationType) List<? extends AnnotationMirror> <A extends Annotation>
A[]getAnnotationsByType(Class<A> annotationType) List<? extends TypeMirror> inthashCode()(package private) voidinit(TypeVariable<?> typeVariable) Methods inherited from class ElementImpl
getKind, getSimpleName, setEnclosingElement, setModifiers, setSimpleName, toStringMethods inherited from interface Element
getKind, getSimpleName
-
Field Details
-
type
-
genericElement
-
bounds
-
-
Constructor Details
-
TypeParameterElementImpl
TypeParameterElementImpl(String simpleName, Parameterizable genericElement, TypeMirror... bounds) -
TypeParameterElementImpl
TypeParameterElementImpl(TypeVariable<?> typeVariable)
-
-
Method Details
-
init
-
getEnclosingElement
- Specified by:
getEnclosingElementin interfaceElement- Specified by:
getEnclosingElementin interfaceTypeParameterElement- Overrides:
getEnclosingElementin classElementImpl
-
getEnclosedElements
- Specified by:
getEnclosedElementsin interfaceElement
-
accept
-
getGenericElement
- Specified by:
getGenericElementin interfaceTypeParameterElement
-
getBounds
- Specified by:
getBoundsin interfaceTypeParameterElement
-
getAnnotationMirrors
- Specified by:
getAnnotationMirrorsin interfaceAnnotatedConstruct- Specified by:
getAnnotationMirrorsin interfaceElement- Overrides:
getAnnotationMirrorsin classElementImpl
-
getAnnotation
- Specified by:
getAnnotationin interfaceAnnotatedConstruct- Specified by:
getAnnotationin interfaceElement- Overrides:
getAnnotationin classElementImpl
-
getModifiers
- Specified by:
getModifiersin interfaceElement- Overrides:
getModifiersin classElementImpl
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceElement- Overrides:
hashCodein classElementImpl
-
equals
- Specified by:
equalsin interfaceElement- Overrides:
equalsin classElementImpl
-
asType
- Specified by:
asTypein interfaceElement- Specified by:
asTypein interfaceTypeParameterElement
-
getAnnotationsByType
- Specified by:
getAnnotationsByTypein interfaceAnnotatedConstruct- Specified by:
getAnnotationsByTypein interfaceElement
-