Uses of Class java.lang.invoke.CallSite (Java Platform SE 8 )
Date: 2015-11-18

## Uses of Class
java.lang.invoke.CallSite

- Packages that use CallSite
  Package | Description
  --- | ---
  java.lang.invoke | The `java.lang.invoke` package contains dynamic language support provided directly by the Java core class libraries and virtual machine.

- - ### Uses of CallSite in java.lang.invoke

    Subclasses of CallSite in java.lang.invoke
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ConstantCallSite` A `ConstantCallSite` is a `CallSite` whose target is permanent, and can never be changed.
    `class` | `MutableCallSite` A `MutableCallSite` is a `CallSite` whose target variable behaves like an ordinary field.
    `class` | `VolatileCallSite` A `VolatileCallSite` is a `CallSite` whose target acts like a volatile variable.

    Methods in java.lang.invoke that return CallSite
    Modifier and Type | Method and Description
    --- | ---
    `static CallSite` | LambdaMetafactory.`altMetafactory(MethodHandles.Lookup caller, String invokedName, MethodType invokedType, Object... args)` Facilitates the creation of simple "function objects" that implement one or more interfaces by delegation to a provided `MethodHandle`, after appropriate type adaptation and partial evaluation of arguments.
    `static CallSite` | LambdaMetafactory.`metafactory(MethodHandles.Lookup caller, String invokedName, MethodType invokedType, MethodType samMethodType, MethodHandle implMethod, MethodType instantiatedMethodType)` Facilitates the creation of simple "function objects" that implement one or more interfaces by delegation to a provided `MethodHandle`, after appropriate type adaptation and partial evaluation of arguments.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved.