public abstract static class TypeDescription.Generic.AbstractBase extends ModifierReviewable.AbstractBase implements TypeDescription.Generic
TypeDescription.Generic.AbstractBase, TypeDescription.Generic.AnnotationReader, TypeDescription.Generic.Builder, TypeDescription.Generic.LazyProjection, TypeDescription.Generic.OfGenericArray, TypeDescription.Generic.OfNonGenericType, TypeDescription.Generic.OfParameterizedType, TypeDescription.Generic.OfTypeVariable, TypeDescription.Generic.OfWildcardType, TypeDescription.Generic.Visitor<T>
TypeDefinition.Sort, TypeDefinition.SuperClassIterator
NamedElement.WithDescriptor, NamedElement.WithGenericName, NamedElement.WithOptionalName, NamedElement.WithRuntimeName
ModifierReviewable.ForFieldDescription, ModifierReviewable.ForMethodDescription, ModifierReviewable.ForParameterDescription, ModifierReviewable.ForTypeDefinition, ModifierReviewable.OfAbstraction, ModifierReviewable.OfByteCodeElement, ModifierReviewable.OfEnumeration
AnnotationSource.Empty, AnnotationSource.Explicit
ANNOTATION, CLASS, OBJECT, UNDEFINED, VOID
RAW_TYPES_PROPERTY
EMPTY_NAME, NO_NAME
EMPTY_MASK
Constructor and Description |
---|
AbstractBase() |
Modifier and Type | Method and Description |
---|---|
TypeDescription.Generic |
asGenericType()
Returns this type definition as a generic type.
|
TypeDescription.Generic |
asRawType()
Returns this type as a raw type.
|
int |
getModifiers()
Returns the modifier that is described by this object.
|
boolean |
represents(Type type)
Checks if the type described by this instance represents
type . |
getEnumerationState, getFieldManifestation, getFieldPersistence, getMethodManifestation, getMethodStrictness, getOwnership, getParameterManifestation, getProvisioningState, getSynchronizationState, getSyntheticState, getTypeManifestation, getVisibility, isAbstract, isAnnotation, isBridge, isDeprecated, isEnum, isFinal, isInterface, isMandated, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrict, isSynchronized, isSynthetic, isTransient, isVarArgs, isVolatile
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accept, findBindingOf, getComponentType, getDeclaredFields, getDeclaredMethods, getLowerBounds, getOwnerType, getRecordComponents, getSymbol, getTypeArguments, getTypeVariableSource, getUpperBounds
asErasure, getInterfaces, getSort, getStackSize, getSuperClass, getTypeName, isArray, isPrimitive, isRecord
getActualName
getTypeManifestation, isAnnotation, isInterface
isAbstract
getEnumerationState, isEnum
getOwnership, getVisibility, isDeprecated, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic
getSyntheticState, isFinal, isSynthetic
forEach, iterator, spliterator
getDeclaredAnnotations
public int getModifiers()
getModifiers
in interface ModifierReviewable
public TypeDescription.Generic asGenericType()
asGenericType
in interface TypeDefinition
public TypeDescription.Generic asRawType()
asErasure().asGenericType()
.asRawType
in interface TypeDescription.Generic
public boolean represents(Type type)
type
.represents
in interface TypeDefinition
type
- The type of interest.true
if the type described by this instance represents type
.Copyright © 2014–2021. All rights reserved.