net.sf.jelly.apt.decorations.type
Class DecoratedTypeMirror

java.lang.Object
  extended by net.sf.jelly.apt.decorations.type.DecoratedTypeMirror
All Implemented Interfaces:
com.sun.mirror.type.TypeMirror
Direct Known Subclasses:
DecoratedPrimitiveType, DecoratedReferenceType, DecoratedVoidType, DecoratedWildcardType

public class DecoratedTypeMirror
extends java.lang.Object
implements com.sun.mirror.type.TypeMirror

A decorated type mirror provides:

Author:
Ryan Heaton

Field Summary
protected  com.sun.mirror.type.TypeMirror delegate
           
 
Constructor Summary
DecoratedTypeMirror(com.sun.mirror.type.TypeMirror delegate)
           
 
Method Summary
 void accept(com.sun.mirror.util.TypeVisitor v)
           
 boolean equals(java.lang.Object obj)
           
 java.lang.String getDocComment()
           
 boolean isAnnotation()
           
 boolean isArray()
           
 boolean isClass()
           
 boolean isCollection()
           
 boolean isDeclared()
           
 boolean isEnum()
           
 boolean isInstanceOf(java.lang.String className)
           
 boolean isInterface()
           
 boolean isPrimitive()
           
 boolean isReferenceType()
           
 boolean isTypeVariable()
           
 boolean isVoid()
           
 boolean isWildcard()
           
 void setDocComment(java.lang.String docComment)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

delegate

protected final com.sun.mirror.type.TypeMirror delegate
Constructor Detail

DecoratedTypeMirror

public DecoratedTypeMirror(com.sun.mirror.type.TypeMirror delegate)
Method Detail

accept

public void accept(com.sun.mirror.util.TypeVisitor v)
Specified by:
accept in interface com.sun.mirror.type.TypeMirror

equals

public boolean equals(java.lang.Object obj)
Specified by:
equals in interface com.sun.mirror.type.TypeMirror
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Specified by:
toString in interface com.sun.mirror.type.TypeMirror
Overrides:
toString in class java.lang.Object

isInstanceOf

public boolean isInstanceOf(java.lang.String className)

isAnnotation

public boolean isAnnotation()

isArray

public boolean isArray()

isCollection

public boolean isCollection()

isClass

public boolean isClass()

isDeclared

public boolean isDeclared()

isEnum

public boolean isEnum()

isInterface

public boolean isInterface()

isPrimitive

public boolean isPrimitive()

isReferenceType

public boolean isReferenceType()

isTypeVariable

public boolean isTypeVariable()

isVoid

public boolean isVoid()

isWildcard

public boolean isWildcard()

getDocComment

public java.lang.String getDocComment()

setDocComment

public void setDocComment(java.lang.String docComment)