- 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 intgetPriority()MethodHandles.Lookuprun()
-
-
-
Method Detail
-
getPriority
public int getPriority()
- Specified by:
getPriorityin interfacenet.kemuri9.invoke.GetFullAccess
-
run
public MethodHandles.Lookup run() throws Exception
- Specified by:
runin interfacenet.kemuri9.invoke.GetFullAccess- Specified by:
runin interfacePrivilegedExceptionAction<MethodHandles.Lookup>- Throws:
Exception
-
-