|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectxjavadoc.AbstractProgramElement
xjavadoc.AbstractClass
xjavadoc.Primitive
This class represents primitive types
| Field Summary |
| Fields inherited from class xjavadoc.AbstractProgramElement |
EMPTY_LIST |
| Constructor Summary | |
Primitive(XJavaDoc xJavaDoc,
String name,
String type)
|
|
| Method Summary | |
XPackage |
getContainingPackage()
Describe what the method does |
String |
getType()
Gets the type, e.g. |
boolean |
isPrimitive()
Returns true if this class is a primitive. |
boolean |
isWriteable()
whether this class can be saved ( it can not ) |
boolean |
saveNeeded()
this class is not intended to be saved |
void |
setDirty()
no op since it's not writeable |
| Methods inherited from class xjavadoc.AbstractProgramElement |
addModifier, getContainingAbstractClass, getContainingClass, getDoc, getModifiers, getModifierSpecifier, getTagFactory, getXJavaDoc, isAbstract, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, setToken |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface xjavadoc.XClass |
getContainingClass, isAbstract |
| Methods inherited from interface xjavadoc.XProgramElement |
getDoc, getModifiers, getModifierSpecifier, getXJavaDoc, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic |
| Constructor Detail |
public Primitive(XJavaDoc xJavaDoc,
String name,
String type)
| Method Detail |
public final String getType()
XClassjava.lang.String.class or java.lang.Integer.TYPE
.
getType in interface XClassgetType in class AbstractClasspublic final boolean isPrimitive()
XClass
public boolean isWriteable()
public XPackage getContainingPackage()
AbstractClass
getContainingPackage in interface XClassgetContainingPackage in class AbstractClasspublic void setDirty()
public boolean saveNeeded()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||