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
-
MethodInfo(Tree[], Type, Symbol, Type[], Type[])
-
-
getExceptionTypes()
- Returns the type that was defined with "throws" in this method.
-
getParameterTypes()
- Returns the type of the parameter of this method.
-
getReturnType()
- Returns the type of the return values of this method.
-
toString()
- Converts this
MethodInfo
into a human readable string.
MethodInfo
public MethodInfo(Tree modifiers[],
Type returnType,
Symbol name,
Type parameterTypes[],
Type exceptionTypes[])
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.
getParameterTypes
public Type[] getParameterTypes()
- Returns the type of the parameter of this method.
getExceptionTypes
public Type[] getExceptionTypes()
- Returns the type that was defined with "throws" in this method.
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