|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectxjavadoc.AbstractProgramElement
xjavadoc.AbstractClass
xjavadoc.Primitive
final class Primitive
This class represents primitive types
| Field Summary | |
|---|---|
private java.lang.String |
_type
|
| Fields inherited from class xjavadoc.AbstractProgramElement |
|---|
EMPTY_LIST |
| Constructor Summary | |
|---|---|
Primitive(XJavaDoc xJavaDoc,
java.lang.String name,
java.lang.String type)
|
|
| Method Summary | |
|---|---|
XPackage |
getContainingPackage()
Describe what the method does |
java.lang.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 |
| Field Detail |
|---|
private final java.lang.String _type
| Constructor Detail |
|---|
public Primitive(XJavaDoc xJavaDoc,
java.lang.String name,
java.lang.String type)
| Method Detail |
|---|
public final java.lang.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 interface XProgramElementgetContainingPackage in class AbstractClasspublic void setDirty()
public boolean saveNeeded()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||