[BCEL-info]Synthetic attribute: fields vs methods
Brought to you by:
dahm
|
From: Alan O. <al...@ou...> - 2002-04-23 05:43:52
|
It looks like JasmineVisitor.visitSynthetic assumes that the Synthetic attribute is attached to a method (in order to print ".end method"). I have found several class that have a Synthetic attribute attached to a field. In this case, JasmineVisitor attempts to access the "method" field which is null. I am going to check for null before accessing "method". Should anything be printed after the last attribute of a field? Alan Oursland |