org.eclipse.jdt.internal.compiler.apt.model
Class DeclaredTypeImpl
java.lang.Object
org.eclipse.jdt.internal.compiler.apt.model.TypeMirrorImpl
org.eclipse.jdt.internal.compiler.apt.model.DeclaredTypeImpl
- All Implemented Interfaces:
- DeclaredType, ReferenceType, TypeMirror
- Direct Known Subclasses:
- ErrorTypeImpl
public class DeclaredTypeImpl
- extends TypeMirrorImpl
- implements 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.
asElement
public Element asElement()
- Specified by:
asElement in interface DeclaredType
getEnclosingType
public TypeMirror getEnclosingType()
- Specified by:
getEnclosingType in interface DeclaredType
getTypeArguments
public List<? extends TypeMirror> getTypeArguments()
- Specified by:
getTypeArguments in interface DeclaredType
accept
public <R,P> R accept(TypeVisitor<R,P> v,
P p)
- Specified by:
accept in interface TypeMirror- Overrides:
accept in class TypeMirrorImpl
getKind
public TypeKind getKind()
- Specified by:
getKind in interface TypeMirror- Overrides:
getKind in class TypeMirrorImpl
toString
public String toString()
- Specified by:
toString in interface TypeMirror- Overrides:
toString in class TypeMirrorImpl
Copyright © 2012. All Rights Reserved.