protected static class Implementation.Context.Default.CacheValueField extends FieldDescription.InDefinedShape.AbstractBase
FieldDescription.InDefinedShape.AbstractBaseFieldDescription.ForLoadedField, FieldDescription.InDefinedShape, FieldDescription.InGenericShape, FieldDescription.Latent, FieldDescription.SignatureToken, FieldDescription.Token, FieldDescription.TypeSubstitutingByteCodeElement.TypeDependant<T extends ByteCodeElement.TypeDependant<?,S>,S extends ByteCodeElement.Token<S>>NamedElement.WithGenericName, NamedElement.WithRuntimeNameNO_DEFAULT_VALUENON_GENERIC_SIGNATUREEMPTY_MASKEMPTY_NAME, NO_NAME| Modifier | Constructor and Description |
|---|---|
protected |
CacheValueField(TypeDescription instrumentedType,
TypeDescription.Generic fieldType,
String suffix,
int valueHashCode)
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 internalName of this byte code element.
|
TypeDescription.Generic |
getType()
Returns the type of the described field.
|
asDefinedasSignatureToken, asToken, equals, getDescriptor, getGenericSignature, getInternalName, getSourceCodeName, hashCode, isVisibleTo, toGenericString, toStringisAbstract, isAnnotation, isBridge, isDeprecated, isEnum, isFinal, isInterface, isMandated, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrict, isSuper, isSynchronized, isSynthetic, isTransient, isVarArgs, isVolatileclone, finalize, getClass, notify, notifyAll, wait, wait, waitasSignatureTokengetDescriptor, getGenericSignature, isVisibleToisAbstract, isAnnotation, isBridge, isDeprecated, isEnum, isFinal, isInterface, isMandated, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrict, isSuper, isSynchronized, isSynthetic, isTransient, isVarArgs, isVolatiletoGenericStringgetInternalNamegetSourceCodeNameasTokenprotected CacheValueField(TypeDescription instrumentedType, TypeDescription.Generic fieldType, String suffix, int valueHashCode)
instrumentedType - The instrumented type.fieldType - The type of the cache's field.suffix - The suffix to use for the cache field's name.valueHashCode - The hash value of the field's value for creating a unique field name.public TypeDescription.Generic getType()
FieldDescriptionpublic AnnotationList getDeclaredAnnotations()
AnnotatedCodeElementpublic TypeDescription getDeclaringType()
DeclaredByTypenull if no such type exists.public int getModifiers()
ModifierReviewablepublic String getName()
NamedElement.WithRuntimeNameCopyright © 2014–2016. All rights reserved.