01: package net.sf.clirr.core.spi;
02:
03: /**
04: * Describes a Java method.
05: */
06: public interface Method extends Named, Scoped {
07: /**
08: *
09: * @return the return type of this method, or null if the method return type is <code>void</code>
10: */
11: JavaType getReturnType();
12:
13: /**
14: *
15: * @return the argument types of this method, never null.
16: */
17: JavaType[] getArgumentTypes();
18:
19: // JavaType[] getDeclaredExceptions();
20:
21: boolean isFinal();
22:
23: boolean isStatic();
24:
25: boolean isAbstract();
26:
27: boolean isDeprecated();
28: }
|