Constructor and Description |
---|
TypesDecorator(ProcessingEnvironment processingEnv,
VersionInformation versionInformation) |
public TypesDecorator(ProcessingEnvironment processingEnv, VersionInformation versionInformation)
public Element asElement(TypeMirror t)
public boolean isSameType(TypeMirror t1, TypeMirror t2)
isSameType
in interface Types
public boolean isSubtype(TypeMirror t1, TypeMirror t2)
public boolean isAssignable(TypeMirror t1, TypeMirror t2)
isAssignable
in interface Types
public boolean contains(TypeMirror t1, TypeMirror t2)
public boolean isSubsignature(ExecutableType m1, ExecutableType m2)
isSubsignature
in interface Types
public List<? extends TypeMirror> directSupertypes(TypeMirror t)
directSupertypes
in interface Types
public TypeMirror erasure(TypeMirror t)
public TypeElement boxedClass(PrimitiveType p)
boxedClass
in interface Types
public PrimitiveType unboxedType(TypeMirror t)
unboxedType
in interface Types
public TypeMirror capture(TypeMirror t)
public PrimitiveType getPrimitiveType(TypeKind kind)
getPrimitiveType
in interface Types
public NullType getNullType()
getNullType
in interface Types
public ArrayType getArrayType(TypeMirror componentType)
getArrayType
in interface Types
public WildcardType getWildcardType(TypeMirror extendsBound, TypeMirror superBound)
getWildcardType
in interface Types
public DeclaredType getDeclaredType(TypeElement typeElem, TypeMirror... typeArgs)
getDeclaredType
in interface Types
public DeclaredType getDeclaredType(DeclaredType containing, TypeElement typeElem, TypeMirror... typeArgs)
getDeclaredType
in interface Types
public TypeMirror asMemberOf(DeclaredType containing, Element element)
asMemberOf
in interface Types
Copyright © 2012-2015 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.