Package arc.util

Class Reflect

java.lang.Object
arc.util.Reflect

public class Reflect extends Object
  • Constructor Details

    • Reflect

      public Reflect()
  • Method Details

    • newArray

      public static <T> T[] newArray(Class<T> type, int length)
    • newArray

      public static <T> T[] newArray(T[] oldType, int length)
    • isWrapper

      public static boolean isWrapper(Class<?> type)
    • cons

      public static <T> Prov<T> cons(Class<T> type)
    • get

      public static <T> T get(Field field)
    • get

      public static <T> T get(Object object, Field field)
    • get

      public static <T> T get(Class<?> type, Object object, String name)
    • get

      public static <T> T get(Object object, String name)
    • get

      public static <T> T get(Class<?> type, String name)
    • set

      public static void set(Class<?> type, Object object, String name, Object value)
    • set

      public static void set(Object object, Field field, Object value)
    • set

      public static void set(Object object, String name, Object value)
    • set

      public static void set(Class<?> type, String name, Object value)
    • invoke

      public static <T> T invoke(Class<?> type, Object object, String name, Object[] args, Class<?>... parameterTypes)
    • invoke

      public static <T> T invoke(Class<?> type, String name, Object[] args, Class<?>... parameterTypes)
    • invoke

      public static <T> T invoke(Class<?> type, String name)
    • invoke

      public static <T> T invoke(Object object, String name, Object[] args, Class<?>... parameterTypes)
    • invoke

      public static <T> T invoke(Object object, String name)
    • make

      public static <T> T make(String type)