Uses of Class
java.lang.invoke.MethodHandles.Lookup.ClassOption
Package | Description |
---|---|
java.lang.invoke |
The
java.lang.invoke package provides low-level primitives for interacting
with the Java Virtual Machine. |
-
Uses of MethodHandles.Lookup.ClassOption in java.lang.invoke
Methods in java.lang.invoke that return MethodHandles.Lookup.ClassOption Modifier and Type Method Description static MethodHandles.Lookup.ClassOption
MethodHandles.Lookup.ClassOption. valueOf(String name)
Returns the enum constant of this type with the specified name.static MethodHandles.Lookup.ClassOption[]
MethodHandles.Lookup.ClassOption. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in java.lang.invoke with parameters of type MethodHandles.Lookup.ClassOption Modifier and Type Method Description MethodHandles.Lookup
MethodHandles.Lookup. defineHiddenClass(byte[] bytes, boolean initialize, MethodHandles.Lookup.ClassOption... options)
Creates a hidden class or interface frombytes
, returning aLookup
on the newly created class or interface.