java.lang.Object
net.megavex.scoreboardlibrary.implementation.packetAdapter.util.reflect.ReflectUtil

public class ReflectUtil extends Object
  • Method Details

    • findField

      @NotNull public static <T, V> @NotNull FieldAccessor<T,V> findField(@NotNull @NotNull Class<T> clazz, @NotNull @NotNull String name, @NotNull @NotNull Class<V> valueClass)
    • findField

      @NotNull public static <T, V> @NotNull FieldAccessor<T,V> findField(@NotNull @NotNull Class<T> clazz, @NotNull @NotNull String[] names, @NotNull @NotNull Class<V> valueClass)
    • findConstructorOrThrow

      @NotNull public static <T> @NotNull ConstructorAccessor<T> findConstructorOrThrow(@NotNull @NotNull Class<T> clazz, @NotNull @NotNull Class<?>... args)
    • findConstructor

      @Nullable public static <T> @Nullable ConstructorAccessor<T> findConstructor(@NotNull @NotNull Class<T> clazz, @NotNull @NotNull Class<?>... args)
    • findEmptyConstructor

      @NotNull public static <T> @NotNull PacketConstructor<T> findEmptyConstructor(@NotNull @NotNull Class<T> packetClass)