@HashCodeAndEqualsPlugin.Enhance public static class ExceptionMethod.ConstructionDelegate.ForDefaultConstructor extends Object implements ExceptionMethod.ConstructionDelegate
ExceptionMethod.ConstructionDelegate.ForDefaultConstructor, ExceptionMethod.ConstructionDelegate.ForStringConstructor
Constructor and Description |
---|
ForDefaultConstructor(TypeDescription throwableType)
Creates a new construction delegate that calls a default constructor.
|
Modifier and Type | Method and Description |
---|---|
StackManipulation |
make()
Creates a stack manipulation that creates pushes all constructor arguments onto the operand stack
and subsequently calls the constructor.
|
public ForDefaultConstructor(TypeDescription throwableType)
throwableType
- The type of the Throwable
.public StackManipulation make()
make
in interface ExceptionMethod.ConstructionDelegate
Throwable
.Copyright © 2014–2018. All rights reserved.