Various implicitly declared elements are added by the compiler, including default constructors. Even when there is no location in class files to store this information, the information could be tracked during the compilation and exposed via the annotation processing API.
- relates to
-
JDK-8292275 javac does not emit SYNTHETIC and MANDATED flags for parameters by default
- Resolved
-
JDK-8031725 No way to detect synthetic com.sun.source.tree.Tree's
- Closed
-
JDK-8234908 consider if the MANDATED flag should be applied to record members added by the compiler
- Open
-
JDK-8251375 Mark methods that not present in source with ACC_MANDATED in bytecode
- Open
-
JDK-8071961 Add javac lint warning when a default constructor is created
- Resolved
-
JDK-8264869 Investigate replacing WorkArounds.isSynthesized
- New
(1 relates to)