org.codehaus.jam
Interface JInvokable

All Superinterfaces:
JAnnotatedElement, JElement, JMember
All Known Subinterfaces:
JConstructor, JMethod, MConstructor, MInvokable, MMethod

public interface JInvokable
extends JMember

Base abstraction for something which can be invoked, i.e. a JConstructor or JMethod.

Author:
Patrick Calahan <email: pcal-at-bea-dot-com>

Method Summary
 JClass[] getExceptionTypes()
          Returns representations of the type of each of the exceptions which can be thrown by this method.
 JParameter[] getParameters()
          Returns representations of the parameters taken by this method.
 
Methods inherited from interface org.codehaus.jam.JMember
getContainingClass, getModifiers, isPackagePrivate, isPrivate, isProtected, isPublic
 
Methods inherited from interface org.codehaus.jam.JAnnotatedElement
getAllJavadocTags, getAnnotation, getAnnotation, getAnnotations, getAnnotationValue, getComment
 
Methods inherited from interface org.codehaus.jam.JElement
accept, getArtifact, getParent, getQualifiedName, getSimpleName, getSourcePosition, isSourceAvailable, toString
 

Method Detail

getParameters

JParameter[] getParameters()

Returns representations of the parameters taken by this method. Returns an array of length 0 if the method takes no parameters.


getExceptionTypes

JClass[] getExceptionTypes()

Returns representations of the type of each of the exceptions which can be thrown by this method. Returns an array of length 0 if the method throws no exceptions.