-
Bug
-
Resolution: Won't Fix
-
P4
-
7u17
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.
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.
- relates to
-
JDK-8024098 javac syntax tree should more closely model the source code
- Open
-
JDK-8268850 Detect inferred local variable types in AST
- Open
-
JDK-8250919 Mark compiler-generated elements as mandated
- Open
-
JDK-8035787 SourcePositions are wrong for Strings concatenated with '+' operator
- Resolved