| Modifier and Type | Class and Description |
|---|---|
| private static class | ASM.
Note required to account for ASM calculating stack-map frames in which case it might need to know of JRuby's dynamically loaded classes |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ClassWriter | |
| public static ClassWriter | |
| public static ClassWriter |
| ASM | back to summary |
|---|---|
| private ASM() | |
| newClassWriter | back to summary |
|---|---|
| public static ClassWriter newClassWriter() | |
| newClassWriter | back to summary |
|---|---|
| public static ClassWriter newClassWriter(ClassLoader loader) | |
| newClassWriter | back to summary |
|---|---|
| public static ClassWriter newClassWriter(ClassLoader loader, final int flags) | |
Note
required to account for ASM calculating stack-map frames in which case it might need to know of JRuby's dynamically loaded classes
| Modifier and Type | Field and Description |
|---|---|
| private final ClassLoader |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected String | getCommonSuperClass(String
the internal name of a class (see type1, String Type#getInternalName()).the internal name of another class (see type2)Type#getInternalName()).Overrides org. Returns the common super type of the two given types. |
| private static String |
| loader | back to summary |
|---|---|
| private final ClassLoader loader | |
| ClassLoaderAwareWriter | back to summary |
|---|---|
| pack-priv ClassLoaderAwareWriter(final ClassLoader loader, final int flags) | |
| getCommonSuperClass | back to summary |
|---|---|
| protected String getCommonSuperClass(String type1, String type2) Overrides org. Doc from org. Returns the common super type of the two given types. The default implementation of this method loads the two given classes and uses the java.lang.Class methods to find the common super class. It can be overridden to compute this common super type in other ways, in particular without actually loading any class, or to take into account the class that is currently being generated by this ClassWriter, which can of course not be loaded since it is under construction.
| |
| getCommonSuperClassImpl | back to summary |
|---|---|
| private static String getCommonSuperClassImpl(String type1, String type2, final ClassLoader loader) throws TypeNotPresentException | |