|
Jode 1.90-CVS Build Aug 6, 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jode.flow.TransformConstructors
This class will transform the constructors. We differ three types of constructors:
java.lang.Object.<init>
and static constructors are examples for the first kind.outerValues
expression, that
tell which parameters (this and final method variables) are always
given to the constructor.
You can debug this class with the --debug=constructors
switch.
FieldAnalyzer.setInitializer(net.sf.jode.expr.Expression)
,
ClassAnalyzer.getOuterValues()
Constructor Summary | |
TransformConstructors(ClassAnalyzer clazzAnalyzer,
boolean isStatic,
MethodAnalyzer[] cons)
|
Method Summary | |
static boolean |
isThis(Expression thisExpr,
ClassInfo clazz)
|
void |
removeSynthInitializers()
Remove initializers of synthetic fields and This is called for non static constructors in the analyze pass, after the constructors are analyzed. |
void |
transform()
This does the normal constructor transformations. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TransformConstructors(ClassAnalyzer clazzAnalyzer, boolean isStatic, MethodAnalyzer[] cons)
Method Detail |
public static boolean isThis(Expression thisExpr, ClassInfo clazz)
public void removeSynthInitializers()
public void transform()
|
Jode 1.90-CVS Build Aug 6, 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |