Class TypesImpl
java.lang.Object
org.vesalainen.bcc.model.TypesImpl
- All Implemented Interfaces:
Types
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PrimitiveTypestatic final PrimitiveTypestatic final PrimitiveTypestatic final PrimitiveTypestatic final PrimitiveTypestatic final PrimitiveTypestatic final PrimitiveTypestatic final NoTypestatic final NullTypestatic final NoTypestatic final PrimitiveTypestatic final NoType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddInterfaces(Set<TypeMirror> set, TypeElement type) private Set<? extends TypeMirror> asMemberOf(DeclaredType containing, Element element) booleancontains(TypeMirror t1, TypeMirror t2) List<? extends TypeMirror> The direct superclass is the class from whose implementation the implementation of the current class is derived.getArrayType(TypeMirror componentType) getDeclaredType(TypeElement typeElem, TypeMirror... typeArgs) getDeclaredType(DeclaredType containing, TypeElement typeElem, TypeMirror... typeArgs) getPrimitiveType(TypeKind kind) getWildcardType(TypeMirror extendsBound, TypeMirror superBound) booleanisAssignable(TypeMirror t1, TypeMirror t2) booleanisSameType(TypeMirror t1, TypeMirror t2) booleanbooleanisSubtype(TypeMirror sub, TypeMirror sup) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Types
stripAnnotations
-
Field Details
-
Null
-
Void
-
Package
-
None
-
Byte
-
Boolean
-
Char
-
Short
-
Int
-
Long
-
Float
-
Double
-
-
Constructor Details
-
TypesImpl
public TypesImpl()
-
-
Method Details
-
asElement
-
isSameType
- Specified by:
isSameTypein interfaceTypes
-
isSubtype
-
isAssignable
- Specified by:
isAssignablein interfaceTypes
-
contains
-
isSubsignature
- Specified by:
isSubsignaturein interfaceTypes
-
directSupertypes
The direct superclass is the class from whose implementation the implementation of the current class is derived.- Specified by:
directSupertypesin interfaceTypes- Parameters:
t-- Returns:
-
allSupertypes
-
addInterfaces
-
erasure
-
boxedClass
- Specified by:
boxedClassin interfaceTypes
-
unboxedType
- Specified by:
unboxedTypein interfaceTypes
-
capture
-
getPrimitiveType
- Specified by:
getPrimitiveTypein interfaceTypes
-
getNullType
- Specified by:
getNullTypein interfaceTypes
-
getNoType
-
getArrayType
- Specified by:
getArrayTypein interfaceTypes
-
getWildcardType
- Specified by:
getWildcardTypein interfaceTypes
-
getDeclaredType
- Specified by:
getDeclaredTypein interfaceTypes
-
getDeclaredType
public DeclaredType getDeclaredType(DeclaredType containing, TypeElement typeElem, TypeMirror... typeArgs) - Specified by:
getDeclaredTypein interfaceTypes
-
asMemberOf
- Specified by:
asMemberOfin interfaceTypes
-