Class InstrIndex
- java.lang.Object
-
- org.benf.cfr.reader.bytecode.analysis.opgraph.InstrIndex
-
- All Implemented Interfaces:
java.lang.Comparable<InstrIndex>
public class InstrIndex extends java.lang.Object implements java.lang.Comparable<InstrIndex>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classInstrIndex.TempRelatives
-
Field Summary
Fields Modifier and Type Field Description private intindexprivate InstrIndex.TempRelativestempList
-
Constructor Summary
Constructors Modifier Constructor Description InstrIndex(int index)privateInstrIndex(int index, InstrIndex.TempRelatives tempList)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(InstrIndex other)(package private) booleandirectlyPreceeds(InstrIndex other)booleanequals(java.lang.Object o)inthashCode()private intidx()booleanisBackJumpFrom(IndexedStatement other)booleanisBackJumpFrom(InstrIndex other)booleanisBackJumpTo(IndexedStatement other)private intisBackJumpTo(InstrIndex other)InstrIndexjustAfter()InstrIndexjustBefore()private voidmkTempList()java.lang.StringtoString()
-
-
-
Field Detail
-
index
private final int index
-
tempList
private InstrIndex.TempRelatives tempList
-
-
Constructor Detail
-
InstrIndex
public InstrIndex(int index)
-
InstrIndex
private InstrIndex(int index, InstrIndex.TempRelatives tempList)
-
-
Method Detail
-
idx
private int idx()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
compareTo
public int compareTo(InstrIndex other)
- Specified by:
compareToin interfacejava.lang.Comparable<InstrIndex>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
mkTempList
private void mkTempList()
-
justBefore
public InstrIndex justBefore()
-
justAfter
public InstrIndex justAfter()
-
directlyPreceeds
boolean directlyPreceeds(InstrIndex other)
-
isBackJumpTo
public boolean isBackJumpTo(IndexedStatement other)
-
isBackJumpTo
private int isBackJumpTo(InstrIndex other)
-
isBackJumpFrom
public boolean isBackJumpFrom(IndexedStatement other)
-
isBackJumpFrom
public boolean isBackJumpFrom(InstrIndex other)
-
-