Class JavaSourceLoaderImpl.InstructionFactory
java.lang.Object
com.ibm.wala.classLoader.JavaLanguage.JavaInstructionFactory
com.ibm.wala.cast.java.loader.JavaSourceLoaderImpl.InstructionFactory
- All Implemented Interfaces:
AstInstructionFactory, AstJavaInstructionFactory, SSAInstructionFactory
- Enclosing class:
JavaSourceLoaderImpl
public static class JavaSourceLoaderImpl.InstructionFactory
extends JavaLanguage.JavaInstructionFactory
implements AstJavaInstructionFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAssertInstruction(int iindex, int value, boolean fromSpecification) AssignInstruction(int iindex, int result, int val) EachElementGetInstruction(int iindex, int value, int objectRef, int propRef) EachElementHasNextInstruction(int iindex, int value, int objectRef, int propRef) EchoInstruction(int iindex, int[] rvals) EnclosingObjectReference(int iindex, int lval, TypeReference type) GlobalRead(int iindex, int lhs, FieldReference global) GlobalWrite(int iindex, FieldReference global, int rhs) IsDefinedInstruction(int iindex, int lval, int rval) IsDefinedInstruction(int iindex, int lval, int rval, int fieldVal) IsDefinedInstruction(int iindex, int lval, int rval, int fieldVal, FieldReference fieldRef) IsDefinedInstruction(int iindex, int lval, int rval, FieldReference fieldRef) JavaInvokeInstruction(int iindex, int[] result, int[] params, int exception, CallSiteReference site) JavaNewEnclosingInstruction(int iindex, int result, NewSiteReference site, int enclosing) LexicalRead(int iindex, int lhs, String definer, String globalName, TypeReference type) LexicalRead(int iindex, AstLexicalAccess.Access access) LexicalRead(int iindex, AstLexicalAccess.Access[] accesses) LexicalWrite(int iindex, AstLexicalAccess.Access access) LexicalWrite(int iindex, AstLexicalAccess.Access[] accesses) LexicalWrite(int iindex, String definer, String globalName, TypeReference type, int rhs) PropertyRead(int iindex, int result, int objectRef, int memberRef) PropertyWrite(int iindex, int objectRef, int memberRef, int value) YieldInstruction(int iindex, int[] rvals) Methods inherited from class JavaLanguage.JavaInstructionFactory
AddressOfInstruction, AddressOfInstruction, AddressOfInstruction, ArrayLengthInstruction, ArrayLoadInstruction, ArrayStoreInstruction, BinaryOpInstruction, CheckCastInstruction, CheckCastInstruction, CheckCastInstruction, CheckCastInstruction, ComparisonInstruction, ConditionalBranchInstruction, ConversionInstruction, GetCaughtExceptionInstruction, GetInstruction, GetInstruction, GotoInstruction, InstanceofInstruction, InvokeInstruction, InvokeInstruction, LoadIndirectInstruction, LoadMetadataInstruction, MonitorInstruction, NewInstruction, NewInstruction, PhiInstruction, PiInstruction, PutInstruction, PutInstruction, ReturnInstruction, ReturnInstruction, StoreIndirectInstruction, SwitchInstruction, ThrowInstruction, UnaryOpInstructionModifier and TypeMethodDescriptionAddressOfInstruction(int iindex, int lval, int local, int indexVal, TypeReference pointeeType) AddressOfInstruction(int iindex, int lval, int local, FieldReference field, TypeReference pointeeType) AddressOfInstruction(int iindex, int lval, int local, TypeReference pointeeType) ArrayLengthInstruction(int iindex, int result, int arrayref) ArrayLoadInstruction(int iindex, int result, int arrayref, int index, TypeReference declaredType) ArrayStoreInstruction(int iindex, int arrayref, int index, int value, TypeReference declaredType) BinaryOpInstruction(int iindex, IBinaryOpInstruction.IOperator operator, boolean overflow, boolean unsigned, int result, int val1, int val2, boolean mayBeInteger) CheckCastInstruction(int iindex, int result, int val, int[] typeValues, boolean isPEI) CheckCastInstruction(int iindex, int result, int val, int typeValue, boolean isPEI) CheckCastInstruction(int iindex, int result, int val, TypeReference[] types, boolean isPEI) CheckCastInstruction(int iindex, int result, int val, TypeReference type, boolean isPEI) ComparisonInstruction(int iindex, IComparisonInstruction.Operator operator, int result, int val1, int val2) ConditionalBranchInstruction(int iindex, IConditionalBranchInstruction.IOperator operator, TypeReference type, int val1, int val2, int target) ConversionInstruction(int iindex, int result, int val, TypeReference fromType, TypeReference toType, boolean overflow) GetCaughtExceptionInstruction(int iindex, int bbNumber, int exceptionValueNumber) GetInstruction(int iindex, int result, int ref, FieldReference field) GetInstruction(int iindex, int result, FieldReference field) GotoInstruction(int iindex, int target) InstanceofInstruction(int iindex, int result, int ref, TypeReference checkedType) InvokeInstruction(int iindex, int[] params, int exception, CallSiteReference site, BootstrapMethodsReader.BootstrapMethod bootstrap) InvokeInstruction(int iindex, int result, int[] params, int exception, CallSiteReference site, BootstrapMethodsReader.BootstrapMethod bootstrap) LoadIndirectInstruction(int iindex, int lval, TypeReference t, int addressVal) LoadMetadataInstruction(int iindex, int lval, TypeReference entityType, Object token) MonitorInstruction(int iindex, int ref, boolean isEnter) NewInstruction(int iindex, int result, NewSiteReference site) NewInstruction(int iindex, int result, NewSiteReference site, int[] params) PhiInstruction(int iindex, int result, int[] params) PiInstruction(int iindex, int result, int val, int piBlock, int successorBlock, SSAInstruction cause) PutInstruction(int iindex, int ref, int value, FieldReference field) PutInstruction(int iindex, int value, FieldReference field) ReturnInstruction(int iindex) ReturnInstruction(int iindex, int result, boolean isPrimitive) StoreIndirectInstruction(int iindex, int addressVal, int rval, TypeReference pointeeType) SwitchInstruction(int iindex, int val, int defaultLabel, int[] casesAndLabels) ThrowInstruction(int iindex, int exception) UnaryOpInstruction(int iindex, IUnaryOpInstruction.IOperator operator, int result, int val)
-
Constructor Details
-
InstructionFactory
public InstructionFactory()
-
-
Method Details
-
EnclosingObjectReference
- Specified by:
EnclosingObjectReferencein interfaceAstJavaInstructionFactory
-
JavaNewEnclosingInstruction
public AstJavaNewEnclosingInstruction JavaNewEnclosingInstruction(int iindex, int result, NewSiteReference site, int enclosing) - Specified by:
JavaNewEnclosingInstructionin interfaceAstJavaInstructionFactory
-
JavaInvokeInstruction
public AstJavaInvokeInstruction JavaInvokeInstruction(int iindex, int[] result, int[] params, int exception, CallSiteReference site) - Specified by:
JavaInvokeInstructionin interfaceAstJavaInstructionFactory
-
AssertInstruction
- Specified by:
AssertInstructionin interfaceAstInstructionFactory
-
AssignInstruction
- Specified by:
AssignInstructionin interfaceAstInstructionFactory
-
EachElementGetInstruction
public EachElementGetInstruction EachElementGetInstruction(int iindex, int value, int objectRef, int propRef) - Specified by:
EachElementGetInstructionin interfaceAstInstructionFactory
-
EachElementHasNextInstruction
public EachElementHasNextInstruction EachElementHasNextInstruction(int iindex, int value, int objectRef, int propRef) - Specified by:
EachElementHasNextInstructionin interfaceAstInstructionFactory
-
EchoInstruction
- Specified by:
EchoInstructionin interfaceAstInstructionFactory
-
GlobalRead
- Specified by:
GlobalReadin interfaceAstInstructionFactory
-
GlobalWrite
- Specified by:
GlobalWritein interfaceAstInstructionFactory
-
IsDefinedInstruction
public AstIsDefinedInstruction IsDefinedInstruction(int iindex, int lval, int rval, int fieldVal, FieldReference fieldRef) - Specified by:
IsDefinedInstructionin interfaceAstInstructionFactory
-
IsDefinedInstruction
public AstIsDefinedInstruction IsDefinedInstruction(int iindex, int lval, int rval, FieldReference fieldRef) - Specified by:
IsDefinedInstructionin interfaceAstInstructionFactory
-
IsDefinedInstruction
- Specified by:
IsDefinedInstructionin interfaceAstInstructionFactory
-
IsDefinedInstruction
- Specified by:
IsDefinedInstructionin interfaceAstInstructionFactory
-
LexicalRead
- Specified by:
LexicalReadin interfaceAstInstructionFactory
-
LexicalRead
- Specified by:
LexicalReadin interfaceAstInstructionFactory
-
LexicalRead
public AstLexicalRead LexicalRead(int iindex, int lhs, String definer, String globalName, TypeReference type) - Specified by:
LexicalReadin interfaceAstInstructionFactory
-
LexicalWrite
- Specified by:
LexicalWritein interfaceAstInstructionFactory
-
LexicalWrite
- Specified by:
LexicalWritein interfaceAstInstructionFactory
-
LexicalWrite
public AstLexicalWrite LexicalWrite(int iindex, String definer, String globalName, TypeReference type, int rhs) - Specified by:
LexicalWritein interfaceAstInstructionFactory
-
YieldInstruction
- Specified by:
YieldInstructionin interfaceAstInstructionFactory
-
PropertyRead
- Specified by:
PropertyReadin interfaceAstInstructionFactory
-
PropertyWrite
- Specified by:
PropertyWritein interfaceAstInstructionFactory
-