Package net.bytebuddy.implementation
Class ExceptionMethod.ConstructionDelegate.ForDefaultConstructor
- java.lang.Object
-
- net.bytebuddy.implementation.ExceptionMethod.ConstructionDelegate.ForDefaultConstructor
-
- All Implemented Interfaces:
ExceptionMethod.ConstructionDelegate
- Enclosing interface:
- ExceptionMethod.ConstructionDelegate
public static class ExceptionMethod.ConstructionDelegate.ForDefaultConstructor extends java.lang.Object implements ExceptionMethod.ConstructionDelegate
A construction delegate that calls the default constructor.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.implementation.ExceptionMethod.ConstructionDelegate
ExceptionMethod.ConstructionDelegate.ForDefaultConstructor, ExceptionMethod.ConstructionDelegate.ForStringConstructor
-
-
Constructor Summary
Constructors Constructor Description ForDefaultConstructor(TypeDescription exceptionType)
Creates a new construction delegate that calls a default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StackManipulation
make()
Creates a stack manipulation that creates pushes all constructor arguments onto the operand stack and subsequently calls the constructor.
-
-
-
Constructor Detail
-
ForDefaultConstructor
public ForDefaultConstructor(TypeDescription exceptionType)
Creates a new construction delegate that calls a default constructor.- Parameters:
exceptionType
- The type of the isThrowable.
-
-
Method Detail
-
make
public StackManipulation make()
Description copied from interface:ExceptionMethod.ConstructionDelegate
Creates a stack manipulation that creates pushes all constructor arguments onto the operand stack and subsequently calls the constructor.- Specified by:
make
in interfaceExceptionMethod.ConstructionDelegate
- Returns:
- A stack manipulation for constructing a isThrowable.
-
-