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 booleanequals(java.lang.Object other)inthashCode()booleanisValid()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:
isValidin interfaceStackManipulation- Returns:
- If
false, this manipulation cannot be applied and should throw an exception.
-
hashCode
@Enhance("hashCode") public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
-