Preview API
Show preview API for:
Contents
-
InterfacesInterfacePreview FeatureDescriptionPattern Matching for switchA marker interface for
Trees that may be used asCaseTreelabels.Pattern Matching for switchA case label element that refers to a constant expressionRecord PatternsA deconstruction pattern tree.Pattern Matching for switchA case label that marksdefaultincase null, default.Pattern Matching for switchA tree node for a parenthesized pattern.Pattern Matching for switchA case label element that refers to an expressionString TemplatesA tree node for a string template expression.Foreign Function & Memory APIA value layout used to model the address of some region of memory.Foreign Function & Memory APIAn arena controls the lifecycle of native memory segments, providing both flexible allocation and timely deallocation.Foreign Function & Memory APIA function descriptor models the signature of foreign functions.Foreign Function & Memory APIA compound layout that aggregates multiple member layouts.Foreign Function & Memory APIA linker provides access to foreign functions from Java code, and access to Java code from foreign functions.Foreign Function & Memory APIA linker option is used to indicate additional linking requirements to the linker, besides what is described by a function descriptor.Foreign Function & Memory APIA memory layout describes the contents of a memory segment.Foreign Function & Memory APIAn element in a layout path.Foreign Function & Memory APIA memory segment provides access to a contiguous region of memory.Foreign Function & Memory APIA scope models the lifetime of all the memory segments associated with it.Foreign Function & Memory APIA padding layout.Foreign Function & Memory APIAn object that may be used to allocate memory segmentsPREVIEW.Foreign Function & Memory APIA compound layout that denotes a repetition of a given element layout.Foreign Function & Memory APIA group layout whose member layouts are laid out one after the other.Foreign Function & Memory APIA symbol lookup retrieves the address of a symbol in one or more libraries.Foreign Function & Memory APIA group layout whose member layouts are laid out at the same starting offset.Foreign Function & Memory APIA layout that models values of basic data types.Foreign Function & Memory APIA value layout whose carrier isboolean.class.Foreign Function & Memory APIA value layout whose carrier isbyte.class.Foreign Function & Memory APIA value layout whose carrier ischar.class.Foreign Function & Memory APIA value layout whose carrier isdouble.class.Foreign Function & Memory APIA value layout whose carrier isfloat.class.Foreign Function & Memory APIA value layout whose carrier isint.class.Foreign Function & Memory APIA value layout whose carrier islong.class.Foreign Function & Memory APIA value layout whose carrier isshort.class.String TemplatesStringTemplatePREVIEW is the run-time representation of a string template or text block template in a template expression.String TemplatesThis interface describes the methods provided by a generalized string template processor.String TemplatesBuilt-in policies using this additional interface have the flexibility to specialize the composition of the templated string by returning a customizedMethodHandlefromlinkagePREVIEW.
-
ClassesClassPreview FeatureDescriptionPattern Matching for switchBootstrap methods for linking
invokedynamiccall sites that implement the selection functionality of theswitchstatement.String TemplatesManages string template bootstrap methods.String TemplatesThisStringTemplate.ProcessorPREVIEW constructs aStringresult usingFormatterspecifications and values found in theStringTemplatePREVIEW.
-
Enum ClassesEnum ClassPreview FeatureDescriptionRecord Patterns"Enhanced"
fordeclarations come in two forms: local variable declarations and record patternsRecord PatternsTwo possible variants of instanceof expressions: testing types, and performing pattern matching
-
Exception ClassesException ClassPreview FeatureDescriptionPattern Matching for switchThrown to indicate an unexpected failure in pattern matching.
-
FieldsFieldPreview FeatureDescriptionString TemplatesMaximum number of argument slots in String Concat call.
-
MethodsMethodPreview FeatureDescriptionPattern Matching for switchReturns the labels for this case.Record PatternsReturns the kind of the declaration of the "enhanced"
for.Record PatternsReturns the control variable or pattern for the loop.Record PatternsReturns the kind of this instanceof expression.Pattern Matching for switchVisits aConstantCaseLabelTreenode.Record PatternsVisits aDeconstructionPatternTreenode.Pattern Matching for switchVisits aDefaultCaseLabelTreenode.Pattern Matching for switchVisits aParenthesizedPatternTreenode.Pattern Matching for switchVisits aPatternCaseLabelTreenode.String TemplatesVisits a StringTemplateTree node.Pattern Matching for switchVisits aConstantCaseLabelTreenode.com.sun.source.util.SimpleTreeVisitor.visitDeconstructionPattern(DeconstructionPatternTree, P) PREVIEWRecord PatternsVisits aDeconstructionPatternTreenode.Pattern Matching for switchVisits aDefaultCaseLabelTreenode.Pattern Matching for switchVisits aParenthesizedPatternTreenode.Pattern Matching for switchVisits aPatternCaseLabelTreenode.String TemplatesVisits a StringTemplateTree node.Pattern Matching for switchVisits aConstantCaseLabelTreenode.Record PatternsVisits aDeconstructionPatternTreenode.Pattern Matching for switchVisits aDefaultCaseLabelTreenode.Pattern Matching for switchVisits aParenthesizedPatternTreenode.Pattern Matching for switchVisits aPatternCaseLabelTreenode.String TemplatesVisits a StringTemplateTree node.Foreign Function & Memory APIAdapts a target var handle by pre-processing a sub-sequence of its coordinate values with a filter (a method handle).Foreign Function & Memory APIReturns a var handle which will discard some dummy coordinates before delegating to the target var handle.Foreign Function & Memory APIAdapts a target var handle by pre-processing incoming coordinate values using unary filter functions.Foreign Function & Memory APIAdapts a target var handle by pre-processing incoming and outgoing values using a pair of filter functions.Foreign Function & Memory APIProvides a target var handle with one or more bound coordinates in advance of the var handle's invocation.Foreign Function & Memory APICreates a var handle object, which can be used to dereference a memory segmentPREVIEW by viewing its contents as a sequence of the provided value layout.Foreign Function & Memory APIProvides a var handle which adapts the coordinate values of the target var handle, by re-arranging them so that the new coordinates match the provided ones.String TemplatesSimplified concatenation method to facilitateStringTemplatePREVIEW concatenation.java.lang.invoke.StringConcatFactory.makeConcatWithTemplateCluster(List<String>, List<Class<?>>, int) PREVIEWString TemplatesThis method breaks up large concatenations into separateMethodHandlesbased on the number of slots required perMethodHandle.java.lang.invoke.StringConcatFactory.makeConcatWithTemplateGetters(List<String>, List<MethodHandle>, int) PREVIEWString TemplatesThis method creates aMethodHandleexpecting one input, the receiver of the supplied getters.Foreign Function & Memory APIReturnstrueif this module can access restricted methods.Foreign Function & Memory APIEnables native access for a module in the layer if the caller's module has native access.Foreign Function & Memory APIMaps a region of this channel's file into a new mapped memory segment, with the given offset, size and arena.
-
Enum ConstantsEnum ConstantPreview FeatureDescriptionPattern Matching for switchUsed for instances of
ConstantCaseLabelTreePREVIEW.Record PatternsUsed for instances ofDeconstructionPatternTreePREVIEW.Pattern Matching for switchUsed for instances ofDefaultCaseLabelTreePREVIEW.Pattern Matching for switchUsed for instances ofParenthesizedPatternTreePREVIEW.Pattern Matching for switchUsed for instances ofPatternCaseLabelTreePREVIEW.String TemplatesUsed for instances ofStringTemplateTreePREVIEW.