public final class ParserTransformer extends Object
| Modifier and Type | Method and Description |
|---|---|
static ParserClassNode |
extendParserClass(Class<?> parserClass) |
static byte[] |
getByteCode(Class<?> parserClass)
Dump the bytecode of a transformed parser class
|
static <T> Class<? extends T> |
transformParser(Class<T> parserClass) |
public static <T> Class<? extends T> transformParser(Class<T> parserClass) throws Exception
Exceptionpublic static byte[] getByteCode(Class<?> parserClass) throws Exception
This method will run all bytecode transformations on the parser class then return a dump of the bytecode as a byte array.
parserClass - the parser classException - FIXMEextendParserClass(Class)public static ParserClassNode extendParserClass(Class<?> parserClass) throws Exception
Exception