Package jadx.core.codegen
Class ConditionGen
java.lang.Object
jadx.core.codegen.InsnGen
jadx.core.codegen.ConditionGen
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class jadx.core.codegen.InsnGen
InsnGen.Flags -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidadd(ICodeWriter code, ConditionGen.CondStack stack, IfCondition condition) voidadd(ICodeWriter code, IfCondition condition) private voidaddAndOr(ICodeWriter code, ConditionGen.CondStack stack, IfCondition condition) private voidaddCompare(ICodeWriter code, ConditionGen.CondStack stack, Compare compare) private voidaddNot(ICodeWriter code, ConditionGen.CondStack stack, IfCondition condition) private voidaddTernary(ICodeWriter code, ConditionGen.CondStack stack, IfCondition condition) private static booleanisArgWrapNeeded(InsnArg arg) private booleanisWrapNeeded(IfCondition condition) private voidwrap(ICodeWriter code, ConditionGen.CondStack stack, IfCondition cond) private voidwrap(ICodeWriter code, InsnArg firstArg) (package private) voidwrap(ICodeWriter code, IfCondition condition) Methods inherited from class jadx.core.codegen.InsnGen
addArg, addArg, addArg, addArgDot, assignVar, declareVar, declareVar, generateMethodArguments, makeInsn, makeInsn, makeStaticFieldAccess, staticField, useClass, useClass, useType
-
Constructor Details
-
ConditionGen
-
-
Method Details
-
add
- Throws:
CodegenException
-
wrap
- Throws:
CodegenException
-
add
private void add(ICodeWriter code, ConditionGen.CondStack stack, IfCondition condition) throws CodegenException - Throws:
CodegenException
-
wrap
private void wrap(ICodeWriter code, ConditionGen.CondStack stack, IfCondition cond) throws CodegenException - Throws:
CodegenException
-
wrap
- Throws:
CodegenException
-
addCompare
private void addCompare(ICodeWriter code, ConditionGen.CondStack stack, Compare compare) throws CodegenException - Throws:
CodegenException
-
addTernary
private void addTernary(ICodeWriter code, ConditionGen.CondStack stack, IfCondition condition) throws CodegenException - Throws:
CodegenException
-
addNot
private void addNot(ICodeWriter code, ConditionGen.CondStack stack, IfCondition condition) throws CodegenException - Throws:
CodegenException
-
addAndOr
private void addAndOr(ICodeWriter code, ConditionGen.CondStack stack, IfCondition condition) throws CodegenException - Throws:
CodegenException
-
isWrapNeeded
-
isArgWrapNeeded
-