Uses of Class
java.lang.invoke.StringConcatException
Package
Description
The
java.lang.invoke
package provides low-level primitives for interacting
with the Java Virtual Machine.-
Uses of StringConcatException in java.lang.invoke
Modifier and TypeMethodDescriptionstatic 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 facilitateStringTemplate
PREVIEW concatenation.static List
<MethodHandle> StringConcatFactory.makeConcatWithTemplateCluster
(List<String> fragments, List<Class<?>> ptypes, int maxSlots) Preview.This method breaks up large concatenations into separateMethodHandles
based on the number of slots required perMethodHandle
.static MethodHandle
StringConcatFactory.makeConcatWithTemplateGetters
(List<String> fragments, List<MethodHandle> getters, int maxSlots) Preview.This method creates aMethodHandle
expecting one input, the receiver of the supplied getters.