|
|||||||||
| 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()
something like: (IILjava.lang.String;SLjava.sql.Date;)Ljava.lang.Integer; |
int |
getLineNumber(int bcIndex)
|
java.lang.String |
getLocalVariableName(int bcIndex,
int localNumber)
|
int |
getMaxLocals()
|
int |
getMaxStackHeight()
|
int |
getNumberOfParameters()
Method getNumberOfParameters. |
TypeReference |
getParameterType(int i)
By convention, for a non-static method, getParameterType(0) is the this pointer |
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 |
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 |
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 |
| 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()
boolean isBridge()
MethodReference getReference()
int getMaxLocals()
int getMaxStackHeight()
boolean hasExceptionHandler()
TypeReference getParameterType(int i)
TypeReference getReturnType()
int getNumberOfParameters()
TypeReference[] getDeclaredExceptions()
throws InvalidClassFileException,
java.lang.UnsupportedOperationException
InvalidClassFileException
java.lang.UnsupportedOperationExceptionint getLineNumber(int bcIndex)
java.lang.String getLocalVariableName(int bcIndex,
int localNumber)
java.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 | ||||||||