public static class ILanguageAdapter.ScalaAdapter extends java.lang.Object implements ILanguageAdapter
ILanguageAdapter.JavaAdapter, ILanguageAdapter.ScalaAdapter
Constructor and Description |
---|
ScalaAdapter() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getNewInstance(FMLModContainer container,
java.lang.Class<?> scalaObjectClass,
java.lang.ClassLoader classLoader,
java.lang.reflect.Method factoryMarkedAnnotation) |
void |
setInternalProxies(ModContainer mod,
Side side,
java.lang.ClassLoader loader) |
void |
setProxy(java.lang.reflect.Field target,
java.lang.Class<?> proxyTarget,
java.lang.Object proxy) |
boolean |
supportsStatics() |
public java.lang.Object getNewInstance(FMLModContainer container, java.lang.Class<?> scalaObjectClass, java.lang.ClassLoader classLoader, java.lang.reflect.Method factoryMarkedAnnotation) throws java.lang.Exception
getNewInstance
in interface ILanguageAdapter
java.lang.Exception
public boolean supportsStatics()
supportsStatics
in interface ILanguageAdapter
public void setProxy(java.lang.reflect.Field target, java.lang.Class<?> proxyTarget, java.lang.Object proxy) throws java.lang.IllegalArgumentException, java.lang.IllegalAccessException, java.lang.NoSuchFieldException, java.lang.SecurityException
setProxy
in interface ILanguageAdapter
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.lang.NoSuchFieldException
java.lang.SecurityException
public void setInternalProxies(ModContainer mod, Side side, java.lang.ClassLoader loader)
setInternalProxies
in interface ILanguageAdapter