@HashCodeAndEqualsPlugin.Enhance protected static enum MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStubValue.Factory extends Enum<MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStubValue.Factory> implements MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory<MemberSubstitution.StubValue>
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>
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
public static final MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStubValue.Factory INSTANCE
public static MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStubValue.Factory[] values()
for (MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStubValue.Factory c : MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStubValue.Factory.values()) System.out.println(c);
public static MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStubValue.Factory valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Class<MemberSubstitution.StubValue> getAnnotationType()
getAnnotationType
in interface MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory<MemberSubstitution.StubValue>
public MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping make(MethodDescription.InDefinedShape target, AnnotationDescription.Loadable<MemberSubstitution.StubValue> annotation)
make
in interface MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory<MemberSubstitution.StubValue>
target
- The method that is the delegated to.annotation
- The annotation that was found on the method.public MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping make(ParameterDescription.InDefinedShape target, AnnotationDescription.Loadable<MemberSubstitution.StubValue> annotation)
make
in interface MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory<MemberSubstitution.StubValue>
target
- The parameter that is bound to an expression.annotation
- The annotation that was found on the parameter.Copyright © 2014–2024. All rights reserved.