Class JavaScriptSummary
java.lang.Object
com.ibm.wala.ipa.summaries.MethodSummary
com.ibm.wala.cast.js.ipa.summaries.JavaScriptSummary
-
Field Summary
Fields inherited from class MethodSummary
NO_STATEMENTS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetParameterType(int i) Note that by convention, getParameterType(0) == this for non-static methods.Methods inherited from class MethodSummary
addConstant, addPoison, addStatement, getConstants, getMethod, getNumberOfStatements, getPoison, getPoisonLevel, getReturnType, getStatements, getValue, getValueNames, hasPoison, isFactory, isNative, isStatic, setFactory, setPoisonLevel, setStatic, setValueNames, toStringModifier and TypeMethodDescriptionvoidaddConstant(Integer vn, ConstantValue value) voidvoidaddStatement(SSAInstruction statement) Returns the method.intbytebooleanbooleanbooleanisNative()booleanisStatic()voidsetFactory(boolean b) Record if this is a "factory" method; meaning it returns some object which we know little about ...voidsetPoisonLevel(byte b) voidsetStatic(boolean b) voidsetValueNames(Map<Integer, @NonNull Atom> nameTable) toString()
-
Constructor Details
-
JavaScriptSummary
-
-
Method Details
-
getNumberOfParameters
public int getNumberOfParameters()- Overrides:
getNumberOfParametersin classMethodSummary- Returns:
- the number of parameters, including the implicit 'this'
-
getParameterType
Description copied from class:MethodSummaryNote that by convention, getParameterType(0) == this for non-static methods.- Overrides:
getParameterTypein classMethodSummary
-