Uses of Interface
jdk.dynalink.Operation
Package
Description
Contains interfaces and classes that are used to link an
invokedynamic
call site.-
Uses of Operation in jdk.dynalink
Modifier and TypeClassDescriptionfinal class
Operation that associates a name with another operation.final class
Describes an operation that operates on at least oneNamespace
of an object.enum
Defines the standard dynamic operations.Modifier and TypeMethodDescriptionNamedOperation.getBaseOperation()
Returns the base operation of this named operation.static Operation
NamedOperation.getBaseOperation
(Operation op) If the passed operation is a named operation, returns itsNamedOperation.getBaseOperation()
, otherwise returns the operation as is.NamespaceOperation.getBaseOperation()
Returns the base operation of this named operation.static Operation
NamespaceOperation.getBaseOperation
(Operation op) If the passed operation is a namespace operation, returns itsNamespaceOperation.getBaseOperation()
, otherwise returns the operation as is.final Operation
CallSiteDescriptor.getOperation()
Returns the operation at the call site.Modifier and TypeMethodDescriptionfinal CallSiteDescriptor
CallSiteDescriptor.changeOperation
(Operation newOperation) Finds or creates a call site descriptor that only differs in its operation from this descriptor.protected CallSiteDescriptor
CallSiteDescriptor.changeOperationInternal
(Operation newOperation) Finds or creates a call site descriptor that only differs in its operation from this descriptor.static boolean
Returns true if the specified operation is aNamespaceOperation
and its base operation is equal to the specified operation, and it contains the specified namespace.static StandardNamespace
If the passed in operation is aNamespaceOperation
, or aNamedOperation
wrapping aNamespaceOperation
, then it returns the first (if any)StandardNamespace
in its namespace list.static Operation
NamedOperation.getBaseOperation
(Operation op) If the passed operation is a named operation, returns itsNamedOperation.getBaseOperation()
, otherwise returns the operation as is.static Operation
NamespaceOperation.getBaseOperation
(Operation op) If the passed operation is a namespace operation, returns itsNamespaceOperation.getBaseOperation()
, otherwise returns the operation as is.static Object
If the passed operation is a named operation, returns itsNamedOperation.getName()
, otherwise returns null.static Namespace[]
NamespaceOperation.getNamespaces
(Operation op) If the passed operation is a namespace operation, returns itsNamespaceOperation.getNamespaces()
, otherwise returns an empty array.ModifierConstructorDescriptionCallSiteDescriptor
(MethodHandles.Lookup lookup, Operation operation, MethodType methodType) Creates a new call site descriptor.NamedOperation
(Operation baseOperation, Object name) Creates a new named operation.NamespaceOperation
(Operation baseOperation, Namespace... namespaces) Constructs a new namespace operation.