org.aspectj.org.eclipse.jdt.internal.compiler.apt.model
Class DeclaredTypeImpl
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.apt.model.TypeMirrorImpl
org.aspectj.org.eclipse.jdt.internal.compiler.apt.model.DeclaredTypeImpl
- All Implemented Interfaces:
- javax.lang.model.type.DeclaredType, javax.lang.model.type.ReferenceType, javax.lang.model.type.TypeMirror
- Direct Known Subclasses:
- ErrorTypeImpl
public class DeclaredTypeImpl
- extends TypeMirrorImpl
- implements javax.lang.model.type.DeclaredType
Implementation of DeclaredType, which refers to a particular usage or instance of a type.
Contrast with TypeElement, which is an element that potentially defines a family
of DeclaredTypes.
|
Method Summary |
|
accept(javax.lang.model.type.TypeVisitor<R,P> v,
P p)
|
javax.lang.model.element.Element |
asElement()
|
javax.lang.model.type.TypeMirror |
getEnclosingType()
|
javax.lang.model.type.TypeKind |
getKind()
|
java.util.List<? extends javax.lang.model.type.TypeMirror> |
getTypeArguments()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.lang.model.type.TypeMirror |
equals, hashCode |
asElement
public javax.lang.model.element.Element asElement()
- Specified by:
asElement in interface javax.lang.model.type.DeclaredType
getEnclosingType
public javax.lang.model.type.TypeMirror getEnclosingType()
- Specified by:
getEnclosingType in interface javax.lang.model.type.DeclaredType
getTypeArguments
public java.util.List<? extends javax.lang.model.type.TypeMirror> getTypeArguments()
- Specified by:
getTypeArguments in interface javax.lang.model.type.DeclaredType
accept
public <R,P> R accept(javax.lang.model.type.TypeVisitor<R,P> v,
P p)
- Specified by:
accept in interface javax.lang.model.type.TypeMirror- Overrides:
accept in class TypeMirrorImpl
getKind
public javax.lang.model.type.TypeKind getKind()
- Specified by:
getKind in interface javax.lang.model.type.TypeMirror- Overrides:
getKind in class TypeMirrorImpl
toString
public java.lang.String toString()
- Specified by:
toString in interface javax.lang.model.type.TypeMirror- Overrides:
toString in class TypeMirrorImpl