Class AllocateInstanceFunction.ForJava7
- java.lang.Object
-
- io.github.toolfactory.jvm.function.catalog.AllocateInstanceFunction.ForJava7
-
- All Implemented Interfaces:
AllocateInstanceFunction
,ThrowingFunction<java.lang.Class<?>,java.lang.Object,java.lang.Throwable>
- Enclosing interface:
- AllocateInstanceFunction
public static class AllocateInstanceFunction.ForJava7 extends java.lang.Object implements AllocateInstanceFunction
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.github.toolfactory.jvm.function.catalog.AllocateInstanceFunction
AllocateInstanceFunction.ForJava7, AllocateInstanceFunction.Native
-
-
Field Summary
Fields Modifier and Type Field Description (package private) sun.misc.Unsafe
unsafe
-
Constructor Summary
Constructors Constructor Description ForJava7(java.util.Map<java.lang.Object,java.lang.Object> context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
apply(java.lang.Class<?> input)
-
-
-
Method Detail
-
apply
public java.lang.Object apply(java.lang.Class<?> input) throws java.lang.InstantiationException
- Specified by:
apply
in interfaceThrowingFunction<java.lang.Class<?>,java.lang.Object,java.lang.Throwable>
- Throws:
java.lang.InstantiationException
-
-