com.ibm.wala.cast.js.loader
Class JavaScriptLoader.JavaScriptMethodObject
java.lang.Object
com.ibm.wala.cast.loader.AstMethod
com.ibm.wala.cast.js.loader.JavaScriptLoader.JavaScriptMethodObject
- All Implemented Interfaces:
- IMember, IMethod, ContextItem, IClassHierarchyDweller
- Enclosing class:
- JavaScriptLoader
public class JavaScriptLoader.JavaScriptMethodObject
- extends AstMethod
| Methods inherited from class com.ibm.wala.cast.loader.AstMethod |
getControlFlowGraph, getDeclaringClass, getDescriptor, getLineNumber, getName, getNumberOfParameters, getReference, getReturnType, getSelector, getSignature, getSourcePosition, getSourcePosition, hasExceptionHandler, isAbstract, isClinit, isFinal, isInit, isNative, isPrivate, isProtected, isPublic, isStatic, isSynchronized, isSynthetic, isVolatile |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
getClassHierarchy
public IClassHierarchy getClassHierarchy()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getDeclaredExceptions
public TypeReference[] getDeclaredExceptions()
- Returns:
- an array of the exception types declared by the throws clause for
this method, or null if there are none
getParents
public AstMethod.LexicalParent[] getParents()
- Specified by:
getParents in class AstMethod
getLocalVariableName
public java.lang.String getLocalVariableName(int bcIndex,
int localNumber)
- Returns:
- the (source code) name of the local variable of a given number at
the specified program counter, or null if the information is not
available.
hasLocalVariableTable
public boolean hasLocalVariableTable()
- Returns:
- true iff the local variable table information for this method is
available
getMaxLocals
public int getMaxLocals()
- Returns:
- maximum number of JVM locals used by this method
getMaxStackHeight
public int getMaxStackHeight()
- Returns:
- maximum height of JVM stack used by this method
getParameterType
public TypeReference getParameterType(int i)
- Description copied from interface:
IMethod
- Method getParameterType. By convention, for a non-static method,
getParameterType(0) is the this pointer