Interface ArrayTypeDetails
- All Superinterfaces:
ClassBasedTypeDetails, TypeDetails, TypeVariableScope
- All Known Implementing Classes:
ArrayTypeDetailsImpl
Models a Java array type.
-
Nested Class Summary
Nested classes/interfaces inherited from interface TypeDetails
TypeDetails.Kind -
Method Summary
Modifier and TypeMethodDescriptiondefault ArrayTypeDetailsCast this TypeDetails as a ArrayTypeDetails, throwing an exception if it cannot be.default ClassDetailsintdefault TypeDetails.KindMethods inherited from interface ClassBasedTypeDetails
getName, isImplementorMethods inherited from interface TypeDetails
asClassType, asParameterizedType, asPrimitiveType, asTypeVariable, asTypeVariableReference, asVoidType, asWildcardType, determineRawClass, determineRelativeType, isResolvedMethods inherited from interface TypeVariableScope
resolveTypeVariable
-
Method Details
-
getArrayClassDetails
ClassDetails getArrayClassDetails() -
getClassDetails
- Specified by:
getClassDetailsin interfaceClassBasedTypeDetails
-
getConstituentType
TypeDetails getConstituentType() -
getDimensions
int getDimensions() -
asArrayType
Description copied from interface:TypeDetailsCast this TypeDetails as a ArrayTypeDetails, throwing an exception if it cannot be.- Specified by:
asArrayTypein interfaceTypeDetails
-
getTypeKind
- Specified by:
getTypeKindin interfaceTypeDetails
-