All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class epp.MethodInfo

java.lang.Object
   |
   +----epp.MemberInfo
           |
           +----epp.MethodInfo

public class MethodInfo
extends MemberInfo
The MethodInfo class contains information of the constructor and methods of a class.

See Also:
ClassInfo

Constructor Index

 o MethodInfo(Tree[], Type, Symbol, Type[], Type[])

Method Index

 o getExceptionTypes()
Returns the type that was defined with "throws" in this method.
 o getParameterTypes()
Returns the type of the parameter of this method.
 o getReturnType()
Returns the type of the return values of this method.
 o toString()
Converts this MethodInfo into a human readable string.

Constructors

 o MethodInfo
 public MethodInfo(Tree modifiers[],
                   Type returnType,
                   Symbol name,
                   Type parameterTypes[],
                   Type exceptionTypes[])

Methods

 o getReturnType
 public Type getReturnType()
Returns the type of the return values of this method. The behaviour of this MethodInfo when it describes a constructor is undefined.

 o getParameterTypes
 public Type[] getParameterTypes()
Returns the type of the parameter of this method.

 o getExceptionTypes
 public Type[] getExceptionTypes()
Returns the type that was defined with "throws" in this method.

 o toString
 public String toString()
Converts this MethodInfo into a human readable string. This method is for debugging.

Overrides:
toString in class MemberInfo

All Packages  Class Hierarchy  This Package  Previous  Next  Index