public interface ArrayLengthProvider
| Modifier and Type | Interface and Description |
|---|---|
static class |
ArrayLengthProvider.FindLengthMode
The different modes that determine what the results of
GraphUtil.arrayLength(org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.nodes.spi.ArrayLengthProvider.FindLengthMode, ConstantReflectionProvider) and
ArrayLengthProvider.findLength(org.graalvm.compiler.nodes.spi.ArrayLengthProvider.FindLengthMode, ConstantReflectionProvider) can be used for. |
| Modifier and Type | Method and Description |
|---|---|
ValueNode |
findLength(ArrayLengthProvider.FindLengthMode mode,
ConstantReflectionProvider constantReflection)
Returns the length of the array described by this node, or null if it is not available.
|
ValueNode findLength(ArrayLengthProvider.FindLengthMode mode, ConstantReflectionProvider constantReflection)
ArrayLengthProvider.FindLengthMode.
This method should not be called directly. Use GraphUtil.arrayLength(org.graalvm.compiler.nodes.ValueNode, org.graalvm.compiler.nodes.spi.ArrayLengthProvider.FindLengthMode, ConstantReflectionProvider) instead.