# Uses of Class
java.lang.invoke.StringConcatException

Packages that use StringConcatException
Package
Description
java.lang.invoke
The `java.lang.invoke` package provides low-level primitives for interacting with the Java Virtual Machine.

## Uses of StringConcatException in java.lang.invoke

Methods in java.lang.invoke that throw StringConcatException
Modifier and Type
Method
Description
`static CallSite`
StringConcatFactory.`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 CallSite`
StringConcatFactory.`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 MethodHandle`
StringConcatFactory.`makeConcatWithTemplate(List<String> fragments, List<Class<?>> ptypes)`
Preview.
Simplified concatenation method to facilitate `StringTemplate`PREVIEW concatenation.
`static List<MethodHandle>`
StringConcatFactory.`makeConcatWithTemplateCluster(List<String> fragments, List<Class<?>> ptypes, int maxSlots)`
Preview.
This method breaks up large concatenations into separate `MethodHandles` based on the number of slots required per `MethodHandle`.
`static MethodHandle`
StringConcatFactory.`makeConcatWithTemplateGetters(List<String> fragments, List<MethodHandle> getters, int maxSlots)`
Preview.
This method creates a `MethodHandle` expecting one input, the receiver of the supplied getters.