Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
6f03bf9
cli that generates astubx with json files
haewiful Aug 9, 2025
8dc633e
generate json -> astubx
haewiful Aug 9, 2025
91f7565
generate json files
haewiful Aug 12, 2025
98b7e17
Generate astubx files from json files
haewiful Aug 12, 2025
8c05a7b
test-annotated project
haewiful Aug 21, 2025
9e95626
cleanup
haewiful Aug 21, 2025
8b9fef8
test-unannotated
haewiful Aug 21, 2025
1f0d60f
Merge remote-tracking branch 'upstream/master' into jdk-javac
haewiful Aug 21, 2025
50f693f
Merge branch 'master' into jdk-javac
msridhar Aug 25, 2025
ea7ae5f
change class name
haewiful Aug 27, 2025
d760f35
duplicated line
haewiful Aug 27, 2025
09c260a
integration tests
haewiful Aug 27, 2025
cd218b2
change struct classes to records & use GSON instead of Jackson
haewiful Aug 27, 2025
72fcb3f
format
haewiful Aug 27, 2025
3a50196
link two tasks to make sure compileJava runs before generateAstubx
haewiful Aug 27, 2025
9fa6c6f
removing JarInfer tests
haewiful Aug 27, 2025
50280a5
Merge branch 'master' into jdk-javac
msridhar Aug 27, 2025
c237927
comments
haewiful Aug 29, 2025
facf57c
add test-annotated jar to test-unannotated jar
haewiful Aug 31, 2025
cab854b
add provider
haewiful Sep 1, 2025
8c414de
add test-annotated dependency in test-unannotated build.gradle
haewiful Sep 3, 2025
556463b
some changes for test cases
haewiful Sep 3, 2025
ccccab2
Merge branch 'master' into jdk-javac
haewiful Sep 3, 2025
86f3169
cleanup
haewiful Sep 3, 2025
01dab0a
formatting
msridhar Sep 3, 2025
afcbd93
moved provider file from test-annotated to test-unannotated
haewiful Sep 3, 2025
e5d394f
put astubx file in the right place
msridhar Sep 4, 2025
1c55d55
Astubx file format test
haewiful Sep 15, 2025
1f863c3
build.gradle for test
haewiful Sep 15, 2025
8b2bd34
clean up
haewiful Sep 15, 2025
66a4e33
clean up
haewiful Sep 15, 2025
270a5b3
add return type to JSON file
haewiful Sep 15, 2025
8bf8ff4
removing Nullable annotation
haewiful Sep 15, 2025
7a2b946
fix nullable upperbound class name
haewiful Sep 18, 2025
eb6ddc5
remove recursively checking a class or method is NullMarked or NullUn…
haewiful Sep 19, 2025
a4f57d4
check enclosing type for NullMarked, NullUnmarked
haewiful Sep 19, 2025
3c0036f
put fully qualified class name
haewiful Sep 23, 2025
d9514bb
always add method to astubx regardless of annotation
haewiful Sep 23, 2025
f99d51f
check nullness of generic type return types
haewiful Sep 24, 2025
4606d5d
Ensure the javac plugin is on the compile classpath
haewiful Sep 24, 2025
a8b966a
accept coderabbitai reviews
haewiful Sep 24, 2025
8be7389
break down generateAstubx method into several methods
haewiful Sep 25, 2025
8661cac
formatting
haewiful Sep 25, 2025
dc18cd1
more clean up
haewiful Sep 25, 2025
0f6e29b
minor clean up
haewiful Sep 25, 2025
d01c857
comment changes
haewiful Sep 25, 2025
8ea48d7
Merge branch 'master' into jdk-javac
msridhar Sep 26, 2025
6d696fe
disable jdk 17 tests
msridhar Sep 26, 2025
4435ecb
fixes
msridhar Sep 26, 2025
b36367e
JDK version for compile and test
haewiful Sep 27, 2025
43ba45a
JDK version control for compiler and test
haewiful Sep 27, 2025
3a9175a
coderabbit feedback based changes
haewiful Sep 27, 2025
b2fcf57
clean up
haewiful Sep 27, 2025
fec7ee0
changes based on initial comments
haewiful Sep 28, 2025
50dfc39
use CompilationTestHelper for compiling test case with plugin
haewiful Sep 30, 2025
98d32ea
formatting
haewiful Sep 30, 2025
104ab65
Merge branch 'master' into jdk-javac
msridhar Sep 30, 2025
0b3c003
add some comments
msridhar Sep 30, 2025
c384085
build.gradle comments
haewiful Oct 4, 2025
812dee0
use records in NullnessAnnotationSerializer
haewiful Oct 4, 2025
4e26862
Revert "use records in NullnessAnnotationSerializer"
haewiful Oct 4, 2025
0364b24
Revert "build.gradle comments"
haewiful Oct 4, 2025
62cdecf
build.gradle changes
haewiful Oct 4, 2025
9c5690d
make AstubxGeneratorCLI use records from NullnessAnnotationSerializer…
haewiful Oct 4, 2025
837122d
remove all annotations in arguments not just @Nullable
haewiful Oct 5, 2025
0ca6542
separate writing astubx and returning AstubxData
haewiful Oct 5, 2025
8707978
parse all json files
haewiful Oct 5, 2025
8ef5e62
separate astubx generator and cli
haewiful Oct 5, 2025
959617e
format
haewiful Oct 5, 2025
fbff8f2
formatting
haewiful Oct 5, 2025
0f6d00d
Merge branch 'master' into jdk-javac
msridhar Oct 5, 2025
5eb966e
disable testJdk17
msridhar Oct 5, 2025
fa49a13
fix coverage
msridhar Oct 5, 2025
fb57ab7
one more
msridhar Oct 5, 2025
fd3df10
cleanup
msridhar Oct 5, 2025
fd8a92e
Merge branch 'master' into jdk-javac
msridhar Oct 6, 2025
a3cdf12
some CodeRabbit review changes
haewiful Oct 7, 2025
a454624
modify checking upper bounds for a generic return type
haewiful Oct 7, 2025
d115c85
changed generic return type logic, added comment, made AstubxData cla…
haewiful Oct 8, 2025
5783dc0
separate parsing json to AstubxData and writing it as a astubx file
haewiful Oct 8, 2025
16f0ea1
check astubx file generation in AstubxTest
haewiful Oct 8, 2025
f50531a
add a message saying jdk17 shouldn't be used
haewiful Oct 8, 2025
545566f
use shadowJar of cli instead of running the code directly
haewiful Oct 8, 2025
186303d
added some comments
haewiful Oct 9, 2025
19ca20f
remove unused dependency
haewiful Oct 9, 2025
17927b1
cleanup
msridhar Oct 9, 2025
68a26d0
whoops undo some changes
msridhar Oct 9, 2025
5e56373
fix gradle files
msridhar Oct 9, 2025
ee3d04c
cleanup
msridhar Oct 9, 2025
c76b947
spotless
msridhar Oct 9, 2025
6647e38
more cleanup
msridhar Oct 9, 2025
b799283
try just using the project
msridhar Oct 9, 2025
042b0a9
CodeRabbit feedback fixes
haewiful Oct 10, 2025
dc0a558
javadoc
haewiful Oct 10, 2025
62bbd65
use regex pattern matching to extract the arguments & rename variables
haewiful Oct 11, 2025
239e1c4
more clean way to add arguments to method signature
haewiful Oct 11, 2025
0891649
change obtaining argument list logic
haewiful Oct 11, 2025
90fb83c
preserve suffixes after removing type parameters
haewiful Oct 14, 2025
d2121d8
add an integration test
msridhar Oct 14, 2025
caaf406
Update jdk-annotations/astubx-generator/src/test/java/com/uber/nullaw…
msridhar Oct 14, 2025
b043e1c
remove print
msridhar Oct 14, 2025
bd29e7d
coderabbit suggestion
msridhar Oct 14, 2025
3c0dd32
fix tests
msridhar Oct 14, 2025
148cae4
remove type argument annotations
haewiful Oct 15, 2025
49a3db1
Merge branch 'master' into jdk-javac
msridhar Oct 15, 2025
1640a9e
add integration test
msridhar Oct 15, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
cleanup
  • Loading branch information
haewiful committed Aug 21, 2025
commit 9e95626112ecbde5b05d51cfdb8864bb66467785
5 changes: 2 additions & 3 deletions jdk-annotations/test-annotated/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,9 @@ task generateAstubx(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath +
project(":jdk-annotations:astubx-generator-cli").sourceSets.main.runtimeClasspath
args = [
jsonOutputDir.absolutePath,
astubxOutputDir.absolutePath
jsonOutputDir.absolutePath,
astubxOutputDir.absolutePath
]
}

build.dependsOn tasks.named("generateAstubx")

This file was deleted.