| commit | aff3d507d357f87cda7cfeb4b148faccfcb3ef8b | [log] [tgz] |
|---|---|---|
| author | Winson Chiu <chiuwinson@google.com> | Wed Oct 05 16:14:29 2022 +0000 |
| committer | Winson Chiu <chiuwinson@google.com> | Wed Oct 05 16:27:07 2022 +0000 |
| tree | 5795100053ab35cd6701f109ea4539c60c1fdeaa | |
| parent | afd1ca4af9bd89f0c6d03ecf503ac18f5fbde4f8 [diff] |
Propagate class @Immutable.Ignore to references If a class is marked at its header with @Immutable.Ignore, the processor should ignore all usages and references to the class, regardless of it's used as a return type or type arg. Without this change, it was required to mark @Ignore on all of usages of the class. Test: atest android.processor.ImmutabilityProcessorTest#ignoredClass Change-Id: I5cd470d86c6eb8c3358656a6d8f6e2588bdb6c66