@Immutable public final class BinaryName extends Object
A$B
and a class called A
that has an inner class
B
.Constructor and Description |
---|
BinaryName(String pPkg,
Collection<String> pClsNames)
Constructor.
|
BinaryName(String pPkg,
String pOuterCls,
String... pInnerCls)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object pOther) |
String |
getInnerSimpleName()
Getter.
|
String |
getOuterFqcn()
The fully qualified name of the outer class.
|
String |
getOuterSimpleName()
Getter.
|
String |
getPackage() |
int |
hashCode() |
String |
toString() |
public BinaryName(@Nullable String pPkg, @Nonnull Collection<String> pClsNames)
pPkg
- package namepClsNames
- class simple names in descending order of their nestingpublic String getInnerSimpleName()
null
if this binary name
does not represent an inner class@CheckForNull public String getOuterFqcn()
null
if the simple name of the outer class is unknownpublic String getOuterSimpleName()
public String getPackage()