public interface ExtendedTypeDeclaration extends ExtendedTypeMirror
ExtendedTypeMirror variant for DeclaredTypes representing declarations.| Modifier and Type | Method and Description |
|---|---|
Element |
asElement()
Returns the element corresponding to this type.
|
ExtendedTypeMirror |
getEnclosingType()
Returns the type of the innermost enclosing instance, or a
ExtendedNoType of kind NONE if there is no enclosing
instance. |
List<? extends ExtendedParameterDeclaration> |
getTypeParameters()
Returns the type parameters declared by this type.
|
accept, getKind, getOriginalType, isDeclarationgetAnnotation, getAnnotationMirrors, getAnnotationsByTypeElement asElement()
ExtendedTypeMirror getEnclosingType()
ExtendedNoType of kind NONE if there is no enclosing
instance. Only types corresponding to inner classes have an enclosing
instance.List<? extends ExtendedParameterDeclaration> getTypeParameters()
Outer<String>.Inner<Number>), only the type
parameters of the innermost type are included.