Class MethodProcessor
- java.lang.Object
-
- org.jetbrains.java.decompiler.main.rels.MethodProcessor
-
- All Implemented Interfaces:
java.lang.Runnable
public class MethodProcessor extends java.lang.Object implements java.lang.Runnable
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.ThreadLocal<ControlFlowGraph>debugCurrentCFGstatic java.lang.ThreadLocal<DecompileRecord>debugCurrentDecompileRecordstatic java.lang.ThreadLocal<RootStatement>debugCurrentlyDecompilingjava.lang.Objectlock
-
Constructor Summary
Constructors Constructor Description MethodProcessor(StructClass klass, StructMethod method, MethodDescriptor methodDescriptor, VarProcessor varProc, DecompilerContext parentContext)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RootStatementcodeToJava(StructClass cl, StructMethod mt, MethodDescriptor md, VarProcessor varProc)RootStatementgetResult()booleanisFinished()voidrun()
-
-
-
Field Detail
-
debugCurrentlyDecompiling
public static java.lang.ThreadLocal<RootStatement> debugCurrentlyDecompiling
-
debugCurrentCFG
public static java.lang.ThreadLocal<ControlFlowGraph> debugCurrentCFG
-
debugCurrentDecompileRecord
public static java.lang.ThreadLocal<DecompileRecord> debugCurrentDecompileRecord
-
lock
public final java.lang.Object lock
-
-
Constructor Detail
-
MethodProcessor
public MethodProcessor(StructClass klass, StructMethod method, MethodDescriptor methodDescriptor, VarProcessor varProc, DecompilerContext parentContext)
-
-
Method Detail
-
run
public void run()
- Specified by:
runin interfacejava.lang.Runnable
-
codeToJava
public static RootStatement codeToJava(StructClass cl, StructMethod mt, MethodDescriptor md, VarProcessor varProc) throws java.io.IOException
- Throws:
java.io.IOException
-
getResult
public RootStatement getResult() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
isFinished
public boolean isFinished()
-
-