public static interface MemberSubstitution.Substitution.ForFieldAccess.FieldResolver
|Modifier and Type||Interface and Description|
A field matcher that resolves a non-static field on the first parameter type of the substituted member usage.
A simple field resolver that returns a specific field.
FieldDescription resolve(TypeDescription targetType, ByteCodeElement target, TypeList.Generic parameters, TypeDescription.Generic result)
targetType- The target type on which a member is accessed.
target- The target field, method or constructor that is substituted,
parameters- All parameters that serve as input to this access.
result- The result that is expected from the interaction or
voidif no result is expected.
Copyright © 2014–2019. All rights reserved.