-
Notifications
You must be signed in to change notification settings - Fork 8
Add PICO annotation #106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
aosen-xiong
wants to merge
117
commits into
eisop:master
Choose a base branch
from
aosen-xiong:pico-move
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Add PICO annotation #106
Changes from 42 commits
Commits
Show all changes
117 commits
Select commit
Hold shift + click to select a range
4ac32c6
Add all annotations from PICO
2d4b59a
Annotate `Object`
8d05b23
Annotate `Serializable`
db869cc
Annotate `Date`
3466455
Annotate `FileInputStream` and `ObjectOutputStream`
50c2952
Annotate `Iterator`
1d6408f
Annotate `Throwable`
de05b72
Annotate `IndexOutOfBoundsException`
3936f73
Annotate `StringBuilder`
8156957
Annotate `CharSequence`
22347f4
Annotate `String`
9cd9d17
Annotate `RuntimeException`
1d8b0c0
Annotate `Cloneable`
8be60b7
Annotate `Comparable`
ca9f48d
Annotate `Collection`
31387f6
Annotate `AbstractCollection`
d7e5a00
More annotations for `Iterator`
5504162
Annotate `List`
e282eb2
Import PICO in `List`
c5a0af6
Annotate `Collections`
c5f61b9
Annotate `AbstractList`
2d57c20
Annotate `Map`
a153821
Annotate `AbstractMap`
89d2c16
Annotate `HashMap`
26047b9
Annotate `Set`
43324c0
Annotate `AbstractSet`
2bf56b1
Annotate `HashSet`
b1d7ea2
Annotate `ArrayList`
4aca645
Annotate `File`
30ee3e5
Annotate `StringBuffer`
a45538d
Annotate `AbstractStringBuilder`
111fe02
Annotate `Array`
5e51849
More annotations for `Arrays`
b9ac1fc
Annotate `Stack`
adfe794
Annotate `Vector`
7bb4912
Import Readonly in `Logger`
552b2a5
Annotate `HashTable`
0dccf15
Annotate `PrintStream`
50fdf29
Annotate `PrintWriter`
ce93b81
Annotate `Container`
3be97ae
Annotate `AnnotationMirror`
d8d42c9
Annotate `ExecutionException`
50bbc71
Export PICO in `module-info.java`
733b538
Fix typos and reorder qualifier
d452318
Fix import
02f104d
Fix import
52c8a4a
A few mutable annotations for setters
852ec54
A few mutable annotations for setters
85b5275
A few mutable annotations for setters in Map
fef7277
Entryset's receiver should be readonly
61f55da
Allow constructor to take any take arraylist
aosen-xiong a32a288
Add import
aosen-xiong c5777c3
Annotate getter as Readonly
aosen-xiong 1360278
Annotate util method in Object
aosen-xiong e4fbd15
Annotate util method in Object
aosen-xiong dfa3348
A few more annotations
aosen-xiong 7101885
More annotations
aosen-xiong ec1d6c3
Make copyof polymutable
aosen-xiong bbea90a
Make arraycopy polymutable
aosen-xiong af50f17
Annotation for `AtomicInteger`
aosen-xiong 852dfff
Correct array annotations
aosen-xiong 19a2c57
More annotations
aosen-xiong e771edd
More annotations
aosen-xiong 14410e2
A large update
aosen-xiong df801bd
Merge remote-tracking branch 'origin/master' into pico-move
aosen-xiong 0bb59f1
Remove sideeffectsonly annotations because of merge errors
aosen-xiong eea9cf1
Fix DefaultQualifier because of merge error
aosen-xiong cabab35
Undo error in treemap because of merge
aosen-xiong 457007f
Commit PICO annotation
aosen-xiong de61bde
Commit PICO annotation
aosen-xiong 6245543
Commit PICO annotation
aosen-xiong bf4e90d
Commit PICO annotation
aosen-xiong f4cf00f
All good!
aosen-xiong 5b4485e
Fix a few errors and remove redundant mutable
aosen-xiong 5587b8f
Continue suppress warnings on Date
aosen-xiong 1f9600e
Add a few Initialization annotations
aosen-xiong 13593db
Remove unused import
aosen-xiong ff52d6b
Try lazyfinal
aosen-xiong 95d59ee
Fix package issue
aosen-xiong 0cdb340
Add lazyfinal annotations
aosen-xiong 1f2cd40
Merge branch 'master' into pico-move
aosen-xiong 5daf90f
Another round and some format
aosen-xiong 4779e30
Add annotations
aosen-xiong 5d97d87
Add annotations
aosen-xiong 5dbd81a
Add annotations
aosen-xiong a098ebb
Add annotations
aosen-xiong 1c7b4a1
Add annotations
aosen-xiong 30ea111
Add annotations
aosen-xiong 11da63b
Add annotations
aosen-xiong 6f84799
Add annotations
aosen-xiong adb58cc
Add annotations
aosen-xiong 7a4a0cd
Add annotations
aosen-xiong 1acde16
Add annotations
aosen-xiong 61c16eb
Add annotations
aosen-xiong 33d9ae1
Add annotations
aosen-xiong 9bdb806
Add annotations
aosen-xiong e1d766e
Add annotations
aosen-xiong 06782f9
Update comment
aosen-xiong d0a5439
WIP
aosen-xiong 9d7df7d
WIP
aosen-xiong 54c49fb
WIP
aosen-xiong 4826034
WIP
aosen-xiong ecf465c
WIP
aosen-xiong 7c5f060
Hack on JDK to remove strange errors
aosen-xiong 5a8addc
WIP
aosen-xiong de3b7d6
Merge branch 'master' into final-case-study
aosen-xiong 60470fd
Empty commit for CI
aosen-xiong c613344
Remove LazyFinal
aosen-xiong a1ebb99
Merge branch 'master' into pico-move
aosen-xiong 71ce588
Merge pico-artifact into pico-move
aosen-xiong b6085ce
Remove stale PICO qualifier definitions
aosen-xiong b56178f
Revert class file gitignore entry
aosen-xiong 00bdd7a
Trigger JDK CI
aosen-xiong a587387
Remove initialization annotations from pico move
aosen-xiong e66daf7
Restore existing initialization annotations
aosen-xiong 6fb403e
Rename PICO annotations to Mutability annotations
aosen-xiong 411ee3d
Sync mutability qualifiers with Checker Framework
aosen-xiong File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should all files have this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am still thinking. At least for most usage in
@RDMclass, this make sense because we need to make the most method can be used for both@Immutableand@Mutableclass like getters. Some methods can only be used by@Mutablereceiver likeadd(...).I am wondering should we default the defaultqualifierforuse to RDM for RDM class?