|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.wala.cast.loader.AstMethod
public abstract class AstMethod
| Nested Class Summary | |
|---|---|
static interface |
AstMethod.DebuggingInformation
|
static interface |
AstMethod.LexicalInformation
|
static class |
AstMethod.LexicalParent
Parents of this method with respect to lexical scoping, that is, methods containing state possibly referenced lexically in this method |
| Field Summary | |
|---|---|
protected IClass |
cls
|
| Constructor Summary | |
|---|---|
protected |
AstMethod(IClass cls,
java.util.Collection qualifiers,
AbstractCFG cfg,
SymbolTable symtab,
MethodReference ref,
boolean hasCatchBlock,
TypeReference[][] catchTypes,
boolean hasMonitorOp,
AstTranslator.AstLexicalInformation lexicalInfo,
AstMethod.DebuggingInformation debugInfo)
|
protected |
AstMethod(IClass cls,
java.util.Collection qualifiers,
MethodReference ref)
|
| Method Summary | |
|---|---|
TypeReference[][] |
catchTypes()
|
AbstractCFG |
cfg()
|
AstMethod.LexicalInformation |
cloneLexicalInfo()
|
AstMethod.DebuggingInformation |
debugInfo()
|
ControlFlowGraph |
getControlFlowGraph()
|
IClass |
getDeclaringClass()
Return the object that represents the declaring class for this member. |
Descriptor |
getDescriptor()
something like: (IILjava.lang.String;SLjava.sql.Date;)Ljava.lang.Integer; |
int |
getLineNumber(int instructionIndex)
|
Atom |
getName()
|
int |
getNumberOfParameters()
Method getNumberOfParameters. |
abstract AstMethod.LexicalParent[] |
getParents()
|
MethodReference |
getReference()
|
TypeReference |
getReturnType()
|
Selector |
getSelector()
something like: foo(Ljava/langString;)Ljava/lang/Class; |
java.lang.String |
getSignature()
something like: com.foo.bar.createLargeOrder(IILjava.lang.String;SLjava.sql.Date;)Ljava.lang.Integer; |
CAstSourcePositionMap.Position |
getSourcePosition()
|
CAstSourcePositionMap.Position |
getSourcePosition(int instructionIndex)
|
boolean |
hasCatchBlock()
|
boolean |
hasExceptionHandler()
|
boolean |
hasMonitorOp()
|
boolean |
isAbstract()
Is this method abstract? |
boolean |
isBridge()
Is this method a bridge method? See JLS 3rd Edition 15.12.4.5 |
boolean |
isClinit()
Is this method a class initializer? |
boolean |
isFinal()
Is this method final? |
boolean |
isInit()
Is this method an object initializer? |
boolean |
isNative()
Is this method native? |
boolean |
isPrivate()
Is this method private? |
boolean |
isProtected()
Is this method protected? |
boolean |
isPublic()
Is this method public? |
boolean |
isStatic()
Is this member static? |
boolean |
isSynchronized()
Is this method synchronized? |
boolean |
isSynthetic()
Did someone synthesize this method? (As opposed to reading it from a class file) |
AstMethod.LexicalInformation |
lexicalInfo()
|
SymbolTable |
symbolTable()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.ibm.wala.classLoader.IMethod |
|---|
getDeclaredExceptions, getLocalVariableName, getMaxLocals, getMaxStackHeight, getParameterType, hasLocalVariableTable |
| Methods inherited from interface com.ibm.wala.ipa.cha.IClassHierarchyDweller |
|---|
getClassHierarchy |
| Field Detail |
|---|
protected final IClass cls
| Constructor Detail |
|---|
protected AstMethod(IClass cls,
java.util.Collection qualifiers,
AbstractCFG cfg,
SymbolTable symtab,
MethodReference ref,
boolean hasCatchBlock,
TypeReference[][] catchTypes,
boolean hasMonitorOp,
AstTranslator.AstLexicalInformation lexicalInfo,
AstMethod.DebuggingInformation debugInfo)
protected AstMethod(IClass cls,
java.util.Collection qualifiers,
MethodReference ref)
| Method Detail |
|---|
public AbstractCFG cfg()
public boolean hasCatchBlock()
public SymbolTable symbolTable()
public TypeReference[][] catchTypes()
public AstMethod.LexicalInformation cloneLexicalInfo()
public AstMethod.LexicalInformation lexicalInfo()
public AstMethod.DebuggingInformation debugInfo()
public abstract AstMethod.LexicalParent[] getParents()
public IClass getDeclaringClass()
IMember
getDeclaringClass in interface IMemberpublic java.lang.String getSignature()
IMethod
getSignature in interface IMethodpublic Selector getSelector()
IMethod
getSelector in interface IMethodpublic boolean isClinit()
IMethod
isClinit in interface IMethodpublic boolean isInit()
IMethod
isInit in interface IMethodpublic Atom getName()
getName in interface IMemberpublic Descriptor getDescriptor()
IMethod
getDescriptor in interface IMethodpublic MethodReference getReference()
getReference in interface IMethodpublic TypeReference getReturnType()
getReturnType in interface IMethodpublic boolean isStatic()
IMember
isStatic in interface IMemberpublic boolean isSynchronized()
IMethod
isSynchronized in interface IMethodpublic boolean isNative()
IMethod
isNative in interface IMethodpublic boolean isSynthetic()
IMethod
isSynthetic in interface IMethodpublic boolean isAbstract()
IMethod
isAbstract in interface IMethodpublic boolean isPrivate()
IMethod
isPrivate in interface IMethodpublic boolean isProtected()
IMethod
isProtected in interface IMethodpublic boolean isPublic()
IMethod
isPublic in interface IMethodpublic boolean isFinal()
IMethod
isFinal in interface IMethodpublic boolean isBridge()
IMethod
isBridge in interface IMethodpublic ControlFlowGraph getControlFlowGraph()
public boolean hasExceptionHandler()
hasExceptionHandler in interface IMethodpublic boolean hasMonitorOp()
public int getNumberOfParameters()
IMethod
getNumberOfParameters in interface IMethodpublic int getLineNumber(int instructionIndex)
getLineNumber in interface IMethodpublic CAstSourcePositionMap.Position getSourcePosition()
public CAstSourcePositionMap.Position getSourcePosition(int instructionIndex)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||