net.sf.jelly.apt.decorations.type
Class DecoratedDeclaredType
java.lang.Object
net.sf.jelly.apt.decorations.type.DecoratedTypeMirror
net.sf.jelly.apt.decorations.type.DecoratedReferenceType
net.sf.jelly.apt.decorations.type.DecoratedDeclaredType
- All Implemented Interfaces:
- com.sun.mirror.type.DeclaredType, com.sun.mirror.type.ReferenceType, com.sun.mirror.type.TypeMirror
- Direct Known Subclasses:
- DecoratedClassType, DecoratedInterfaceType
public class DecoratedDeclaredType
- extends DecoratedReferenceType
- implements com.sun.mirror.type.DeclaredType
A decorated declared type provides a property for getting its actual type parameters as a list
(so they can be accessed with the [] operator in expression language).
- Author:
- Ryan Heaton
| Methods inherited from class net.sf.jelly.apt.decorations.type.DecoratedTypeMirror |
equals, getDocComment, isAnnotation, isArray, isClass, isCollection, isEnum, isInterface, isPrimitive, isTypeVariable, isVoid, isWildcard, setDocComment, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.sun.mirror.type.TypeMirror |
equals, toString |
DecoratedDeclaredType
public DecoratedDeclaredType(com.sun.mirror.type.DeclaredType delegate)
getDeclaration
public com.sun.mirror.declaration.TypeDeclaration getDeclaration()
- Specified by:
getDeclaration in interface com.sun.mirror.type.DeclaredType
getContainingType
public com.sun.mirror.type.DeclaredType getContainingType()
- Specified by:
getContainingType in interface com.sun.mirror.type.DeclaredType
getActualTypeArguments
public java.util.Collection<com.sun.mirror.type.TypeMirror> getActualTypeArguments()
- Specified by:
getActualTypeArguments in interface com.sun.mirror.type.DeclaredType
getSuperinterfaces
public java.util.Collection<com.sun.mirror.type.InterfaceType> getSuperinterfaces()
- Specified by:
getSuperinterfaces in interface com.sun.mirror.type.DeclaredType
isDeclared
public boolean isDeclared()
- Overrides:
isDeclared in class DecoratedTypeMirror
isInstanceOf
public boolean isInstanceOf(java.lang.String className)
- Overrides:
isInstanceOf in class DecoratedTypeMirror
accept
public void accept(com.sun.mirror.util.TypeVisitor v)
- Specified by:
accept in interface com.sun.mirror.type.TypeMirror- Overrides:
accept in class DecoratedReferenceType