|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IMethod
Basic interface for an object that represents a single Java method for analysis purposes.
| Method Summary | |
|---|---|
TypeReference[] |
getDeclaredExceptions()
|
Descriptor |
getDescriptor()
Method getDescriptor. |
int |
getLineNumber(int bcIndex)
|
java.lang.String |
getLocalVariableName(int bcIndex,
int localNumber)
|
int |
getMaxLocals()
|
int |
getMaxStackHeight()
|
int |
getNumberOfParameters()
Method getNumberOfParameters. |
TypeReference |
getParameterType(int i)
Method getParameterType. |
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; |
boolean |
hasExceptionHandler()
|
boolean |
hasLocalVariableTable()
|
boolean |
isAbstract()
Is this method abstract? |
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 |
isSynchronized()
Is this method synchronized? |
boolean |
isSynthetic()
Did someone synthesize this method? (As opposed to reading it from a class file) |
| Methods inherited from interface com.ibm.wala.classLoader.IMember |
|---|
getDeclaringClass, getName, isStatic, isVolatile |
| Methods inherited from interface com.ibm.wala.ipa.cha.IClassHierarchyDweller |
|---|
getClassHierarchy |
| Method Detail |
|---|
boolean isSynchronized()
boolean isClinit()
boolean isInit()
boolean isNative()
boolean isSynthetic()
boolean isAbstract()
boolean isPrivate()
boolean isProtected()
boolean isPublic()
boolean isFinal()
MethodReference getReference()
int getMaxLocals()
int getMaxStackHeight()
boolean hasExceptionHandler()
TypeReference getParameterType(int i)
TypeReference getReturnType()
int getNumberOfParameters()
TypeReference[] getDeclaredExceptions()
throws InvalidClassFileException
InvalidClassFileException
int getLineNumber(int bcIndex)
throws InvalidClassFileException
InvalidClassFileException
java.lang.String getLocalVariableName(int bcIndex,
int localNumber)
throws InvalidClassFileException
InvalidClassFileExceptionjava.lang.String getSignature()
Selector getSelector()
Descriptor getDescriptor()
boolean hasLocalVariableTable()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||