Class Implementation.Context.Default.CacheValueField

    • Constructor Detail

      • CacheValueField

        protected CacheValueField​(TypeDescription instrumentedType,
                                  TypeDescription.Generic fieldType,
                                  java.lang.String suffix,
                                  int hashCode)
        Creates a new cache value field.
        Parameters:
        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.
    • Method Detail

      • getDeclaredAnnotations

        public AnnotationList getDeclaredAnnotations()
        Description copied from interface: AnnotationSource
        Returns a list of annotations that are declared by this instance.
        Returns:
        A list of declared annotations.
      • getDeclaringType

        public TypeDescription getDeclaringType()
        Description copied from interface: DeclaredByType
        Returns the declaring type of this instance.
        Returns:
        The declaring type or null if no such type exists.
      • getModifiers

        public int getModifiers()
        Description copied from interface: ModifierReviewable
        Returns the modifier that is described by this object.
        Returns:
        The modifier that is described by this object.
      • getName

        public java.lang.String getName()
        Description copied from interface: NamedElement.WithRuntimeName
        Returns the internalName of this byte code element.
        Returns:
        The internalName of this byte code element as visible from within a running Java application.