Class AnnotationInfo
java.lang.Object
com.google.errorprone.bugpatterns.threadsafety.AnnotationInfo
@Immutable public abstract class AnnotationInfo extends Object
Specifies information about a type which may be a container specified by generic type arguments,
e.g.
Immutable
.
Useful for providing information for immutable classes we can't easily annotate, e.g. those in the JDK.
-
Constructor Summary
Constructors Constructor Description AnnotationInfo()
-
Method Summary
Modifier and Type Method Description Set<String>
containerOf()
static AnnotationInfo
create(String typeName)
static AnnotationInfo
create(String typeName, Iterable<String> containerOf)
abstract String
typeName()
-
Constructor Details
-
AnnotationInfo
public AnnotationInfo()
-
-
Method Details
-
typeName
-
containerOf
-
create
-
create
-