Class EvidenceCollector.Hit

  • Enclosing class:
    EvidenceCollector

    public static final class EvidenceCollector.Hit
    extends Object
    A single matched location.
    • Constructor Detail

      • Hit

        public Hit​(String className,
                   String methodName,
                   String descriptor,
                   int pc,
                   String label)
        Creates a hit at one bytecode offset.
        Parameters:
        className - the owning class name
        methodName - the owning method name
        descriptor - the owning method descriptor
        pc - the bytecode offset of the matching instruction
        label - a description of what matched
    • Method Detail

      • className

        public String className()
        Returns:
        the owning class name
      • methodName

        public String methodName()
        Returns:
        the owning method name
      • descriptor

        public String descriptor()
        Returns:
        the owning method descriptor
      • pc

        public int pc()
        Returns:
        the bytecode offset of the matching instruction
      • label

        public String label()
        Returns:
        the label describing what matched