Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
Javac can create several synthetic com.sun.source.tree.Tree's. Examples are the default constructor and the implicit 'super()' call in constructors, and there might be others. In addition, you can't recognize these trees as synthetic by checking their start offset. The default constructor has a '0' start offset, and the implicit 'super()' call has a start offset equal to the method body start offset. Request to be able to recognize synthetic constructs. Minimally these constructs should return -1 as their start offset, but preferably there should be a flag.
|