public class AsmCodeGenerator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CACHED_GET_BUNDLE_METHOD |
static java.lang.String |
CREATE_COMPONENTS_METHOD_NAME |
static java.lang.String |
GET_FONT_METHOD_NAME |
static java.lang.String |
GET_MESSAGE_FROM_BUNDLE |
static java.lang.String |
GET_ROOT_COMPONENT_METHOD_NAME |
static java.lang.String |
LOAD_BUTTON_TEXT_METHOD |
static java.lang.String |
LOAD_LABEL_TEXT_METHOD |
static java.lang.String |
ourBorderFactoryClientProperty |
static java.lang.String |
SETUP_METHOD_NAME |
Constructor and Description |
---|
AsmCodeGenerator(LwRootContainer rootContainer,
InstrumentationClassFinder finder,
NestedFormLoader formLoader,
boolean ignoreCustomCreation,
ClassWriter classWriter) |
Modifier and Type | Method and Description |
---|---|
FormErrorInfo[] |
getErrors() |
byte[] |
getPatchedData() |
FormErrorInfo[] |
getWarnings() |
byte[] |
patchClass(ClassReader reader) |
byte[] |
patchClass(java.io.InputStream classStream) |
void |
patchFile(java.io.File classFile) |
static Type |
typeFromClassName(java.lang.String className) |
public static final java.lang.String SETUP_METHOD_NAME
public static final java.lang.String GET_ROOT_COMPONENT_METHOD_NAME
public static final java.lang.String CREATE_COMPONENTS_METHOD_NAME
public static final java.lang.String LOAD_LABEL_TEXT_METHOD
public static final java.lang.String LOAD_BUTTON_TEXT_METHOD
public static final java.lang.String GET_FONT_METHOD_NAME
public static final java.lang.String GET_MESSAGE_FROM_BUNDLE
public static final java.lang.String CACHED_GET_BUNDLE_METHOD
public static final java.lang.String ourBorderFactoryClientProperty
public AsmCodeGenerator(LwRootContainer rootContainer, InstrumentationClassFinder finder, NestedFormLoader formLoader, boolean ignoreCustomCreation, ClassWriter classWriter)
public void patchFile(java.io.File classFile)
public byte[] patchClass(java.io.InputStream classStream)
public byte[] patchClass(ClassReader reader)
public FormErrorInfo[] getErrors()
public FormErrorInfo[] getWarnings()
public byte[] getPatchedData()
public static Type typeFromClassName(java.lang.String className)