YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
cpw.mods.fml.common.ObfuscationReflectionHelper Class Reference

Static Public Member Functions

static< T, E > T getPrivateValue (Class<?super E > classToAccess, E instance, int fieldIndex)
 
static String[] remapFieldNames (String className, String...fieldNames)
 
static< T, E > T getPrivateValue (Class<?super E > classToAccess, E instance, String...fieldNames)
 
static< T, E > void setPrivateValue (Class<?super T > classToAccess, T instance, int fieldIndex, E value)
 
static< T, E > void setPrivateValue (Class<?super T > classToAccess, T instance, E value, int fieldIndex)
 
static< T, E > void setPrivateValue (Class<?super T > classToAccess, T instance, String fieldName, E value)
 
static< T, E > void setPrivateValue (Class<?super T > classToAccess, T instance, E value, String...fieldNames)
 

Detailed Description

Some reflection helper code.

Author
cpw

Member Function Documentation

static <T,E> T cpw.mods.fml.common.ObfuscationReflectionHelper.getPrivateValue ( Class<?super E >  classToAccess,
instance,
int  fieldIndex 
)
static
static <T,E> T cpw.mods.fml.common.ObfuscationReflectionHelper.getPrivateValue ( Class<?super E >  classToAccess,
instance,
String...  fieldNames 
)
static
static String [] cpw.mods.fml.common.ObfuscationReflectionHelper.remapFieldNames ( String  className,
String...  fieldNames 
)
static
static <T,E> void cpw.mods.fml.common.ObfuscationReflectionHelper.setPrivateValue ( Class<?super T >  classToAccess,
instance,
int  fieldIndex,
value 
)
static
static <T,E> void cpw.mods.fml.common.ObfuscationReflectionHelper.setPrivateValue ( Class<?super T >  classToAccess,
instance,
value,
int  fieldIndex 
)
static
static <T,E> void cpw.mods.fml.common.ObfuscationReflectionHelper.setPrivateValue ( Class<?super T >  classToAccess,
instance,
String  fieldName,
value 
)
static
static <T,E> void cpw.mods.fml.common.ObfuscationReflectionHelper.setPrivateValue ( Class<?super T >  classToAccess,
instance,
value,
String...  fieldNames 
)
static

The documentation for this class was generated from the following file: