Class DecoratedTypes
- java.lang.Object
-
- com.webcohesion.enunciate.javac.decorations.DecoratedTypes
-
-
Constructor Summary
Constructors Constructor Description DecoratedTypes(Types delegate, DecoratedProcessingEnvironment env)
-
Method Summary
-
-
-
Constructor Detail
-
DecoratedTypes
public DecoratedTypes(Types delegate, DecoratedProcessingEnvironment env)
-
-
Method Detail
-
asElement
public Element asElement(TypeMirror t)
-
capture
public TypeMirror capture(TypeMirror t)
-
getNullType
public NullType getNullType()
- Specified by:
getNullTypein interfaceTypes
-
getPrimitiveType
public PrimitiveType getPrimitiveType(TypeKind kind)
- Specified by:
getPrimitiveTypein interfaceTypes
-
getDeclaredType
public DeclaredType getDeclaredType(TypeElement type, TypeMirror... typeArgs)
- Specified by:
getDeclaredTypein interfaceTypes
-
getDeclaredType
public DeclaredType getDeclaredType(DeclaredType containing, TypeElement type, TypeMirror... typeArgs)
- Specified by:
getDeclaredTypein interfaceTypes
-
erasure
public TypeMirror erasure(TypeMirror t)
-
getWildcardType
public WildcardType getWildcardType(TypeMirror extendsBound, TypeMirror superBound)
- Specified by:
getWildcardTypein interfaceTypes
-
isSameType
public boolean isSameType(TypeMirror t1, TypeMirror t2)
- Specified by:
isSameTypein interfaceTypes
-
isSubtype
public boolean isSubtype(TypeMirror t1, TypeMirror t2)
-
boxedClass
public TypeElement boxedClass(PrimitiveType p)
- Specified by:
boxedClassin interfaceTypes
-
getArrayType
public ArrayType getArrayType(TypeMirror componentType)
- Specified by:
getArrayTypein interfaceTypes
-
contains
public boolean contains(TypeMirror t1, TypeMirror t2)
-
isSubsignature
public boolean isSubsignature(ExecutableType m1, ExecutableType m2)
- Specified by:
isSubsignaturein interfaceTypes
-
isAssignable
public boolean isAssignable(TypeMirror t1, TypeMirror t2)
- Specified by:
isAssignablein interfaceTypes
-
directSupertypes
public List<? extends TypeMirror> directSupertypes(TypeMirror t)
- Specified by:
directSupertypesin interfaceTypes
-
asMemberOf
public TypeMirror asMemberOf(DeclaredType containing, Element element)
- Specified by:
asMemberOfin interfaceTypes
-
unboxedType
public PrimitiveType unboxedType(TypeMirror t)
- Specified by:
unboxedTypein interfaceTypes
-
-