Uses of Interface
jdk.dynalink.Operation
Packages that use Operation
-
Uses of Operation in jdk.dynalink
Classes in jdk.dynalink that implement Operation修饰符和类Class描述final 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.Methods in jdk.dynalink that return Operation修饰符和类方法描述NamedOperation.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.Methods in jdk.dynalink with parameters of type Operation修饰符和类方法描述final 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.Constructors in jdk.dynalink with parameters of type OperationModifierConstructor描述CallSiteDescriptor
(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.