Interface Resolver


  • public interface Resolver
    An utility that implements resolving algorithms for field and methods.
    • Method Detail

      • resolvedFieldFor

        Optional<Field> resolvedFieldFor​(org.apache.bcel.generic.FieldInstruction fi)
        Yields the field signature that would be accessed by the given instruction.
        Parameters:
        fi - the instruction
        Returns:
        the signature, if any
      • resolvedExecutableFor

        Optional<? extends Executable> resolvedExecutableFor​(org.apache.bcel.generic.InvokeInstruction invoke)
        Yields the method or constructor signature that would be accessed by the given instruction. At run time, that signature or one of its redefinitions (for non-private non-final methods) will be called.
        Parameters:
        invoke - the instruction
        Returns:
        the signature