Interface Type.ArrayType
- All Superinterfaces:
Type
- Enclosing interface:
Type
Type for arrays.
-
Nested Class Summary
Nested classes/interfaces inherited from interface Type
Type.ArrayType, Type.PrimitivesModifier and TypeInterfaceDescriptionstatic interfaceType for arrays.static enumPrimitive java types. -
Field Summary
-
Method Summary
Methods inherited from interface Type
declaringType, erasure, fullyQualifiedName, getIntersectionTypes, is, isArray, isClass, isIntersectionType, isNullType, isNumerical, isParameterized, isPrimitive, isPrimitive, isPrimitiveWrapper, isRawType, isSubtypeOf, isSubtypeOf, isTypeVar, isUnknown, isVoid, name, primitiveType, primitiveWrapperType, symbol, typeArgumentsModifier and TypeMethodDescriptionReturns the declaring type of this typeerasure()Erasure of this type.Fully qualified name of the type.Type[]This method returns more than one type whenType.isIntersectionType()is true.booleanCheck whether a type is the one designed by the fully qualified name.booleanisArray()Check if this type is an array.booleanisClass()Check if this type is a class, an enum, an interface or an annotation.booleanCheck if this type is an intersection type.booleanReturns whether this type is the null typebooleanCheck if this type is a primitive numerical type.booleanCheck if the current type is a parameterized type or not.booleanCheck if this type is a primitive.booleanisPrimitive(Type.Primitives primitive) Check if this type is the given primitive.booleanCheck if this type is a primitive wrapper.booleanCheck if this type is a raw typebooleanisSubtypeOf(String fullyQualifiedName) Check whether a type is a subtype of the one designed by the fully qualified name.booleanisSubtypeOf(Type superType) Check whether a type is a subtype of another.booleanReturns whether this type represents a type variablebooleanCheck if this type has been resolved.booleanisVoid()Check if type is Void type.name()simple name of the type.Returns the type of the primitiveReturns the type of the primitive wrappersymbol()Symbol of this type.The arguments of a parameterized type, as a parameterization of a generic type.
-
Method Details
-
elementType
-