Class VariablesUtil


  • public class VariablesUtil
    extends Object
    • Constructor Detail

      • VariablesUtil

        public VariablesUtil()
    • Method Detail

      • cloneIfNecessary

        @NotNull
        public static @NotNull VariablesMap cloneIfNecessary​(@NotNull
                                                             @NotNull VariablesMap variables)
      • cloneIfNecessary

        @Nullable
        public static <T> @Nullable TypedValue<T> cloneIfNecessary​(String name,
                                                                   TypedValue<T> valueAndDef)
      • cloneIfNecessary

        @Nullable
        public static <T> T cloneIfNecessary​(String name,
                                             T value)
      • makeImmutableValue

        public static <T> T makeImmutableValue​(T value)
      • tryMakingImmutable

        @Nullable
        public static <T> T tryMakingImmutable​(T value)