protected static class Implementation.Context.Default.CacheValueField extends FieldDescription.InDefinedShape.AbstractBase
FieldDescription.InDefinedShape.AbstractBase
FieldDescription.ForLoadedField, FieldDescription.InDefinedShape, FieldDescription.InGenericShape, FieldDescription.Latent, FieldDescription.SignatureToken, FieldDescription.Token, FieldDescription.TypeSubstituting
ByteCodeElement.TypeDependant<T extends ByteCodeElement.TypeDependant<?,S>,S extends ByteCodeElement.Token<S>>
AnnotationSource.Empty, AnnotationSource.Explicit
DeclaredByType.WithMandatoryDeclaration
ModifierReviewable.ForFieldDescription, ModifierReviewable.ForMethodDescription, ModifierReviewable.ForParameterDescription, ModifierReviewable.ForTypeDefinition, ModifierReviewable.OfAbstraction, ModifierReviewable.OfByteCodeElement, ModifierReviewable.OfEnumeration
NamedElement.WithDescriptor, NamedElement.WithGenericName, NamedElement.WithOptionalName, NamedElement.WithRuntimeName
NO_DEFAULT_VALUE
NON_GENERIC_SIGNATURE
EMPTY_MASK
EMPTY_NAME, NO_NAME
Modifier | Constructor and Description |
---|---|
protected |
CacheValueField(TypeDescription instrumentedType,
TypeDescription.Generic fieldType,
String suffix,
int hashCode)
Creates a new cache value field.
|
Modifier and Type | Method and Description |
---|---|
AnnotationList |
getDeclaredAnnotations()
Returns a list of annotations that are declared by this instance.
|
TypeDescription |
getDeclaringType()
Returns the declaring type of this instance.
|
int |
getModifiers()
Returns the modifier that is described by this object.
|
String |
getName()
Returns the binary name of this byte code element.
|
TypeDescription.Generic |
getType()
Returns the type of the described field.
|
asDefined
asSignatureToken, asToken, equals, getActualModifiers, getActualName, getDescriptor, getGenericSignature, getInternalName, hashCode, isAccessibleTo, isVisibleTo, toGenericString, toString
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, finalize, getClass, notify, notifyAll, wait, wait, wait
asSignatureToken, getActualModifiers
isAccessibleTo, isVisibleTo
getDescriptor, getGenericSignature
getFieldManifestation, getFieldPersistence, isTransient, isVolatile
getEnumerationState, isEnum
getOwnership, getVisibility, isDeprecated, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic
getSyntheticState, isFinal, isSynthetic
toGenericString
getInternalName
getActualName
asToken
protected CacheValueField(TypeDescription instrumentedType, TypeDescription.Generic fieldType, String suffix, int hashCode)
instrumentedType
- The instrumented type.fieldType
- The type of the cache's field.suffix
- The suffix to use for the cache field's name.hashCode
- The hash value of the field's value for creating a unique field name.public TypeDescription.Generic getType()
public AnnotationList getDeclaredAnnotations()
@Nonnull public TypeDescription getDeclaringType()
null
if no such type exists.public int getModifiers()
public String getName()
Copyright © 2014–2023. All rights reserved.