|
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.CreateCheckNull
Constructor Summary | |
CreateCheckNull()
|
Method Summary | |
static boolean |
transformJavac(InstructionContainer ic,
StructuredBlock last)
Transforms the code DUP POP.getClass() to a CheckNullOperator. |
static boolean |
transformJikes(IfThenElseBlock ifBlock,
StructuredBlock last)
Transforms the code DUP if (POP == null) { throw null } to a CheckNullOperator. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CreateCheckNull()
Method Detail |
public static boolean transformJavac(InstructionContainer ic, StructuredBlock last)
DUP POP.getClass()to a CheckNullOperator. This is what javac generates when it calls ".new" on an operand.
public static boolean transformJikes(IfThenElseBlock ifBlock, StructuredBlock last)
DUP if (POP == null) { throw null }to a CheckNullOperator. This is what jikes generates when it calls ".new" on an operand.
|
Jode 1.90-CVS Build Aug 6, 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |