Class DPatternCompiler.DPattern.P
java.lang.Object
com.pnfsoftware.jeb.core.units.code.android.ir.compiler.DPatternCompiler.DPattern.P
- Enclosing class:
DPatternCompiler.DPattern
Internal multi-pattern holding an input or output pattern block.
-
Method Summary
Modifier and TypeMethodDescriptionintRetrieve the number of compiled pattern lines.intRetrieve the number of lines replaced by this pattern.intRetrieve the first line replaced by this pattern.intgetFlags()Retrieve the pattern flags.intRetrieve the last line replaced by this pattern.com.pnfsoftware.jeb.core.units.code.android.ir.compiler.DPatternCompiler.DPattern.P.EgetLine(int index) Retrieve a compiled pattern line.List<com.pnfsoftware.jeb.core.units.code.android.ir.compiler.DPatternCompiler.DPattern.P.E> getLines()Retrieve the compiled pattern lines.intRetrieve the index of the trigger line selected for matching.com.pnfsoftware.jeb.core.units.code.android.ir.compiler.DPatternCompiler.DPattern.P.ERetrieve the trigger line selected for matching.toString()
-
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
-