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
-
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 com.ibm.wala.classLoader.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, UnaryOpInstruction
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.ibm.wala.ssa.SSAInstructionFactory
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, UnaryOpInstruction
-
Constructor Details
-
InstructionFactory
public InstructionFactory()
-
-
Method Details
-
EnclosingObjectReference
- Specified by:
EnclosingObjectReference
in interfaceAstJavaInstructionFactory
-
JavaNewEnclosingInstruction
public AstJavaNewEnclosingInstruction JavaNewEnclosingInstruction(int iindex, int result, NewSiteReference site, int enclosing) - Specified by:
JavaNewEnclosingInstruction
in interfaceAstJavaInstructionFactory
-
JavaInvokeInstruction
public AstJavaInvokeInstruction JavaInvokeInstruction(int iindex, int[] result, int[] params, int exception, CallSiteReference site) - Specified by:
JavaInvokeInstruction
in interfaceAstJavaInstructionFactory
-
AssertInstruction
- Specified by:
AssertInstruction
in interfaceAstInstructionFactory
-
AssignInstruction
- Specified by:
AssignInstruction
in interfaceAstInstructionFactory
-
EachElementGetInstruction
public EachElementGetInstruction EachElementGetInstruction(int iindex, int value, int objectRef, int propRef) - Specified by:
EachElementGetInstruction
in interfaceAstInstructionFactory
-
EachElementHasNextInstruction
public EachElementHasNextInstruction EachElementHasNextInstruction(int iindex, int value, int objectRef, int propRef) - Specified by:
EachElementHasNextInstruction
in interfaceAstInstructionFactory
-
EchoInstruction
- Specified by:
EchoInstruction
in interfaceAstInstructionFactory
-
GlobalRead
- Specified by:
GlobalRead
in interfaceAstInstructionFactory
-
GlobalWrite
- Specified by:
GlobalWrite
in interfaceAstInstructionFactory
-
IsDefinedInstruction
public AstIsDefinedInstruction IsDefinedInstruction(int iindex, int lval, int rval, int fieldVal, FieldReference fieldRef) - Specified by:
IsDefinedInstruction
in interfaceAstInstructionFactory
-
IsDefinedInstruction
public AstIsDefinedInstruction IsDefinedInstruction(int iindex, int lval, int rval, FieldReference fieldRef) - Specified by:
IsDefinedInstruction
in interfaceAstInstructionFactory
-
IsDefinedInstruction
- Specified by:
IsDefinedInstruction
in interfaceAstInstructionFactory
-
IsDefinedInstruction
- Specified by:
IsDefinedInstruction
in interfaceAstInstructionFactory
-
LexicalRead
- Specified by:
LexicalRead
in interfaceAstInstructionFactory
-
LexicalRead
- Specified by:
LexicalRead
in interfaceAstInstructionFactory
-
LexicalRead
public AstLexicalRead LexicalRead(int iindex, int lhs, String definer, String globalName, TypeReference type) - Specified by:
LexicalRead
in interfaceAstInstructionFactory
-
LexicalWrite
- Specified by:
LexicalWrite
in interfaceAstInstructionFactory
-
LexicalWrite
- Specified by:
LexicalWrite
in interfaceAstInstructionFactory
-
LexicalWrite
public AstLexicalWrite LexicalWrite(int iindex, String definer, String globalName, TypeReference type, int rhs) - Specified by:
LexicalWrite
in interfaceAstInstructionFactory
-
YieldInstruction
- Specified by:
YieldInstruction
in interfaceAstInstructionFactory
-
PropertyRead
- Specified by:
PropertyRead
in interfaceAstInstructionFactory
-
PropertyWrite
- Specified by:
PropertyWrite
in interfaceAstInstructionFactory
-