| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcheckers.types.AnnotatedTypeMirror
checkers.types.AnnotatedTypeMirror.AnnotatedTypeVariable
public static class AnnotatedTypeMirror.AnnotatedTypeVariable
Represents a type variable. A type variable may be explicitly declared by a type parameter of a type, method, or constructor. A type variable may also be declared implicitly, as by the capture conversion of a wildcard type argument (see chapter 5 of The Java Language Specification, Third Edition).
| Nested Class Summary | 
|---|
| Field Summary | 
|---|
| Fields inherited from class checkers.types.AnnotatedTypeMirror | 
|---|
| annotationFactory, annotations, element, enclosingType, env, typeFactory | 
| Method Summary | ||
|---|---|---|
| 
 | accept(AnnotatedTypeVisitor<R,P> v,
       P p)Applies a visitor to this type. | |
|  boolean | equals(Object o) | |
|  Set<AnnotationMirror> | getAnnotations()Returns the annotations on this type. | |
|  AnnotatedTypeMirror.AnnotatedTypeVariable | getCopy(boolean annotation)Returns a shallow copy of this type. | |
|  AnnotatedTypeMirror | getErased()Returns the erasure type of the this type, according to JLS specifications. | |
|  AnnotatedTypeMirror | getLowerBound() | |
|  Element | getTypeVariableElement() | |
|  TypeVariable | getUnderlyingType()Returns the underlying unannotated Java type wrapped with this | |
|  AnnotatedTypeMirror | getUpperBound() | |
|  int | hashCode() | |
|  AnnotatedTypeMirror | substitute(Map<? extends AnnotatedTypeMirror,? extends AnnotatedTypeMirror> mappings)Sub | |
|  String | toString() | |
| Methods inherited from class checkers.types.AnnotatedTypeMirror | 
|---|
| addAnnotation, addAnnotations, clearAnnotations, copyFields, createType, createTypeOfObject, directSuperTypes, directSuperTypes, formatAnnotationString, getAnnotation, getAnnotation, getElement, getEnclosingType, getKind, hasAnnotation, removeAnnotation, removeAnnotations | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Method Detail | 
|---|
public <R,P> R accept(AnnotatedTypeVisitor<R,P> v,
                      P p)
AnnotatedTypeMirror
accept in class AnnotatedTypeMirrorR - the return type of the visitor's methodsP - the type of the additional parameter to the visitor's methodsv - the visitor operating on this typep - additional parameter to the visitor
public TypeVariable getUnderlyingType()
AnnotatedTypeMirror
getUnderlyingType in class AnnotatedTypeMirrorpublic Element getTypeVariableElement()
public AnnotatedTypeMirror getLowerBound()
public AnnotatedTypeMirror getUpperBound()
public AnnotatedTypeMirror.AnnotatedTypeVariable getCopy(boolean annotation)
AnnotatedTypeMirror
getCopy in class AnnotatedTypeMirrorannotation - whether copy should have annotationspublic AnnotatedTypeMirror getErased()
AnnotatedTypeMirror
getErased in class AnnotatedTypeMirrorpublic AnnotatedTypeMirror substitute(Map<? extends AnnotatedTypeMirror,? extends AnnotatedTypeMirror> mappings)
AnnotatedTypeMirror
substitute in class AnnotatedTypeMirrorpublic Set<AnnotationMirror> getAnnotations()
AnnotatedTypeMirror
getAnnotations in class AnnotatedTypeMirrorpublic String toString()
toString in class AnnotatedTypeMirrorpublic int hashCode()
hashCode in class AnnotatedTypeMirrorpublic boolean equals(Object o)
equals in class AnnotatedTypeMirror| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||