Class Intrinsics

java.lang.Object
org.immutables.generator.Intrinsics

public final class Intrinsics extends Object
  • Constructor Details

    • Intrinsics

      private Intrinsics()
  • Method Details

    • $cast

      public static <T> T $cast(Object object)
    • $

      public static <T> T $(T value)
      Effect of using this method is boxing in calling code.
      Type Parameters:
      T - result type
      Parameters:
      value - value
      Returns:
      the same value.
    • $

      public static <F, T> T $(com.google.common.base.Function<? super F,T> unary, F value)
    • $

      public static <F> boolean $(com.google.common.base.Predicate<? super F> predicate, F value)
    • $

      public static <L, R, T> T $(L left, Templates.Binary<? super L,? super R,T> binary, R right)
    • $

      public static String $(String a, String b)
    • $

      public static String $(String a, String b, String c)
    • $

      public static Templates.Product $(Object... parameters)
    • $

      @SafeVarargs public static <T> Iterable<T> $(Iterable<? extends T>... iterables)
    • $

      public static <F> void $(Templates.Invokation invokation, com.google.common.base.Predicate<? super F> predicate, F value)
    • $

      public static <F> void $(Templates.Invokation invokation, com.google.common.base.Function<? super F,?> unary, F value)
    • $

      public static <A, B> void $(Templates.Invokation invokation, A left, Templates.Binary<? super A,? super B,?> binary, B right)
    • $

      public static void $(Templates.Invokation invokation, Templates.Invokable invokable, Object... parameters)
    • $

      public static void $(Templates.Invokation invokation, Object object)
    • $

      public static void $(Templates.Invokation invokation, String string)
    • $if

      public static boolean $if(boolean value)
    • $if

      public static boolean $if(Boolean value)
    • $if

      public static boolean $if(String value)
    • $if

      public static boolean $if(Collection<?> value)
    • $if

      public static boolean $if(Object value)
    • $in

      public static <T> Iterable<T> $in(Iterable<T> iterable)
    • $in

      public static <T> Iterable<T> $in(com.google.common.base.Optional<T> optional)
    • $in

      public static <T> T[] $in(T[] elements)
    • $in

      public static Iterable<Character> $in(char[] elements)
    • $in

      public static Iterable<Integer> $in(int[] elements)
    • $in

      public static Iterable<Long> $in(long[] elements)
    • $collect

      public static <E> Collection<E> $collect()