koala.dynamicjava.classinfo
Interface MethodInfo

All Known Implementing Classes:
JavaMethodInfo, TreeMethodInfo

public interface MethodInfo

The instances of the classes that implement this interface provide informations about methods.


Method Summary
 ClassInfo[] getExceptionTypes()
          Returns an array of class infos that represent the types of the exceptions declared to be thrown by the underlying method
 int getModifiers()
          Returns the modifiers for the method represented by this object
 java.lang.String getName()
          Returns the name of the underlying method
 ClassInfo[] getParameterTypes()
          Returns an array of class infos that represent the parameter types, in declaration order, of the method represented by this object
 ClassInfo getReturnType()
          Returns a Class object that represents the return type of the method represented by this object
 

Method Detail

getModifiers

public int getModifiers()
Returns the modifiers for the method represented by this object


getReturnType

public ClassInfo getReturnType()
Returns a Class object that represents the return type of the method represented by this object


getName

public java.lang.String getName()
Returns the name of the underlying method


getParameterTypes

public ClassInfo[] getParameterTypes()
Returns an array of class infos that represent the parameter types, in declaration order, of the method represented by this object


getExceptionTypes

public ClassInfo[] getExceptionTypes()
Returns an array of class infos that represent the types of the exceptions declared to be thrown by the underlying method



Copyright © 2001 Stephane Hillion. All Rights Reserved.