Package net.bytebuddy.implementation
Interface Implementation.SpecialMethodInvocation
-
- All Superinterfaces:
StackManipulation
- All Known Implementing Classes:
Implementation.SpecialMethodInvocation.AbstractBase
,Implementation.SpecialMethodInvocation.Illegal
,Implementation.SpecialMethodInvocation.Simple
,RebaseImplementationTarget.RebasedMethodInvocation
- Enclosing interface:
- Implementation
public static interface Implementation.SpecialMethodInvocation extends StackManipulation
Represents an type-specific method invocation on the current instrumented type which is not legal from outside the type such as a super method or default method invocation. Legal instances of special method invocations must be equal to one another if they represent the same invocation target.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface 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 illegalImplementation.SpecialMethodInvocation
.static class
Implementation.SpecialMethodInvocation.Simple
A canonical implementation of aImplementation.SpecialMethodInvocation
.-
Nested classes/interfaces inherited from interface net.bytebuddy.implementation.bytecode.StackManipulation
StackManipulation.Compound, StackManipulation.Size, StackManipulation.Trivial
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MethodDescription
getMethodDescription()
Returns the method that represents this special method invocation.TypeDescription
getTypeDescription()
Returns the target type the represented method is invoked on.-
Methods inherited from interface net.bytebuddy.implementation.bytecode.StackManipulation
apply, isValid
-
-
-
-
Method Detail
-
getMethodDescription
MethodDescription getMethodDescription()
Returns the method that represents this special method invocation. This method can be different even for equal special method invocations, dependant on the method that was used to request such an invocation by the means of aImplementation.Target
.- Returns:
- The method description that describes this instances invocation target.
-
getTypeDescription
TypeDescription getTypeDescription()
Returns the target type the represented method is invoked on.- Returns:
- The type the represented method is invoked on.
-
-