eclipse-jdt / eclipse-jdt/eclipse.jdt.core
Generate default no-arg constructors directly as bindings rather than as AST and then bindings
Open
- Dominant language
- Java
- Stars
- 237
- Forks
- 195
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 47
Description
See org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.createDefaultConstructor(boolean, boolean) and friends.
It should be investigated whether this could be directly generated as a `SyntheticMethodBinding` - while this is working code, it simply duplicates strategy and tempts further such creation and persistence of needlessly disparate strategies for doing the same thing. It would be good to unify the approach to synthesis of class body declarations not coded expressly in the source
Contributor guide
Assessment
This issue has not been assessed yet.