KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sf > clirr > core > spi > Method


1 package net.sf.clirr.core.spi;
2
3 /**
4  * Describes a Java method.
5  */

6 public interface Method extends Named, Scoped
7 {
8     /**
9      *
10      * @return the return type of this method, or null if the method return type is <code>void</code>
11      */

12     JavaType getReturnType();
13
14     /**
15      *
16      * @return the argument types of this method, never null.
17      */

18     JavaType[] getArgumentTypes();
19
20 // JavaType[] getDeclaredExceptions();
21

22     boolean isFinal();
23     
24     boolean isStatic();
25
26     boolean isAbstract();
27
28     boolean isDeprecated();
29 }
30
Popular Tags