aboutsummaryrefslogtreecommitdiff
path: root/java/com/google/turbine/binder/CompUnitPreprocessor.java
AgeCommit message (Collapse)Author
2023-07-04Only emit package-info's if the source file's path is 'package-info.java'Liam Miller-Cushon
To avoid emitting duplicate symbols when there are other files that contain no classes, and to match javac's behaviour. PiperOrigin-RevId: 545473342
2023-06-26Write `package-info`s even if the package info doesn't contain any annotationsLiam Miller-Cushon
Similar to javac's `-Xpkginfo:always` PiperOrigin-RevId: 543487269
2022-02-01Automatic code cleanup.Kurt Alfred Kluever
PiperOrigin-RevId: 425631296
2021-10-01Initial support for sealed classesLiam Miller-Cushon
PiperOrigin-RevId: 400303125
2021-09-27Initial support for recordsLiam Miller-Cushon
PiperOrigin-RevId: 399302681
2021-09-17Add parser support for recordsLiam Miller-Cushon
PiperOrigin-RevId: 397417470
2021-01-19Add private constructors for classes that aren't intended to be instantiatedLiam Miller-Cushon
PiperOrigin-RevId: 352623709
2019-07-11Initial support for preserving javadoc comments in the parsercushon
Which will eventually be used to support e.g.: https://docs.oracle.com/en/java/javase/11/docs/api/java.compiler/javax/lang/model/util/Elements.html#getDocComment(javax.lang.model.element.Element) ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=255631276
2018-10-17Improve resolution error diagnosticscushon
Introduce an AST node for identifiers instead of just using String, and use the diagnostic position to improve resolution errors. MOE_MIGRATED_REVID=216452604
2018-09-09Use java.util.Optional instead of guava's Optionalcushon
MOE_MIGRATED_REVID=209800977
2018-01-22Initial end-to-end support for module-infoscushon
MOE_MIGRATED_REVID=182836497
2017-12-05Better diagnostics for duplicate type declarationscushon
MOE_MIGRATED_REVID=177354820
2017-05-03Create a 'preprocessing' passcushon
that consolidates creating symbols for all nested types in a compilation unit, and desugaring access modifiers. This moves logic out of binding that doesn't depend on any information outside the current compilation unit. It also avoids desugaring access modifiers piecemeal across different compilation phases. MOE_MIGRATED_REVID=154875997