public interface

IJavaFactories

com.pnfsoftware.jeb.core.units.code.java.IJavaFactories

Class Overview

A collection of Java AST element factories.

Summary

Public Methods
abstract IJavaArithmeticExpression createArithmeticExpression(IJavaExpression left, IJavaOperator operator, IJavaExpression right)
abstract IJavaArrayElt createArrayElt(IJavaExpression array, IJavaExpression index)
abstract IJavaAssignment createAssignment(IJavaLeftExpression left, IJavaExpression right)
abstract IJavaBlock createBlock()
abstract IJavaBreak createBreak(IJavaLabel label)
abstract IJavaCall createCall(IJavaMethod m, int calltype, List<IJavaExpression> argument)
abstract IJavaCall createCall(IJavaMethod m, int calltype)
abstract IJavaConditionalExpression createConditionalExpression(IJavaExpression left, IJavaExpression right0, IJavaExpression right1)
abstract IJavaContinue createContinue(IJavaLabel label)
abstract IJavaDoWhile createDoWhile(IJavaBlock b, IJavaPredicate p)
abstract IJavaField createFieldReference(String fsig, Boolean hintStaticField)
abstract IJavaField createFieldReference(String fsig)
abstract IJavaFor createFor(IStatement pre, IJavaPredicate p, IStatement post, IJavaBlock b)
abstract IJavaGoto createGoto(IJavaLabel label)
abstract IJavaIf createIf(IJavaPredicate p, IJavaBlock b)
abstract IJavaInstanceField createInstanceField(IJavaExpression instance, IJavaField field)
abstract IJavaMethod createMethodReference(String msig, Boolean hintStaticMethod)
abstract IJavaMethod createMethodReference(String msig)
abstract IJavaNew createNew(IJavaType type, IJavaMethod method)
abstract IJavaNew createNew(IJavaType type, IJavaMethod method, List<IJavaExpression> arguments)
abstract IJavaNewArray createNewArray(IJavaType type, IJavaExpression size)
abstract IJavaNewArray createNewArray(IJavaType type, boolean areSizes, List<IJavaExpression> sizesOrInits)
abstract IJavaPredicate createPredicate(IJavaExpression left, IJavaOperator op, IJavaExpression right)
abstract IJavaReturn createReturn(IJavaExpression e)
abstract IJavaStaticField createStaticField(IJavaType classType, IJavaField field)
abstract IJavaSwitch createSwitch(IJavaExpression e)
abstract IJavaSynchronizedBlock createSynchronizedBlock(IJavaIdentifier lock, IJavaBlock b)
abstract IJavaThrow createThrow(IJavaExpression throwable)
abstract IJavaTypeReference createTypeReference(IJavaType type)
abstract IJavaWhile createWhile(IJavaPredicate p, IJavaBlock b)
abstract IJavaConstantFactory getConstantFactory()
abstract IDecompilerUnit getDecompiler()
Retrieve a reference to the decompiler that has provided this factory.
abstract IJavaOperatorFactory getOperatorFactory()
abstract IJavaTypeFactory getTypeFactory()

Public Methods

public abstract IJavaArithmeticExpression createArithmeticExpression (IJavaExpression left, IJavaOperator operator, IJavaExpression right)

public abstract IJavaArrayElt createArrayElt (IJavaExpression array, IJavaExpression index)

public abstract IJavaAssignment createAssignment (IJavaLeftExpression left, IJavaExpression right)

public abstract IJavaBlock createBlock ()

public abstract IJavaBreak createBreak (IJavaLabel label)

public abstract IJavaCall createCall (IJavaMethod m, int calltype, List<IJavaExpression> argument)

public abstract IJavaCall createCall (IJavaMethod m, int calltype)

public abstract IJavaConditionalExpression createConditionalExpression (IJavaExpression left, IJavaExpression right0, IJavaExpression right1)

public abstract IJavaContinue createContinue (IJavaLabel label)

public abstract IJavaDoWhile createDoWhile (IJavaBlock b, IJavaPredicate p)

public abstract IJavaField createFieldReference (String fsig, Boolean hintStaticField)

public abstract IJavaField createFieldReference (String fsig)

public abstract IJavaFor createFor (IStatement pre, IJavaPredicate p, IStatement post, IJavaBlock b)

public abstract IJavaGoto createGoto (IJavaLabel label)

public abstract IJavaIf createIf (IJavaPredicate p, IJavaBlock b)

public abstract IJavaInstanceField createInstanceField (IJavaExpression instance, IJavaField field)

public abstract IJavaMethod createMethodReference (String msig, Boolean hintStaticMethod)

public abstract IJavaMethod createMethodReference (String msig)

public abstract IJavaNew createNew (IJavaType type, IJavaMethod method)

public abstract IJavaNew createNew (IJavaType type, IJavaMethod method, List<IJavaExpression> arguments)

public abstract IJavaNewArray createNewArray (IJavaType type, IJavaExpression size)

public abstract IJavaNewArray createNewArray (IJavaType type, boolean areSizes, List<IJavaExpression> sizesOrInits)

public abstract IJavaPredicate createPredicate (IJavaExpression left, IJavaOperator op, IJavaExpression right)

public abstract IJavaReturn createReturn (IJavaExpression e)

public abstract IJavaStaticField createStaticField (IJavaType classType, IJavaField field)

public abstract IJavaSwitch createSwitch (IJavaExpression e)

public abstract IJavaSynchronizedBlock createSynchronizedBlock (IJavaIdentifier lock, IJavaBlock b)

public abstract IJavaThrow createThrow (IJavaExpression throwable)

public abstract IJavaTypeReference createTypeReference (IJavaType type)

public abstract IJavaWhile createWhile (IJavaPredicate p, IJavaBlock b)

public abstract IJavaConstantFactory getConstantFactory ()

public abstract IDecompilerUnit getDecompiler ()

Retrieve a reference to the decompiler that has provided this factory.

public abstract IJavaOperatorFactory getOperatorFactory ()

public abstract IJavaTypeFactory getTypeFactory ()