|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.fullspan.propkeyconst.descriptor.ClassDesc
Descriptor of a class that contains Constants for property
keys, and Inner Classes.
The ClassDesc may have a comment associated with it.
ICommentHolder| Nested Class Summary | |
static class |
ClassDesc.ClassNameComparator
Compares two ClassDesc instances by comparing their
name properties. |
| Field Summary | |
static java.util.Comparator |
CLASS_NAME_COMPARATOR
A singleton instance of $ ClassDesc.ClassNameComparator |
| Method Summary | |
void |
addConstantDesc(ConstantDesc constantDesc)
|
protected ClassDesc |
getClassDesc(java.lang.String[] containingClassNames,
int index,
boolean create)
|
CommentDesc |
getCommentDesc()
|
ConstantDesc |
getConstantDesc(java.lang.String name)
|
java.util.List |
getConstantDescList()
Gets the list of ConstantDescs, sorted by the name of each constant. |
boolean |
getHasComment()
|
java.util.List |
getInnerClassDescList()
Gets the list of inner ClassDescs, sorted by the name of each inner class. |
int |
getLevel()
Returns the nesting level of this ClassDesc. |
java.lang.String |
getName()
|
void |
setCommentDesc(CommentDesc commentDesc)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.util.Comparator CLASS_NAME_COMPARATOR
ClassDesc.ClassNameComparator
| Method Detail |
public int getLevel()
public java.lang.String getName()
public void addConstantDesc(ConstantDesc constantDesc)
public ConstantDesc getConstantDesc(java.lang.String name)
name - the name of the constant (not the dotted name, just the
base name)
public java.util.List getConstantDescList()
public java.util.List getInnerClassDescList()
protected ClassDesc getClassDesc(java.lang.String[] containingClassNames,
int index,
boolean create)
public CommentDesc getCommentDesc()
getCommentDesc in interface ICommentHolderICommentHolder.getCommentDesc()public boolean getHasComment()
getHasComment in interface ICommentHolderICommentHolder.getHasComment()public void setCommentDesc(CommentDesc commentDesc)
setCommentDesc in interface ICommentHolderICommentHolder.setCommentDesc(com.fullspan.propkeyconst.descriptor.CommentDesc)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||