public class IcTuple extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
C |
protected java.lang.String |
C2 |
protected int |
F |
protected java.lang.String |
N |
static int |
NESTED_CLASS_FLAG |
Constructor and Description |
---|
IcTuple(java.lang.String C,
int F,
java.lang.String C2,
java.lang.String N,
int cIndex,
int c2Index,
int nIndex,
int tIndex) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object) |
java.lang.String |
getC() |
java.lang.String |
getC2() |
int |
getF() |
java.lang.String |
getN() |
int |
getTupleIndex() |
int |
hashCode() |
java.lang.String[] |
innerBreakAtDollar(java.lang.String className)
Break the receiver into components at $ boundaries.
|
boolean |
isAnonymous() |
boolean |
isMember() |
boolean |
nestedExplicitFlagSet()
Answer true if the receiver's bit 16 is set (indicating that explicit outer class and name fields are set).
|
boolean |
nullSafeEquals(java.lang.String stringOne,
java.lang.String stringTwo) |
int |
outerClassIndex() |
java.lang.String |
outerClassString()
Answer the outer class name for the receiver.
|
boolean |
outerIsAnonymous() |
boolean |
predicted()
Answer true if the receiver is predicted; answer false if the receiver is specified explicitly in the outer and
name fields.
|
java.lang.String |
simpleClassName()
Answer the inner class name for the receiver.
|
int |
simpleClassNameIndex() |
int |
thisClassIndex() |
java.lang.String |
thisClassString()
Answer the full name of the inner class represented by this tuple (including its outer component)
|
java.lang.String |
toString() |
public static final int NESTED_CLASS_FLAG
protected java.lang.String C
protected int F
protected java.lang.String C2
protected java.lang.String N
public IcTuple(java.lang.String C, int F, java.lang.String C2, java.lang.String N, int cIndex, int c2Index, int nIndex, int tIndex)
C
- TODOF
- TODOC2
- TODON
- TODOcIndex
- the index of C in cpClassc2Index
- the index of C2 in cpClass, or -1 if C2 is nullnIndex
- the index of N in cpUTF8, or -1 if N is nulltIndex
- TODOpublic boolean predicted()
public boolean nestedExplicitFlagSet()
public java.lang.String[] innerBreakAtDollar(java.lang.String className)
className
- TODOpublic java.lang.String outerClassString()
public java.lang.String simpleClassName()
public java.lang.String thisClassString()
public boolean isMember()
public boolean isAnonymous()
public boolean outerIsAnonymous()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean nullSafeEquals(java.lang.String stringOne, java.lang.String stringTwo)
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String getC()
public int getF()
public java.lang.String getC2()
public java.lang.String getN()
public int getTupleIndex()
public int thisClassIndex()
public int outerClassIndex()
public int simpleClassNameIndex()