Package net.ME1312.Galaxi.Library
Class Access.Constructor
java.lang.Object
net.ME1312.Galaxi.Library.Access.Constructor
- Enclosing class:
- Access
Constructor Accessor Class
-
Method Summary
Modifier and TypeMethodDescriptionbind()
Finalize and cache the constructorclone()
Create an editable clone of this accessorhandle()
Finalize, cache, and select the constructor<R> R
invoke()
Finalize, cache, select, and invoke the constructor (with zero arguments)<R> R
invoke
(Try.Function<MethodHandle, Object> invocation) Finalize, cache, select, and invoke the constructorClass<?>[]
Get the parameter types of this constructorparameters
(Class<?>... types) Define the parameters of this constructor
If this method is not called, it is assumed that there are no parameters
-
Method Details
-
clone
Create an editable clone of this accessor- Returns:
- Cloned Constructor Accessor
-
parameters
Define the parameters of this constructor
If this method is not called, it is assumed that there are no parameters- Parameters:
types
- Parameter Types
-
parameters
Get the parameter types of this constructor- Returns:
- Parameter Types
-
bind
Finalize and cache the constructor- Throws:
Throwable
-
handle
Finalize, cache, and select the constructor- Returns:
- MethodHandle
- Throws:
Throwable
-
invoke
Finalize, cache, select, and invoke the constructor (with zero arguments)- Returns:
- Constructed Object
- Throws:
Throwable
-
invoke
Finalize, cache, select, and invoke the constructor- Parameters:
invocation
- Invocation Instruction- Returns:
- Constructed Object
- Throws:
Throwable
-