Interface ThreadSafetyKnownTypes
- All Known Implementing Classes:
WellKnownMutability
,WellKnownThreadSafety
public interface ThreadSafetyKnownTypes
Information about known types and whether they're known to be safe or unsafe.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
Helper for building maps of classes toAnnotationInfo
. -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.collect.ImmutableMap
<String, AnnotationInfo> Types that are known to be safe even if they're not annotated with an expected annotation.com.google.common.collect.ImmutableSet
<String> Types that are known to be unsafe and don't need testing.
-
Method Details
-
getKnownSafeClasses
com.google.common.collect.ImmutableMap<String,AnnotationInfo> getKnownSafeClasses()Types that are known to be safe even if they're not annotated with an expected annotation. -
getKnownUnsafeClasses
com.google.common.collect.ImmutableSet<String> getKnownUnsafeClasses()Types that are known to be unsafe and don't need testing.
-