google / google/error-prone

Support "javax.annotation.concurrent.Immutable" for immutability checks

Open
#612 2 comments 8 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
7.2k
Forks
820
Avg merge
5h 9m
Merged PRs (30d)
50

Description

I have a lot of code here, that uses "javax.annotation.concurrent.Immutable" to annotate classes that are - you may have guessed it - immutable.

Unfortunatley error-prone-compiler doesn't seem to recognize those annotations.

I'd love to see support for "javax.annotation.concurrent.Immutable". And maybe support all annotations that are called "Immutable". Independent from the package they are located in...

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.