public static class MemberSubstitution.Target.ForMember extends Object implements MemberSubstitution.Target
MemberSubstitution.Target.ForDynamicInvocation, MemberSubstitution.Target.ForMember| Modifier | Constructor and Description |
|---|---|
protected |
ForMember(TypeDescription receiverType,
ByteCodeElement.Member member)
Creates a new target for a member that is being accessed.
|
| Modifier and Type | Method and Description |
|---|---|
ByteCodeElement.Member |
getMember()
Returns the member that is being accessed.
|
String |
getName()
Returns the (internal) name of the target.
|
TypeDescription |
getReceiverType()
Returns the actual (sub-)type on which the member is accessed.
|
boolean |
isStaticDispatch()
Determines if the target is dispatched statically.
|
protected ForMember(TypeDescription receiverType, ByteCodeElement.Member member)
receiverType - The actual (sub-)type on which the member is accessed.member - The member that is being accessed.public String getName()
getName in interface MemberSubstitution.Targetpublic boolean isStaticDispatch()
isStaticDispatch in interface MemberSubstitution.Targettrue if the target is dispatched statically.public TypeDescription getReceiverType()
public ByteCodeElement.Member getMember()
Copyright © 2014–2025. All rights reserved.