public abstract class AstMethod
extends java.lang.Object
implements com.ibm.wala.classLoader.IMethod
| Modifier and Type | Class and Description |
|---|---|
static interface |
AstMethod.DebuggingInformation |
static interface |
AstMethod.LexicalInformation
lexical access information for some entity scope.
|
static class |
AstMethod.LexicalParent
Parents of this method with respect to lexical scoping, that is, methods containing state
possibly referenced lexically in this method
|
static interface |
AstMethod.Retranslatable |
| Modifier and Type | Field and Description |
|---|---|
protected com.ibm.wala.classLoader.IClass |
cls |
| Modifier | Constructor and Description |
|---|---|
protected |
AstMethod(com.ibm.wala.classLoader.IClass cls,
java.util.Collection<CAstQualifier> qualifiers,
com.ibm.wala.cfg.AbstractCFG<?,?> cfg,
com.ibm.wala.ssa.SymbolTable symtab,
com.ibm.wala.types.MethodReference ref,
boolean hasCatchBlock,
java.util.Map<com.ibm.wala.cfg.IBasicBlock<com.ibm.wala.ssa.SSAInstruction>,com.ibm.wala.types.TypeReference[]> caughtTypes,
boolean hasMonitorOp,
AstTranslator.AstLexicalInformation lexicalInfo,
AstMethod.DebuggingInformation debugInfo,
java.util.Collection<com.ibm.wala.types.annotations.Annotation> annotations) |
protected |
AstMethod(com.ibm.wala.classLoader.IClass cls,
java.util.Collection<CAstQualifier> qualifiers,
com.ibm.wala.types.MethodReference ref,
java.util.Collection<com.ibm.wala.types.annotations.Annotation> annotations) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<com.ibm.wala.cfg.IBasicBlock<com.ibm.wala.ssa.SSAInstruction>,com.ibm.wala.types.TypeReference[]> |
catchTypes() |
com.ibm.wala.cfg.AbstractCFG<?,?> |
cfg() |
AstMethod.LexicalInformation |
cloneLexicalInfo() |
AstMethod.DebuggingInformation |
debugInfo() |
java.util.Collection<com.ibm.wala.types.annotations.Annotation> |
getAnnotations() |
com.ibm.wala.cfg.ControlFlowGraph<?,?> |
getControlFlowGraph() |
com.ibm.wala.classLoader.IClass |
getDeclaringClass() |
com.ibm.wala.types.Descriptor |
getDescriptor() |
int |
getLineNumber(int instructionIndex) |
com.ibm.wala.util.strings.Atom |
getName() |
int |
getNumberOfParameters() |
CAstSourcePositionMap.Position |
getParameterPosition(int paramIndex) |
com.ibm.wala.classLoader.IMethod.SourcePosition |
getParameterSourcePosition(int paramNum) |
abstract AstMethod.LexicalParent[] |
getParents() |
com.ibm.wala.types.MethodReference |
getReference() |
com.ibm.wala.types.TypeReference |
getReturnType() |
com.ibm.wala.types.Selector |
getSelector() |
java.lang.String |
getSignature() |
CAstSourcePositionMap.Position |
getSourcePosition() |
CAstSourcePositionMap.Position |
getSourcePosition(int instructionIndex) |
boolean |
hasCatchBlock() |
boolean |
hasExceptionHandler() |
boolean |
hasMonitorOp() |
boolean |
isAbstract() |
boolean |
isBridge() |
boolean |
isClinit() |
boolean |
isFinal() |
boolean |
isInit() |
boolean |
isNative() |
boolean |
isPrivate() |
boolean |
isProtected() |
boolean |
isPublic() |
boolean |
isStatic() |
boolean |
isSynchronized() |
boolean |
isSynthetic() |
boolean |
isWalaSynthetic() |
AstMethod.LexicalInformation |
lexicalInfo() |
com.ibm.wala.ssa.SymbolTable |
symbolTable() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected AstMethod(com.ibm.wala.classLoader.IClass cls,
java.util.Collection<CAstQualifier> qualifiers,
com.ibm.wala.cfg.AbstractCFG<?,?> cfg,
com.ibm.wala.ssa.SymbolTable symtab,
com.ibm.wala.types.MethodReference ref,
boolean hasCatchBlock,
java.util.Map<com.ibm.wala.cfg.IBasicBlock<com.ibm.wala.ssa.SSAInstruction>,com.ibm.wala.types.TypeReference[]> caughtTypes,
boolean hasMonitorOp,
AstTranslator.AstLexicalInformation lexicalInfo,
AstMethod.DebuggingInformation debugInfo,
java.util.Collection<com.ibm.wala.types.annotations.Annotation> annotations)
protected AstMethod(com.ibm.wala.classLoader.IClass cls,
java.util.Collection<CAstQualifier> qualifiers,
com.ibm.wala.types.MethodReference ref,
java.util.Collection<com.ibm.wala.types.annotations.Annotation> annotations)
public com.ibm.wala.cfg.AbstractCFG<?,?> cfg()
public boolean hasCatchBlock()
public com.ibm.wala.ssa.SymbolTable symbolTable()
public java.util.Map<com.ibm.wala.cfg.IBasicBlock<com.ibm.wala.ssa.SSAInstruction>,com.ibm.wala.types.TypeReference[]> catchTypes()
public AstMethod.LexicalInformation cloneLexicalInfo()
public AstMethod.LexicalInformation lexicalInfo()
public AstMethod.DebuggingInformation debugInfo()
public java.util.Collection<com.ibm.wala.types.annotations.Annotation> getAnnotations()
getAnnotations in interface com.ibm.wala.classLoader.IMemberpublic abstract AstMethod.LexicalParent[] getParents()
public com.ibm.wala.classLoader.IClass getDeclaringClass()
getDeclaringClass in interface com.ibm.wala.classLoader.IMemberpublic java.lang.String getSignature()
getSignature in interface com.ibm.wala.classLoader.IMethodpublic com.ibm.wala.types.Selector getSelector()
getSelector in interface com.ibm.wala.classLoader.IMethodpublic boolean isClinit()
isClinit in interface com.ibm.wala.classLoader.IMethodpublic boolean isInit()
isInit in interface com.ibm.wala.classLoader.IMethodpublic com.ibm.wala.util.strings.Atom getName()
getName in interface com.ibm.wala.classLoader.IMemberpublic com.ibm.wala.types.Descriptor getDescriptor()
getDescriptor in interface com.ibm.wala.classLoader.IMethodpublic com.ibm.wala.types.MethodReference getReference()
getReference in interface com.ibm.wala.classLoader.IMethodpublic com.ibm.wala.types.TypeReference getReturnType()
getReturnType in interface com.ibm.wala.classLoader.IMethodpublic boolean isStatic()
isStatic in interface com.ibm.wala.classLoader.IMemberpublic boolean isSynchronized()
isSynchronized in interface com.ibm.wala.classLoader.IMethodpublic boolean isNative()
isNative in interface com.ibm.wala.classLoader.IMethodpublic boolean isWalaSynthetic()
isWalaSynthetic in interface com.ibm.wala.classLoader.IMethodpublic boolean isSynthetic()
isSynthetic in interface com.ibm.wala.classLoader.IMethodpublic boolean isAbstract()
isAbstract in interface com.ibm.wala.classLoader.IMethodpublic boolean isPrivate()
isPrivate in interface com.ibm.wala.classLoader.IMethodpublic boolean isProtected()
isProtected in interface com.ibm.wala.classLoader.IMethodpublic boolean isPublic()
isPublic in interface com.ibm.wala.classLoader.IMethodpublic boolean isFinal()
isFinal in interface com.ibm.wala.classLoader.IMethodpublic boolean isBridge()
isBridge in interface com.ibm.wala.classLoader.IMethodpublic com.ibm.wala.cfg.ControlFlowGraph<?,?> getControlFlowGraph()
public boolean hasExceptionHandler()
hasExceptionHandler in interface com.ibm.wala.classLoader.IMethodpublic boolean hasMonitorOp()
public int getNumberOfParameters()
getNumberOfParameters in interface com.ibm.wala.classLoader.IMethodpublic com.ibm.wala.classLoader.IMethod.SourcePosition getParameterSourcePosition(int paramNum)
throws com.ibm.wala.shrikeCT.InvalidClassFileException
getParameterSourcePosition in interface com.ibm.wala.classLoader.IMethodcom.ibm.wala.shrikeCT.InvalidClassFileExceptionpublic int getLineNumber(int instructionIndex)
getLineNumber in interface com.ibm.wala.classLoader.IMethodpublic CAstSourcePositionMap.Position getSourcePosition()
public CAstSourcePositionMap.Position getParameterPosition(int paramIndex)
public CAstSourcePositionMap.Position getSourcePosition(int instructionIndex)
getSourcePosition in interface com.ibm.wala.classLoader.IMethod