Interface ICElementFactory
Factory interface for common AST objects. Concrete factories can be retrieved from the
ICGlobalContext
of the decompiled target.
AST type, class, field, method, label, identifier and constant elements can be created with their
respective factories.
-
Method Summary
Modifier and TypeMethodDescriptioncreateArrayElement
(ICExpression array, ICExpression eltIndex) createAssignment
(ICLeftExpression left, ICExpression right) createBlock
(ICStatement stm) createBlock
(ICStatement... stms) createBreak
(ICLabel label) createCall
(ICExpression callsite, List<ICExpression> arguments, List<ICMethod> candidates) createCall
(ICMethod method, List<ICExpression> arguments) createCast
(ICType casttype, ICExpression expression) createContinue
(ICLabel label) createDecl
(ICIdentifier var) createForLoop
(ICStatement pre, ICPredicate p, ICStatement post, ICBlock b) createGoto
(ICLabel label) createIfStm
(ICPredicate p, ICBlock b) createIfStm
(ICPredicate p, ICStatement stm) createIfStm
(ICPredicate p, ICStatement stm, ICStatement defaultStm) createInstanceField
(ICField field, ICExpression instance, boolean pointed) createJumpFar
(ICExpression jumpsite) createNativeStatement
(long nativeAddress) createOperation
(COperatorType operatorType, ICExpression opnd1) createOperation
(COperatorType operatorType, ICExpression opnd1, ICExpression opnd2) createOperation
(COperatorType operatorType, ICExpression opnd1, ICExpression opnd2, ICExpression opnd3) createOperation
(ICOperator operator, ICExpression opnd1) createOperation
(ICOperator operator, ICExpression opnd1, ICExpression opnd2) createOperation
(ICOperator operator, ICExpression opnd1, ICExpression opnd2, ICExpression opnd3) createSwitchStm
(ICExpression value) createThrow
(ICExpression throwable) createTuple
(List<ICExpression> elements) createWhileStm
(ICPredicate p, ICBlock b)
-
Method Details
-
createDecl
-
createArrayElement
-
createAssignment
-
createBlock
ICBlock createBlock() -
createBlock
-
createBlock
-
createBreak
ICBreak createBreak() -
createBreak
-
createContinue
ICContinue createContinue() -
createContinue
-
createCall
-
createCall
-
createDoWhileStm
-
createForLoop
-
createGoto
-
createIfStm
-
createIfStm
-
createIfStm
-
createInstanceField
-
createJumpFar
-
createNativeStatement
-
createOperation
-
createOperation
-
createOperation
ICOperation createOperation(ICOperator operator, ICExpression opnd1, ICExpression opnd2, ICExpression opnd3) -
createOperation
-
createOperation
-
createOperation
ICOperation createOperation(COperatorType operatorType, ICExpression opnd1, ICExpression opnd2, ICExpression opnd3) -
createCast
-
createPredicate
-
createReturn
ICReturn createReturn() -
createReturn
-
createSwitchStm
-
createTuple
-
createWhileStm
-
createThrow
-