Class Implementation.Context.Default.FieldSetter

    • Constructor Detail

      • FieldSetter

        protected FieldSetter​(TypeDescription instrumentedType,
                              FieldDescription fieldDescription,
                              java.lang.String suffix)
        Creates a new field setter.
        Parameters:
        instrumentedType - The instrumented type.
        fieldDescription - The field for which a setter is described.
        suffix - The name suffix for the field setter method.
    • Method Detail

      • getReturnType

        public TypeDescription.Generic getReturnType()
        Description copied from interface: MethodDescription
        Returns the return type of the described method.
        Returns:
        The return type of the described method.
      • getExceptionTypes

        public TypeList.Generic getExceptionTypes()
        Description copied from interface: MethodDescription
        Returns the exception types of the described method.
        Returns:
        The exception types of the described method.
      • getDefaultValue

        public AnnotationValue<?,​?> getDefaultValue()
        Description copied from interface: MethodDescription
        Returns the method's default annotation value or null if no default value is defined for this method.
        Returns:
        The method's default annotation value or null if no default value is defined for this method.
      • getTypeVariables

        public TypeList.Generic getTypeVariables()
        Description copied from interface: TypeVariableSource
        Returns the type variables that are declared by this element.
        Returns:
        The type variables that are declared by this element.
      • 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.
      • getInternalName

        public java.lang.String getInternalName()
        Description copied from interface: NamedElement.WithRuntimeName
        Returns the internal internalName of this byte code element.
        Returns:
        The internal internalName of this byte code element as used within the Java class file format.