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 class
InstrIndex.TempRelatives
-
Field Summary
Fields Modifier and Type Field Description private int
index
private InstrIndex.TempRelatives
tempList
-
Constructor Summary
Constructors Modifier Constructor Description InstrIndex(int index)
private
InstrIndex(int index, InstrIndex.TempRelatives tempList)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(InstrIndex other)
(package private) boolean
directlyPreceeds(InstrIndex other)
boolean
equals(java.lang.Object o)
int
hashCode()
private int
idx()
boolean
isBackJumpFrom(IndexedStatement other)
boolean
isBackJumpFrom(InstrIndex other)
boolean
isBackJumpTo(IndexedStatement other)
private int
isBackJumpTo(InstrIndex other)
InstrIndex
justAfter()
InstrIndex
justBefore()
private void
mkTempList()
java.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
compareTo
public int compareTo(InstrIndex other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<InstrIndex>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in 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)
-
-