Class JavaScriptConstructorFunctions.JavaScriptConstructor
java.lang.Object
com.ibm.wala.classLoader.SyntheticMethod
com.ibm.wala.ipa.summaries.SummarizedMethod
com.ibm.wala.cast.js.ipa.summaries.JavaScriptSummarizedFunction
com.ibm.wala.cast.js.ipa.summaries.JavaScriptConstructorFunctions.JavaScriptConstructor
- All Implemented Interfaces:
IMember, IMethod, ContextItem, IClassHierarchyDweller
- Enclosing class:
JavaScriptConstructorFunctions
public static class JavaScriptConstructorFunctions.JavaScriptConstructor
extends JavaScriptSummarizedFunction
-
Nested Class Summary
Nested classes/interfaces inherited from interface ContextItem
ContextItem.Value<T>Nested classes/interfaces inherited from interface IMethod
IMethod.SourcePosition -
Field Summary
Fields inherited from class SyntheticMethod
declaringClass, NO_STATEMENTS, resolvedMethodModifier and TypeFieldDescriptionfinal IClassstatic final SSAInstruction[]protected final IMethod -
Method Summary
Methods inherited from class JavaScriptSummarizedFunction
equals, makeControlFlowGraphModifier and TypeMethodDescriptionbooleanmakeControlFlowGraph(SSAInstruction[] instructions) Create anInducedCFGfrom an instruction array.Methods inherited from class SummarizedMethod
getLocalVariableName, getNumberOfParameters, getParameterType, getPoison, getPoisonLevel, getStatements, hasPoison, isAbstract, isNative, isStatic, makeIRModifier and TypeMethodDescriptiongetLocalVariableName(int bcIndex, int localNumber) intMethod getNumberOfParameters.getParameterType(int i) By convention, for a non-static method, getParameterType(0) is the this pointerbytegetStatements(SSAOptions options) booleanbooleanIs this method abstract?booleanisNative()Is this method native?booleanisStatic()Is this member static?makeIR(Context context, SSAOptions options) Most subclasses should override this.Methods inherited from class SyntheticMethod
getAnnotations, getBytecodeStream, getClassHierarchy, getDeclaredExceptions, getDeclaringClass, getDescriptor, getLineNumber, getMaxLocals, getMaxStackHeight, getName, getParameterSourcePosition, getReference, getReturnType, getSelector, getSignature, getSourcePosition, getStatements, hasExceptionHandler, hashCode, hasLocalVariableTable, isAnnotation, isBridge, isClinit, isEnum, isFactoryMethod, isFinal, isInit, isModule, isPrivate, isProtected, isPublic, isSynchronized, isSynthetic, isWalaSyntheticModifier and TypeMethodDescriptionGet the annotations on this member, if anyReturn the object that represents the declaring class for this member.something like: (IILjava.lang.String;SLjava.sql.Date;)Ljava.lang.Integer;intgetLineNumber(int bcIndex) intintgetName()getParameterSourcePosition(int paramNum) something like: foo(Ljava/langString;)Ljava/lang/Class;something like: com.foo.bar.createLargeOrder(IILjava.lang.String;SLjava.sql.Date;)Ljava.lang.Integer;getSourcePosition(int bcIndex) booleaninthashCode()booleanbooleanbooleanisBridge()Is this method a bridge method? See JLS 3rd Edition 15.12.4.5booleanisClinit()Is this method a class initializer?booleanisEnum()booleanbooleanisFinal()Is this method final?booleanisInit()Is this method an object initializer?booleanisModule()booleanIs this method private?booleanIs this method protected?booleanisPublic()Is this method public?booleanIs this method synchronized?booleanIs this method synthetic, i.e., compiler-generated (this refers to the synthetic flag in java/dex bytecode)booleanIs the implementation of this method a model generated by WALA? For compiler-generated synthetic methods, refer toIMethod.isSynthetic()Methods inherited from interface IMethod
getNumberOfDefaultParameters
-
Method Details
-
toString
- Overrides:
toStringin classSyntheticMethod
-
constructedType
-