为什么不是所有的 GuavaImmutableCollection类、ImmutableMap类等都用@Immutable(containerOf = {"E"})(或每个类的类型参数的等价物)注释?
完全限定的注释名称是com.google.errorprone.annotations.Immutable.
为什么不是所有的 GuavaImmutableCollection类、ImmutableMap类等都用@Immutable(containerOf = {"E"})(或每个类的类型参数的等价物)注释?
完全限定的注释名称是com.google.errorprone.annotations.Immutable.