Class ImmutableCollections

java.lang.Object
com.google.errorprone.bugpatterns.ImmutableCollections

public final class ImmutableCollections
extends Object
Common utility functions for immutable collections.
  • Field Details

    • MUTABLE_TO_IMMUTABLE_CLASS_NAME_MAP

      public static final com.google.common.collect.ImmutableMap<String,​String> MUTABLE_TO_IMMUTABLE_CLASS_NAME_MAP
  • Method Details

    • isImmutableType

      public static boolean isImmutableType​(com.sun.tools.javac.code.Type type)