Interface SlotVariablePartition.ScopeNameResolver

  • Enclosing class:
    SlotVariablePartition
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface SlotVariablePartition.ScopeNameResolver
    Resolves the source name in scope for a (slot, bytecode offset), or null when unknown.
    • Method Detail

      • nameAt

        String nameAt​(int slot,
                      int bytecodeOffset)
        Parameters:
        slot - the JVM local slot
        bytecodeOffset - the offset the name must be in scope at
        Returns:
        the declared name, or null when no name is in scope there