Uses of Class
java.lang.invoke.CallSite
| Package | Description | 
|---|---|
| java.lang.constant | Classes and interfaces to represent nominal descriptors for run-time
 entities such as classes or method handles, and classfile entities such as
 constant pool entries or  invokedynamiccall sites. | 
| java.lang.invoke | The  java.lang.invokepackage provides low-level primitives for interacting
 with the Java Virtual Machine. | 
| jdk.dynalink.support | Contains classes that make using Dynalink more convenient by providing
 basic implementations of some classes as well as various utilities. | 
- 
Uses of CallSite in java.lang.constantMethods in java.lang.constant that return CallSite Modifier and Type Method Description CallSiteDynamicCallSiteDesc. resolveCallSiteDesc(MethodHandles.Lookup lookup)Reflectively invokes the bootstrap method with the specified arguments, and return the resultingCallSite
- 
Uses of CallSite in java.lang.invokeSubclasses of CallSite in java.lang.invoke Modifier and Type Class Description classConstantCallSiteAConstantCallSiteis aCallSitewhose target is permanent, and can never be changed.classMutableCallSiteAMutableCallSiteis aCallSitewhose target variable behaves like an ordinary field.classVolatileCallSiteAVolatileCallSiteis aCallSitewhose target acts like a volatile variable.Methods in java.lang.invoke that return CallSite Modifier and Type Method Description static CallSiteLambdaMetafactory. 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 providedMethodHandle, after appropriate type adaptation and partial evaluation of arguments.static CallSiteStringConcatFactory. makeConcat(MethodHandles.Lookup lookup, String name, MethodType concatType)Facilitates the creation of optimized String concatenation methods, that can be used to efficiently concatenate a known number of arguments of known types, possibly after type adaptation and partial evaluation of arguments.static CallSiteStringConcatFactory. makeConcatWithConstants(MethodHandles.Lookup lookup, String name, MethodType concatType, String recipe, Object... constants)Facilitates the creation of optimized String concatenation methods, that can be used to efficiently concatenate a known number of arguments of known types, possibly after type adaptation and partial evaluation of arguments.static CallSiteLambdaMetafactory. 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 providedMethodHandle, after appropriate type adaptation and partial evaluation of arguments.
- 
Uses of CallSite in jdk.dynalink.supportSubclasses of CallSite in jdk.dynalink.support Modifier and Type Class Description classAbstractRelinkableCallSiteA basic implementation of theRelinkableCallSiteas aMutableCallSite.classChainedCallSiteA relinkable call site that implements a polymorphic inline caching strategy.classSimpleRelinkableCallSiteA relinkable call site that implements monomorphic inline caching strategy, only being linked to a singleGuardedInvocationat any given time.