Class SafeVarHandle<Type,FieldType>

java.lang.Object
dev.jorel.commandapi.SafeVarHandle<Type,FieldType>
Type Parameters:
Type -
FieldType -

public class SafeVarHandle<Type,FieldType> extends Object
A wrapper around VarHandle with better type safety using generics and a toggleable underlying implementation depending on whether we're using mojang mappings or non-mojang mappings
  • Field Details

    • USING_MOJANG_MAPPINGS

      public static boolean USING_MOJANG_MAPPINGS
  • Method Details