T - The type of the annotation.@HashCodeAndEqualsPlugin.Enhance public static class MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStackManipulation.Factory<T extends Annotation> extends MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory.AbstractBase<T>
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory.AbstractBase<S extends Annotation>, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory.Simple<S extends Annotation>, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory.WithParameterSupportOnly<S extends Annotation>| Constructor and Description | 
|---|
| Factory(Class<T> annotationType,
       ConstantValue value)Creates a factory for a given constant value. | 
| Factory(Class<T> annotationType,
       StackManipulation stackManipulation,
       TypeDescription.Generic typeDescription)Creates a factory for a given stack manipulation. | 
| Modifier and Type | Method and Description | 
|---|---|
| Class<T> | getAnnotationType()Returns the type of the annotation for this factory. | 
| protected MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping | make(TypeDescription.Generic target,
    AnnotationDescription.Loadable<T> annotation)Returns an offset mapping for the bound method target or parameter. | 
make, makepublic Factory(Class<T> annotationType, ConstantValue value)
annotationType - The value to assign to the parameter.value - The value that is bound.public Factory(Class<T> annotationType, StackManipulation stackManipulation, TypeDescription.Generic typeDescription)
annotationType - The value to assign to the parameter.stackManipulation - The stack manipulation that produces the assigned value.typeDescription - The type of the value that is produced by the stack manipulation.public Class<T> getAnnotationType()
protected MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping make(TypeDescription.Generic target, AnnotationDescription.Loadable<T> annotation)
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory.AbstractBasemake in class MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory.AbstractBase<T extends Annotation>target - The declaring type of a non-static method or a parameter type.annotation - The annotation that was found on the method or parameter.Copyright © 2014–2024. All rights reserved.