Class IcTuple
java.lang.Object
org.apache.commons.compress.harmony.unpack200.IcTuple
An IcTuple is the set of information that describes an inner class.
C is the fully qualified class name
F is the flags
C2 is the outer class name, or null if it can be inferred from C
N is the inner class name, or null if it can be inferred from C
F is the flags
C2 is the outer class name, or null if it can be inferred from C
N is the inner class name, or null if it can be inferred from C
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getC()
getC2()
int
getF()
getN()
int
int
hashCode()
String[]
innerBreakAtDollar
(String className) Break the receiver into components at $ boundaries.boolean
boolean
isMember()
boolean
Answer true if the receiver's bit 16 is set (indicating that explicit outer class and name fields are set).boolean
nullSafeEquals
(String stringOne, String stringTwo) int
Answer the outer class name for the receiver.boolean
boolean
Answer true if the receiver is predicted; answer false if the receiver is specified explicitly in the outer and name fields.Answer the inner class name for the receiver.int
int
Answer the full name of the inner class represented by this tuple (including its outer component)toString()
-
Field Details
-
NESTED_CLASS_FLAG
- See Also:
-
C
-
F
-
C2
-
N
-
-
Constructor Details
-
IcTuple
public IcTuple(String C, int F, String C2, String N, int cIndex, int c2Index, int nIndex, int tIndex) - Parameters:
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
- TODO
-
-
Method Details
-
equals
-
getC
-
getC2
-
getF
-
getN
-
getTupleIndex
-
hashCode
-
innerBreakAtDollar
Break the receiver into components at $ boundaries.- Parameters:
className
- TODO- Returns:
- TODO
-
isAnonymous
-
isMember
-
nestedExplicitFlagSet
Answer true if the receiver's bit 16 is set (indicating that explicit outer class and name fields are set).- Returns:
- boolean
-
nullSafeEquals
-
outerClassIndex
-
outerClassString
Answer the outer class name for the receiver. This may either be specified or inferred from inner class name.- Returns:
- String name of outer class
-
outerIsAnonymous
-
predicted
Answer true if the receiver is predicted; answer false if the receiver is specified explicitly in the outer and name fields.- Returns:
- true if the receiver is predicted; answer false if the receiver is specified explicitly in the outer and name fields.
-
simpleClassName
Answer the inner class name for the receiver.- Returns:
- String name of inner class
-
simpleClassNameIndex
-
thisClassIndex
-
thisClassString
Answer the full name of the inner class represented by this tuple (including its outer component)- Returns:
- String full name of inner class
-
toString
-