|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pt.digitalis.dif.codegen.util.ClassMethodEnhancement
public class ClassMethodEnhancement
Defines a method enhancement object.
Constructor Summary | |
---|---|
ClassMethodEnhancement(String methodName,
boolean incrementalMode)
Builds a new method enhancement object. |
Method Summary | |
---|---|
void |
addSource(String source)
Adds source to the method. |
String |
getMethodName()
Returns the method name. |
String |
getSource()
Returns the source. |
boolean |
isIncrementalMode()
Inspector for the 'incrementalMode' property. |
void |
setSource(StringBuilder source)
Modifier for the 'source' attribute. |
void |
setTerminator(String source)
Adds source as the methods terminator (finalizer) code. it will overwrite previous source terminator code |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ClassMethodEnhancement(String methodName, boolean incrementalMode)
methodName
- the name of the methodincrementalMode
- defines the incremental modeMethod Detail |
---|
public void addSource(String source)
source
- the source to addpublic String getMethodName()
public String getSource()
public boolean isIncrementalMode()
public void setSource(StringBuilder source)
source
- the new source value to setpublic void setTerminator(String source)
source
- the source to addpublic String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |