public static interface Implementation.SpecialMethodInvocation extends StackManipulation
Modifier and Type | Interface and Description |
---|---|
static class |
Implementation.SpecialMethodInvocation.AbstractBase
An abstract base implementation of a valid special method invocation.
|
static class |
Implementation.SpecialMethodInvocation.Illegal
A canonical implementation of an illegal
Implementation.SpecialMethodInvocation . |
static class |
Implementation.SpecialMethodInvocation.Simple
A canonical implementation of a
Implementation.SpecialMethodInvocation . |
StackManipulation.Compound, StackManipulation.Size, StackManipulation.Trivial
Modifier and Type | Method and Description |
---|---|
MethodDescription |
getMethodDescription()
Returns the method that represents this special method invocation.
|
TypeDescription |
getTypeDescription()
Returns the target type the represented method is invoked on.
|
Implementation.SpecialMethodInvocation |
withCheckedCompatibilityTo(MethodDescription.TypeToken token)
Checks that this special method invocation is compatible with the supplied type representation.
|
apply, isValid
MethodDescription getMethodDescription()
Implementation.Target
.TypeDescription getTypeDescription()
Implementation.SpecialMethodInvocation withCheckedCompatibilityTo(MethodDescription.TypeToken token)
token
- The type token to check against.Copyright © 2014–2023. All rights reserved.