Class RawJavap
java.lang.Object
org.ek9lang.compiler.backend.jvm.RawJavap
THE RAW
javap -c -p -l -v output for some class bytes, with no normalization at all.
This is the shared entry point for callers that want to slice ONE section out of javap's output
(the @DEBUG directive, via JavapSectionExtractor) rather than the whole-class
normalized form BytecodeNormalizer.normalize(byte[]) produces. The javap invocation itself is
BytecodeNormalizer's, so @DEBUG does not re-derive it. Hold one.
-
Constructor Details
-
RawJavap
public RawJavap()
-
-
Method Details
-
apply
The raw javap output.- Specified by:
applyin interfaceFunction<byte[],String> - Parameters:
classBytes- Compiled .class file bytes- Returns:
- Raw javap output
- Throws:
RuntimeException- if javap execution fails
-