Class TypeVariableImpl
java.lang.Object
org.vesalainen.bcc.model.TypeVariableImpl
- All Implemented Interfaces:
AnnotatedConstruct, ReferenceType, TypeMirror, TypeVariable
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescription(package private)<D extends GenericDeclaration>TypeVariableImpl(TypeVariable<D> typeVariable) (package private)TypeVariableImpl(TypeParameterElement element, TypeMirror... bounds) -
Method Summary
Modifier and TypeMethodDescription<R,P> R accept(TypeVisitor<R, P> v, P p) boolean<A extends Annotation>
AgetAnnotation(Class<A> annotationType) List<? extends AnnotationMirror> <A extends Annotation>
A[]getAnnotationsByType(Class<A> annotationType) getKind()inthashCode()Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface TypeMirror
toString
-
Field Details
-
element
-
upperBound
-
-
Constructor Details
-
TypeVariableImpl
TypeVariableImpl(TypeParameterElement element, TypeMirror... bounds) -
TypeVariableImpl
-
-
Method Details
-
asElement
- Specified by:
asElementin interfaceTypeVariable
-
getUpperBound
- Specified by:
getUpperBoundin interfaceTypeVariable
-
getLowerBound
- Specified by:
getLowerBoundin interfaceTypeVariable
-
getKind
- Specified by:
getKindin interfaceTypeMirror
-
accept
- Specified by:
acceptin interfaceTypeMirror
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceTypeMirror- Overrides:
hashCodein classObject
-
equals
- Specified by:
equalsin interfaceTypeMirror- Overrides:
equalsin classObject
-
getAnnotationMirrors
- Specified by:
getAnnotationMirrorsin interfaceAnnotatedConstruct- Specified by:
getAnnotationMirrorsin interfaceTypeMirror
-
getAnnotation
- Specified by:
getAnnotationin interfaceAnnotatedConstruct- Specified by:
getAnnotationin interfaceTypeMirror
-
getAnnotationsByType
- Specified by:
getAnnotationsByTypein interfaceAnnotatedConstruct- Specified by:
getAnnotationsByTypein interfaceTypeMirror
-