com.svincent.smalljava
Class SmallMember
java.lang.Object
|
+--com.svincent.util.BaseObject
|
+--com.svincent.smalljava.SmallMember
- Direct Known Subclasses:
- SmallField, SmallMethod
- public abstract class SmallMember
- extends BaseObject
Represents a member of a class.
- Author:
- Shawn Vincent
- See Also:
SmallClass,
SmallConstructor,
SmallMethod,
SmallField
|
Constructor Summary |
protected |
SmallMember(int _modifiers)
|
| Methods inherited from class java.lang.Object |
clone,
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
SmallMember
protected SmallMember(int _modifiers)
isStatic
public boolean isStatic()
setDeclaringClass
protected void setDeclaringClass(SmallClass _declaringClass)
- Set the declaring class.
Called when a member is added to a SmallClass.
getDeclaringClass
public SmallClass getDeclaringClass()
- Returns the 'declaring' class: that is, the class this member is
declared within.
finalize
protected void finalize()
throws SmallJavaValidationException
- Overrides:
- finalize in class java.lang.Object
writeAsJava
public abstract void writeAsJava(IndentPrintWriter out)
- Writes this field declaration as Java source code.
This is documentation for Moksa Prolog, which can be found at http://www.svincent.com/moksa/
Copyright © 1999 Shawn P. Vincent.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.