- java.lang.Object
-
- net.kemuri9.invoke.unsafe.GetFullAccessUnsafe
-
- All Implemented Interfaces:
PrivilegedExceptionAction<MethodHandles.Lookup>
,net.kemuri9.invoke.GetFullAccess
public final class GetFullAccessUnsafe extends Object implements net.kemuri9.invoke.GetFullAccess
Uses Unsafe to access the full access MethodHandles.Lookup. This methodology does not incur the warning of violating reflection.
-
-
Constructor Summary
Constructors Constructor Description GetFullAccessUnsafe()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPriority()
MethodHandles.Lookup
run()
-
-
-
Method Detail
-
getPriority
public int getPriority()
- Specified by:
getPriority
in interfacenet.kemuri9.invoke.GetFullAccess
-
run
public MethodHandles.Lookup run() throws Exception
- Specified by:
run
in interfacenet.kemuri9.invoke.GetFullAccess
- Specified by:
run
in interfacePrivilegedExceptionAction<MethodHandles.Lookup>
- Throws:
Exception
-
-