Package org.apache.xmlbeans.impl.jam
Interface JInvokable
-
- All Superinterfaces:
JAnnotatedElement
,JElement
,JMember
- All Known Subinterfaces:
JConstructor
,JMethod
,MConstructor
,MInvokable
,MMethod
- All Known Implementing Classes:
ConstructorImpl
,InvokableImpl
,MethodImpl
public interface JInvokable extends JMember
Base abstraction for something which can be invoked, i.e. a JConstructor or JMethod.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.apache.xmlbeans.impl.jam.JAnnotatedElement
getAllJavadocTags, getAnnotation, getAnnotation, getAnnotationProxy, getAnnotations, getAnnotationValue, getComment
-
Methods inherited from interface org.apache.xmlbeans.impl.jam.JElement
accept, getArtifact, getParent, getQualifiedName, getSimpleName, getSourcePosition, toString
-
Methods inherited from interface org.apache.xmlbeans.impl.jam.JMember
getContainingClass, getModifiers, isPackagePrivate, isPrivate, isProtected, isPublic
-
-
-
-
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.
-
-