public abstract class RealClassGenerator extends Object
| Constructor and Description | 
|---|
| RealClassGenerator() | 
| Modifier and Type | Method and Description | 
|---|---|
| static Map<String,List<Method>> | buildSimpleToAllMap(Class[] interfaces,
                   String[] superTypeNames) | 
| static void | coerceArgumentsToRuby(SkinnyMethodAdapter mv,
                     Class[] paramTypes,
                     int rubyIndex) | 
| static void | coerceResultAndReturn(SkinnyMethodAdapter mv,
                     Class returnType) | 
| static Class | createOldStyleImplClass(Class[] superTypes,
                       RubyClass rubyClass,
                       Ruby ruby,
                       String name,
                       ClassDefiningClassLoader classLoader) | 
| static Class | createRealImplClass(Class superClass,
                   Class[] interfaces,
                   RubyClass rubyClass,
                   Ruby ruby,
                   String name) | 
| static Class | defineOldStyleImplClass(Ruby ruby,
                       String name,
                       String[] superTypeNames,
                       Map<String,List<Method>> simpleToAll,
                       ClassDefiningClassLoader classLoader)This variation on defineImplClass uses all the classic type coercion logic
 for passing args and returning results. | 
| static Class | defineRealImplClass(Ruby runtime,
                   String name,
                   Class superClass,
                   String[] superTypeNames,
                   Map<String,List<Method>> simpleToAll)This variation on defineImplClass uses all the classic type coercion logic
 for passing args and returning results. | 
| static boolean | isCacheOk(CacheEntry entry,
         IRubyObject self) | 
public static Map<String,List<Method>> buildSimpleToAllMap(Class[] interfaces, String[] superTypeNames) throws SecurityException
SecurityExceptionpublic static Class createOldStyleImplClass(Class[] superTypes, RubyClass rubyClass, Ruby ruby, String name, ClassDefiningClassLoader classLoader)
public static Class createRealImplClass(Class superClass, Class[] interfaces, RubyClass rubyClass, Ruby ruby, String name)
public static Class defineOldStyleImplClass(Ruby ruby, String name, String[] superTypeNames, Map<String,List<Method>> simpleToAll, ClassDefiningClassLoader classLoader)
ruby - name - superTypeNames - simpleToAll - public static Class defineRealImplClass(Ruby runtime, String name, Class superClass, String[] superTypeNames, Map<String,List<Method>> simpleToAll)
runtime - name - superTypeNames - simpleToAll - public static void coerceArgumentsToRuby(SkinnyMethodAdapter mv, Class[] paramTypes, int rubyIndex)
public static void coerceResultAndReturn(SkinnyMethodAdapter mv, Class returnType)
public static boolean isCacheOk(CacheEntry entry, IRubyObject self)
Copyright © 2001-2016 JRuby. All Rights Reserved.