com.ibm.wala.cast.java.loader
Class JavaSourceLoaderImpl.ConcreteJavaMethod
java.lang.Object
com.ibm.wala.cast.loader.AstMethod
com.ibm.wala.cast.java.loader.JavaSourceLoaderImpl.ConcreteJavaMethod
- All Implemented Interfaces:
- IMember, IMethod, ContextItem, IClassHierarchyDweller
- Enclosing class:
- JavaSourceLoaderImpl
public class JavaSourceLoaderImpl.ConcreteJavaMethod
- extends AstMethod
DOMO representation of a concrete method (which has a body) on a Java type
that resides in a source file
| 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 |
JavaSourceLoaderImpl.ConcreteJavaMethod
public JavaSourceLoaderImpl.ConcreteJavaMethod(CAstEntity methodEntity,
IClass owner,
AbstractCFG cfg,
SymbolTable symtab,
boolean hasCatchBlock,
TypeReference[][] catchTypes,
AstMethod.LexicalInformation lexicalInfo,
AstMethod.DebuggingInformation debugInfo)
getClassHierarchy
public IClassHierarchy getClassHierarchy()
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
getParents
public AstMethod.LexicalParent[] getParents()
- Specified by:
getParents in class AstMethod