Uses of Interface
com.google.errorprone.bugpatterns.threadsafety.ImmutableAnalysis.ViolationReporter
Package | Description |
---|---|
com.google.errorprone.bugpatterns.threadsafety |
-
Uses of ImmutableAnalysis.ViolationReporter in com.google.errorprone.bugpatterns.threadsafety
Methods in com.google.errorprone.bugpatterns.threadsafety with parameters of type ImmutableAnalysis.ViolationReporter Modifier and Type Method Description ThreadSafety.Violation
ImmutableAnalysis. checkForImmutability(Optional<com.sun.source.tree.ClassTree> tree, com.google.common.collect.ImmutableSet<String> immutableTyParams, com.sun.tools.javac.code.Type.ClassType type, ImmutableAnalysis.ViolationReporter reporter)
Check that an@Immutable
-annotated class: does not declare or inherit any mutable fields, any immutable supertypes are instantiated with immutable type arguments as required by their containerOf spec, and any enclosing instances are immutable.