Interface ThreadSafety.KnownTypes

All Known Implementing Classes:
WellKnownMutability, WellKnownThreadSafety
Enclosing class:
ThreadSafety

public static interface ThreadSafety.KnownTypes
Information about known types and whether they're known to be safe or unsafe.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    Helper for building maps of classes to AnnotationInfo.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.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.