@HashCodeAndEqualsPlugin.Enhance public static class MemberSubstitution.Replacement.Binding.Resolved extends Object implements MemberSubstitution.Replacement.Binding
MemberSubstitution.Replacement.Binding.Resolved, MemberSubstitution.Replacement.Binding.Unresolved
Modifier | Constructor and Description |
---|---|
protected |
Resolved(TypeDescription targetType,
ByteCodeElement target,
MemberSubstitution.Substitution substitution)
Creates a new resolved binding.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isBound()
Returns
true if this binding is resolved. |
StackManipulation |
make(TypeList.Generic parameters,
TypeDescription.Generic result)
Creates a stack manipulation that represents the substitution.
|
protected Resolved(TypeDescription targetType, ByteCodeElement target, MemberSubstitution.Substitution substitution)
targetType
- The type on which a field or method was accessed.target
- The field or method that was accessed.substitution
- The substitution to apply.public boolean isBound()
true
if this binding is resolved.isBound
in interface MemberSubstitution.Replacement.Binding
true
if this binding is resolved.public StackManipulation make(TypeList.Generic parameters, TypeDescription.Generic result)
make
in interface MemberSubstitution.Replacement.Binding
parameters
- The parameters that are accessible to the substitution target.result
- The result that is expected from the substitution target or void
if none is expected.Copyright © 2014–2018. All rights reserved.