Class DPatternCompiler.DPattern.P

java.lang.Object
com.pnfsoftware.jeb.core.units.code.android.ir.compiler.DPatternCompiler.DPattern.P
Enclosing class:
DPatternCompiler.DPattern

public static class DPatternCompiler.DPattern.P extends Object
Internal multi-pattern holding an input or output pattern block.
  • Method Details

    • getFlags

      public int getFlags()
      Retrieve the pattern flags.
      Returns:
      the pattern flags
    • getLines

      public List<com.pnfsoftware.jeb.core.units.code.android.ir.compiler.DPatternCompiler.DPattern.P.E> getLines()
      Retrieve the compiled pattern lines.
      Returns:
      the compiled lines
    • getLine

      public com.pnfsoftware.jeb.core.units.code.android.ir.compiler.DPatternCompiler.DPattern.P.E getLine(int index)
      Retrieve a compiled pattern line.
      Parameters:
      index - zero-based line index
      Returns:
      the compiled line
    • getCountOfLines

      public int getCountOfLines()
      Retrieve the number of compiled pattern lines.
      Returns:
      the line count
    • getTriggerLine

      public com.pnfsoftware.jeb.core.units.code.android.ir.compiler.DPatternCompiler.DPattern.P.E getTriggerLine()
      Retrieve the trigger line selected for matching.
      Returns:
      the trigger line
    • getTriggerIndex

      public int getTriggerIndex()
      Retrieve the index of the trigger line selected for matching.
      Returns:
      the trigger line index
    • getFirstReplacedLineIndex

      public int getFirstReplacedLineIndex()
      Retrieve the first line replaced by this pattern.
      Returns:
      the first replaced line index
    • getLastReplacedLineIndex

      public int getLastReplacedLineIndex()
      Retrieve the last line replaced by this pattern.
      Returns:
      the last replaced line index
    • getCountOfReplacedLines

      public int getCountOfReplacedLines()
      Retrieve the number of lines replaced by this pattern.
      Returns:
      the count of replaced lines
    • toString

      public String toString()
      Overrides:
      toString in class Object