public interface ExtendedDeclaredType extends ExtendedReferenceType
ExtendedTypeMirror variant for DeclaredType.| 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 ExtendedTypeMirror> |
getTypeArguments()
Returns the actual type arguments of 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 ExtendedTypeMirror> getTypeArguments()
Outer<String>.Inner<Number>), only the type
arguments of the innermost type are included.