|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.osjava.jardiff.AbstractInfo
org.osjava.jardiff.MethodInfo
public final class MethodInfo
A class to hold information about a method.
| Field Summary | |
|---|---|
private java.lang.String |
desc
The method descriptor. |
private java.lang.String[] |
exceptions
An array of the exceptions thrown by this method. |
private java.lang.String |
signature
The signature of the method. |
| Fields inherited from class org.osjava.jardiff.AbstractInfo |
|---|
ACCESS_PACKAGE, ACCESS_PRIVATE, ACCESS_PROTECTED, ACCESS_PUBLIC |
| Constructor Summary | |
|---|---|
MethodInfo(int access,
java.lang.String name,
java.lang.String desc,
java.lang.String signature,
java.lang.String[] exceptions)
Create a new MethodInfo with the specified parameters. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDesc()
Get the descriptor for the method. |
java.lang.String[] |
getExceptions()
Get the array of exceptions which can be thrown by the method. |
java.lang.String |
getSignature()
Get the signature for the method. |
| Methods inherited from class org.osjava.jardiff.AbstractInfo |
|---|
getAccess, getAccessType, getName, isAbstract, isAnnotation, isBridge, isDeprecated, isEnum, isFinal, isInterface, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrict, isSuper, isSynchronized, isSynthetic, isTransient, isVarargs, isVolatile |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String desc
private java.lang.String signature
private java.lang.String[] exceptions
| Constructor Detail |
|---|
public MethodInfo(int access,
java.lang.String name,
java.lang.String desc,
java.lang.String signature,
java.lang.String[] exceptions)
access - The access flags for the method.name - The name of the method.signature - The signature of the method.exceptions - The exceptions thrown by the method.| Method Detail |
|---|
public final java.lang.String getDesc()
public final java.lang.String getSignature()
public final java.lang.String[] getExceptions()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||