Package net.bytebuddy.implementation
Class Implementation.SpecialMethodInvocation.AbstractBase
- java.lang.Object
-
- net.bytebuddy.implementation.Implementation.SpecialMethodInvocation.AbstractBase
-
- All Implemented Interfaces:
StackManipulation
,Implementation.SpecialMethodInvocation
- Direct Known Subclasses:
Implementation.SpecialMethodInvocation.Simple
,RebaseImplementationTarget.RebasedMethodInvocation
- Enclosing interface:
- Implementation.SpecialMethodInvocation
public abstract static class Implementation.SpecialMethodInvocation.AbstractBase extends java.lang.Object implements Implementation.SpecialMethodInvocation
An abstract base implementation of a valid special method invocation.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.implementation.Implementation.SpecialMethodInvocation
Implementation.SpecialMethodInvocation.AbstractBase, Implementation.SpecialMethodInvocation.Illegal, Implementation.SpecialMethodInvocation.Simple
-
Nested classes/interfaces inherited from interface net.bytebuddy.implementation.bytecode.StackManipulation
StackManipulation.Compound, StackManipulation.Size, StackManipulation.Trivial
-
-
Constructor Summary
Constructors Constructor Description AbstractBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
int
hashCode()
boolean
isValid()
Determines if this stack manipulation is valid.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.bytebuddy.implementation.Implementation.SpecialMethodInvocation
getMethodDescription, getTypeDescription, withCheckedCompatibilityTo
-
Methods inherited from interface net.bytebuddy.implementation.bytecode.StackManipulation
apply
-
-
-
-
Method Detail
-
isValid
public boolean isValid()
Determines if this stack manipulation is valid.- Specified by:
isValid
in interfaceStackManipulation
- Returns:
- If
false
, this manipulation cannot be applied and should throw an exception.
-
hashCode
@Enhance("hashCode") public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
-