Class ThreadSafetyKnownTypes.MapBuilder
java.lang.Object
com.google.errorprone.bugpatterns.threadsafety.ThreadSafetyKnownTypes.MapBuilder
- Enclosing interface:
ThreadSafetyKnownTypes
Helper for building maps of classes to
AnnotationInfo
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAll
(com.google.common.collect.ImmutableMap<String, AnnotationInfo> map) addClasses
(Set<Class<?>> clazzs) addStrings
(List<String> classNames) com.google.common.collect.ImmutableMap
<String, AnnotationInfo> build()
-
Constructor Details
-
MapBuilder
public MapBuilder()
-
-
Method Details
-
addClasses
-
addStrings
-
addAll
@CanIgnoreReturnValue public ThreadSafetyKnownTypes.MapBuilder addAll(com.google.common.collect.ImmutableMap<String, AnnotationInfo> map) -
add
@CanIgnoreReturnValue public ThreadSafetyKnownTypes.MapBuilder add(Class<?> clazz, String... containerOf) -
add
@CanIgnoreReturnValue public ThreadSafetyKnownTypes.MapBuilder add(String className, String... containerOf) -
build
-