blob: 900d8078db6af516a2af0c6ecf18706726cfc84e [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_12) on Fri May 30 11:15:56 CDT 2008 -->
<TITLE>
FunctionDeclaration
</TITLE>
<META NAME="keywords" CONTENT="org.eclipse.wst.jsdt.core.dom.FunctionDeclaration class">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
parent.document.title="FunctionDeclaration";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/FunctionDeclaration.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ForStatement.html" title="class in org.eclipse.wst.jsdt.core.dom"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionExpression.html" title="class in org.eclipse.wst.jsdt.core.dom"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../../index.html?org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="FunctionDeclaration.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.eclipse.wst.jsdt.core.dom</FONT>
<BR>
Class FunctionDeclaration</H2>
<PRE>
java.lang.Object
<IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html" title="class in org.eclipse.wst.jsdt.core.dom">org.eclipse.wst.jsdt.core.dom.ASTNode</A>
<IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ProgramElement.html" title="class in org.eclipse.wst.jsdt.core.dom">org.eclipse.wst.jsdt.core.dom.ProgramElement</A>
<IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/BodyDeclaration.html" title="class in org.eclipse.wst.jsdt.core.dom">org.eclipse.wst.jsdt.core.dom.BodyDeclaration</A>
<IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><B>org.eclipse.wst.jsdt.core.dom.FunctionDeclaration</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>FunctionDeclaration</B><DT>extends <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/BodyDeclaration.html" title="class in org.eclipse.wst.jsdt.core.dom">BodyDeclaration</A></DL>
</PRE>
<P>
Method declaration AST node type. A method declaration
is the union of a method declaration and a constructor declaration.
For JLS2:
<pre>
FunctionDeclaration:
[ jsdoc ] { Modifier } ( Type | <b>void</b> ) Identifier <b>(</b>
[ FormalParameter
{ <b>,</b> FormalParameter } ] <b>)</b> {<b>[</b> <b>]</b> }
[ <b>throws</b> TypeName { <b>,</b> TypeName } ] ( Block | <b>;</b> )
ConstructorDeclaration:
[ jsdoc ] { Modifier } Identifier <b>(</b>
[ FormalParameter
{ <b>,</b> FormalParameter } ] <b>)</b>
[<b>throws</b> TypeName { <b>,</b> TypeName } ] Block
</pre>
For JLS3, type parameters and reified modifiers
(and annotations) were added:
<pre>
FunctionDeclaration:
[ jsdoc ] { ExtendedModifier }
[ <b>&lt;</b> TypeParameter { <b>,</b> TypeParameter } <b>&gt;</b> ]
( Type | <b>void</b> ) Identifier <b>(</b>
[ FormalParameter
{ <b>,</b> FormalParameter } ] <b>)</b> {<b>[</b> <b>]</b> }
[ <b>throws</b> TypeName { <b>,</b> TypeName } ] ( Block | <b>;</b> )
ConstructorDeclaration:
[ jsdoc ] { ExtendedModifier }
[ <b>&lt;</b> TypeParameter { <b>,</b> TypeParameter } <b>&gt;</b> ]
Identifier <b>(</b>
[ FormalParameter
{ <b>,</b> FormalParameter } ] <b>)</b>
[<b>throws</b> TypeName { <b>,</b> TypeName } ] Block
</pre>
<p>
When a jsdoc comment is present, the source
range begins with the first character of the "/**" comment delimiter.
When there is no jsdoc comment, the source range begins with the first
character of the first modifier keyword (if modifiers), or the
first character of the "&lt;" token (method, no modifiers, type parameters),
or the first character of the return type (method, no modifiers, no type
parameters), or the first character of the identifier (constructor,
no modifiers). The source range extends through the last character of the
";" token (if no body), or the last character of the block (if body).
</p>
Provisional API: This class/interface is part of an interim API that is still under development and expected to
change significantly before reaching stability. It is being made available at this early stage to solicit feedback
from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
(repeatedly) as the API evolves.
<P>
<P>
<HR>
<P>
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ChildPropertyDescriptor.html" title="class in org.eclipse.wst.jsdt.core.dom">ChildPropertyDescriptor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html#BODY_PROPERTY">BODY_PROPERTY</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The "body" structural property of this node type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/SimplePropertyDescriptor.html" title="class in org.eclipse.wst.jsdt.core.dom">SimplePropertyDescriptor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html#CONSTRUCTOR_PROPERTY">CONSTRUCTOR_PROPERTY</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The "constructor" structural property of this node type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/SimplePropertyDescriptor.html" title="class in org.eclipse.wst.jsdt.core.dom">SimplePropertyDescriptor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html#EXTRA_DIMENSIONS_PROPERTY">EXTRA_DIMENSIONS_PROPERTY</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The "extraDimensions" structural property of this node type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ChildPropertyDescriptor.html" title="class in org.eclipse.wst.jsdt.core.dom">ChildPropertyDescriptor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html#JAVADOC_PROPERTY">JAVADOC_PROPERTY</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The "javadoc" structural property of this node type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/SimplePropertyDescriptor.html" title="class in org.eclipse.wst.jsdt.core.dom">SimplePropertyDescriptor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html#MODIFIERS_PROPERTY">MODIFIERS_PROPERTY</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The "modifiers" structural property of this node type (JLS2 API only).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ChildListPropertyDescriptor.html" title="class in org.eclipse.wst.jsdt.core.dom">ChildListPropertyDescriptor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html#MODIFIERS2_PROPERTY">MODIFIERS2_PROPERTY</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The "modifiers" structural property of this node type (added in JLS3 API).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ChildPropertyDescriptor.html" title="class in org.eclipse.wst.jsdt.core.dom">ChildPropertyDescriptor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html#NAME_PROPERTY">NAME_PROPERTY</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The "name" structural property of this node type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ChildListPropertyDescriptor.html" title="class in org.eclipse.wst.jsdt.core.dom">ChildListPropertyDescriptor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html#PARAMETERS_PROPERTY">PARAMETERS_PROPERTY</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The "parameters" structural property of this node type).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ChildPropertyDescriptor.html" title="class in org.eclipse.wst.jsdt.core.dom">ChildPropertyDescriptor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html#RETURN_TYPE_PROPERTY">RETURN_TYPE_PROPERTY</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The "returnType" structural property of this node type (JLS2 API only).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ChildPropertyDescriptor.html" title="class in org.eclipse.wst.jsdt.core.dom">ChildPropertyDescriptor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html#RETURN_TYPE2_PROPERTY">RETURN_TYPE2_PROPERTY</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The "returnType2" structural property of this node type (added in JLS3 API).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ChildListPropertyDescriptor.html" title="class in org.eclipse.wst.jsdt.core.dom">ChildListPropertyDescriptor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html#THROWN_EXCEPTIONS_PROPERTY">THROWN_EXCEPTIONS_PROPERTY</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The "thrownExceptions" structural property of this node type).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ChildListPropertyDescriptor.html" title="class in org.eclipse.wst.jsdt.core.dom">ChildListPropertyDescriptor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html#TYPE_PARAMETERS_PROPERTY">TYPE_PARAMETERS_PROPERTY</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The "typeParameters" structural property of this node type (added in JLS3 API).</TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_org.eclipse.wst.jsdt.core.dom.ASTNode"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Fields inherited from class org.eclipse.wst.jsdt.core.dom.<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html" title="class in org.eclipse.wst.jsdt.core.dom">ASTNode</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#ANONYMOUS_CLASS_DECLARATION">ANONYMOUS_CLASS_DECLARATION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#ARRAY_ACCESS">ARRAY_ACCESS</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#ARRAY_CREATION">ARRAY_CREATION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#ARRAY_INITIALIZER">ARRAY_INITIALIZER</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#ARRAY_TYPE">ARRAY_TYPE</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#ASSERT_STATEMENT">ASSERT_STATEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#ASSIGNMENT">ASSIGNMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#BLOCK">BLOCK</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#BLOCK_COMMENT">BLOCK_COMMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#BOOLEAN_LITERAL">BOOLEAN_LITERAL</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#BREAK_STATEMENT">BREAK_STATEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#CAST_EXPRESSION">CAST_EXPRESSION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#CATCH_CLAUSE">CATCH_CLAUSE</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#CHARACTER_LITERAL">CHARACTER_LITERAL</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#CLASS_INSTANCE_CREATION">CLASS_INSTANCE_CREATION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#CONDITIONAL_EXPRESSION">CONDITIONAL_EXPRESSION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#CONSTRUCTOR_INVOCATION">CONSTRUCTOR_INVOCATION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#CONTINUE_STATEMENT">CONTINUE_STATEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#DO_STATEMENT">DO_STATEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#EMPTY_EXPRESSION">EMPTY_EXPRESSION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#EMPTY_STATEMENT">EMPTY_STATEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#ENHANCED_FOR_STATEMENT">ENHANCED_FOR_STATEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#EXPRESSION_STATEMENT">EXPRESSION_STATEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#FIELD_ACCESS">FIELD_ACCESS</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#FIELD_DECLARATION">FIELD_DECLARATION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#FOR_IN_STATEMENT">FOR_IN_STATEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#FOR_STATEMENT">FOR_STATEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#FUNCTION_DECLARATION">FUNCTION_DECLARATION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#FUNCTION_EXPRESSION">FUNCTION_EXPRESSION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#FUNCTION_INVOCATION">FUNCTION_INVOCATION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#FUNCTION_REF">FUNCTION_REF</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#FUNCTION_REF_PARAMETER">FUNCTION_REF_PARAMETER</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#IF_STATEMENT">IF_STATEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#IMPORT_DECLARATION">IMPORT_DECLARATION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#INFERRED_TYPE">INFERRED_TYPE</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#INFIX_EXPRESSION">INFIX_EXPRESSION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#INITIALIZER">INITIALIZER</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#INSTANCEOF_EXPRESSION">INSTANCEOF_EXPRESSION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#JAVASCRIPT_UNIT">JAVASCRIPT_UNIT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#JSDOC">JSDOC</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#LABELED_STATEMENT">LABELED_STATEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#LINE_COMMENT">LINE_COMMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#LIST_EXPRESSION">LIST_EXPRESSION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#MALFORMED">MALFORMED</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#MEMBER_REF">MEMBER_REF</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#MODIFIER">MODIFIER</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#NULL_LITERAL">NULL_LITERAL</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#NUMBER_LITERAL">NUMBER_LITERAL</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#OBJECT_LITERAL">OBJECT_LITERAL</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#OBJECT_LITERAL_FIELD">OBJECT_LITERAL_FIELD</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#ORIGINAL">ORIGINAL</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#PACKAGE_DECLARATION">PACKAGE_DECLARATION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#PARAMETERIZED_TYPE">PARAMETERIZED_TYPE</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#PARENTHESIZED_EXPRESSION">PARENTHESIZED_EXPRESSION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#POSTFIX_EXPRESSION">POSTFIX_EXPRESSION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#PREFIX_EXPRESSION">PREFIX_EXPRESSION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#PRIMITIVE_TYPE">PRIMITIVE_TYPE</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#PROTECT">PROTECT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#QUALIFIED_NAME">QUALIFIED_NAME</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#QUALIFIED_TYPE">QUALIFIED_TYPE</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#RECOVERED">RECOVERED</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#REGULAR_EXPRESSION_LITERAL">REGULAR_EXPRESSION_LITERAL</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#RETURN_STATEMENT">RETURN_STATEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#SIMPLE_NAME">SIMPLE_NAME</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#SIMPLE_TYPE">SIMPLE_TYPE</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#SINGLE_VARIABLE_DECLARATION">SINGLE_VARIABLE_DECLARATION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#STRING_LITERAL">STRING_LITERAL</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#SUPER_CONSTRUCTOR_INVOCATION">SUPER_CONSTRUCTOR_INVOCATION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#SUPER_FIELD_ACCESS">SUPER_FIELD_ACCESS</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#SUPER_METHOD_INVOCATION">SUPER_METHOD_INVOCATION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#SWITCH_CASE">SWITCH_CASE</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#SWITCH_STATEMENT">SWITCH_STATEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#TAG_ELEMENT">TAG_ELEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#TEXT_ELEMENT">TEXT_ELEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#THIS_EXPRESSION">THIS_EXPRESSION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#THROW_STATEMENT">THROW_STATEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#TRY_STATEMENT">TRY_STATEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#TYPE_DECLARATION">TYPE_DECLARATION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#TYPE_DECLARATION_STATEMENT">TYPE_DECLARATION_STATEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#TYPE_LITERAL">TYPE_LITERAL</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#TYPE_PARAMETER">TYPE_PARAMETER</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#UNDEFINED_LITERAL">UNDEFINED_LITERAL</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#VARIABLE_DECLARATION_EXPRESSION">VARIABLE_DECLARATION_EXPRESSION</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#VARIABLE_DECLARATION_FRAGMENT">VARIABLE_DECLARATION_FRAGMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#VARIABLE_DECLARATION_STATEMENT">VARIABLE_DECLARATION_STATEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#WHILE_STATEMENT">WHILE_STATEMENT</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#WILDCARD_TYPE">WILDCARD_TYPE</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#WITH_STATEMENT">WITH_STATEMENT</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Block.html" title="class in org.eclipse.wst.jsdt.core.dom">Block</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html#getBody()">getBody</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the body of this method declaration, or <code>null</code> if
this method has <b>no</b> body.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html#getExtraDimensions()">getExtraDimensions</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of extra array dimensions over and above the
explicitly-specified return type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/SimpleName.html" title="class in org.eclipse.wst.jsdt.core.dom">SimpleName</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html#getName()">getName</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the name of the method declared in this method declaration.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Type.html" title="class in org.eclipse.wst.jsdt.core.dom">Type</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html#getReturnType()">getReturnType</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>In the JLS3 API, this method is replaced by <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html#getReturnType2()"><CODE>getReturnType2()</CODE></A>,
which may return <code>null</code>.</I></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Type.html" title="class in org.eclipse.wst.jsdt.core.dom">Type</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html#getReturnType2()">getReturnType2</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the return type of the method declared in this method
declaration, exclusive of any extra array dimensions (added in JLS3 API).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html#isConstructor()">isConstructor</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether this declaration declares a constructor or a method.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html#isVarargs()">isVarargs</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether this method declaration declares a
variable arity method (added in JLS3 API).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.List</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html#parameters()">parameters</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the live ordered list of method parameter declarations for this
method declaration.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.util.List</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html#propertyDescriptors(int)">propertyDescriptors</A></B>(int&nbsp;apiLevel)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a list of structural property descriptors for this node type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IFunctionBinding.html" title="interface in org.eclipse.wst.jsdt.core.dom">IFunctionBinding</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html#resolveBinding()">resolveBinding</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resolves and returns the binding for the method or constructor declared
in this method or constructor declaration.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html#setBody(org.eclipse.wst.jsdt.core.dom.Block)">setBody</A></B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Block.html" title="class in org.eclipse.wst.jsdt.core.dom">Block</A>&nbsp;body)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets or clears the body of this method declaration.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html#setConstructor(boolean)">setConstructor</A></B>(boolean&nbsp;isConstructor)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets whether this declaration declares a constructor or a method.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html#setExtraDimensions(int)">setExtraDimensions</A></B>(int&nbsp;dimensions)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the number of extra array dimensions over and above the
explicitly-specified return type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html#setName(org.eclipse.wst.jsdt.core.dom.SimpleName)">setName</A></B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/SimpleName.html" title="class in org.eclipse.wst.jsdt.core.dom">SimpleName</A>&nbsp;methodName)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the name of the method declared in this method declaration to the
given name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html#setReturnType(org.eclipse.wst.jsdt.core.dom.Type)">setReturnType</A></B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Type.html" title="class in org.eclipse.wst.jsdt.core.dom">Type</A>&nbsp;type)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>In the JLS3 API, this method is replaced by
<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html#setReturnType2(org.eclipse.wst.jsdt.core.dom.Type)"><CODE>setReturnType2(Type)</CODE></A>, which accepts <code>null</code>.</I></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html#setReturnType2(org.eclipse.wst.jsdt.core.dom.Type)">setReturnType2</A></B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Type.html" title="class in org.eclipse.wst.jsdt.core.dom">Type</A>&nbsp;type)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the return type of the method declared in this method declaration
to the given type, exclusive of any extra array dimensions (added in JLS3 API).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.List</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html#thrownExceptions()">thrownExceptions</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the live ordered list of thrown exception names in this method
declaration.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.List</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html#typeParameters()">typeParameters</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the live ordered list of type parameters of this method
declaration (added in JLS3 API).</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.eclipse.wst.jsdt.core.dom.BodyDeclaration"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class org.eclipse.wst.jsdt.core.dom.<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/BodyDeclaration.html" title="class in org.eclipse.wst.jsdt.core.dom">BodyDeclaration</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/BodyDeclaration.html#getJavadoc()">getJavadoc</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/BodyDeclaration.html#getJavadocProperty()">getJavadocProperty</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/BodyDeclaration.html#getModifiers()">getModifiers</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/BodyDeclaration.html#getModifiersProperty()">getModifiersProperty</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/BodyDeclaration.html#modifiers()">modifiers</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/BodyDeclaration.html#setJavadoc(org.eclipse.wst.jsdt.core.dom.JSdoc)">setJavadoc</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/BodyDeclaration.html#setModifiers(int)">setModifiers</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.eclipse.wst.jsdt.core.dom.ASTNode"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class org.eclipse.wst.jsdt.core.dom.<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html" title="class in org.eclipse.wst.jsdt.core.dom">ASTNode</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#accept(org.eclipse.wst.jsdt.core.dom.ASTVisitor)">accept</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#copySubtree(org.eclipse.wst.jsdt.core.dom.AST, org.eclipse.wst.jsdt.core.dom.ASTNode)">copySubtree</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#copySubtrees(org.eclipse.wst.jsdt.core.dom.AST, java.util.List)">copySubtrees</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#delete()">delete</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#getAST()">getAST</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#getFlags()">getFlags</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#getLength()">getLength</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#getLocationInParent()">getLocationInParent</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#getNodeType()">getNodeType</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#getParent()">getParent</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#getProperty(java.lang.String)">getProperty</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#getRoot()">getRoot</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#getStartPosition()">getStartPosition</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#getStructuralProperty(org.eclipse.wst.jsdt.core.dom.StructuralPropertyDescriptor)">getStructuralProperty</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#hashCode()">hashCode</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#nodeClassForType(int)">nodeClassForType</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#properties()">properties</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#setFlags(int)">setFlags</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#setProperty(java.lang.String, java.lang.Object)">setProperty</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#setSourceRange(int, int)">setSourceRange</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#setStructuralProperty(org.eclipse.wst.jsdt.core.dom.StructuralPropertyDescriptor, java.lang.Object)">setStructuralProperty</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#structuralPropertiesForType()">structuralPropertiesForType</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#subtreeBytes()">subtreeBytes</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#subtreeMatch(org.eclipse.wst.jsdt.core.dom.ASTMatcher, java.lang.Object)">subtreeMatch</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ASTNode.html#toString()">toString</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>getClass, notify, notifyAll, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="JAVADOC_PROPERTY"><!-- --></A><H3>
JAVADOC_PROPERTY</H3>
<PRE>
public static final <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ChildPropertyDescriptor.html" title="class in org.eclipse.wst.jsdt.core.dom">ChildPropertyDescriptor</A> <B>JAVADOC_PROPERTY</B></PRE>
<DL>
<DD>The "javadoc" structural property of this node type.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="MODIFIERS_PROPERTY"><!-- --></A><H3>
MODIFIERS_PROPERTY</H3>
<PRE>
public static final <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/SimplePropertyDescriptor.html" title="class in org.eclipse.wst.jsdt.core.dom">SimplePropertyDescriptor</A> <B>MODIFIERS_PROPERTY</B></PRE>
<DL>
<DD>The "modifiers" structural property of this node type (JLS2 API only).
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="MODIFIERS2_PROPERTY"><!-- --></A><H3>
MODIFIERS2_PROPERTY</H3>
<PRE>
public static final <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ChildListPropertyDescriptor.html" title="class in org.eclipse.wst.jsdt.core.dom">ChildListPropertyDescriptor</A> <B>MODIFIERS2_PROPERTY</B></PRE>
<DL>
<DD>The "modifiers" structural property of this node type (added in JLS3 API).
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="CONSTRUCTOR_PROPERTY"><!-- --></A><H3>
CONSTRUCTOR_PROPERTY</H3>
<PRE>
public static final <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/SimplePropertyDescriptor.html" title="class in org.eclipse.wst.jsdt.core.dom">SimplePropertyDescriptor</A> <B>CONSTRUCTOR_PROPERTY</B></PRE>
<DL>
<DD>The "constructor" structural property of this node type.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="NAME_PROPERTY"><!-- --></A><H3>
NAME_PROPERTY</H3>
<PRE>
public static final <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ChildPropertyDescriptor.html" title="class in org.eclipse.wst.jsdt.core.dom">ChildPropertyDescriptor</A> <B>NAME_PROPERTY</B></PRE>
<DL>
<DD>The "name" structural property of this node type.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="RETURN_TYPE_PROPERTY"><!-- --></A><H3>
RETURN_TYPE_PROPERTY</H3>
<PRE>
public static final <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ChildPropertyDescriptor.html" title="class in org.eclipse.wst.jsdt.core.dom">ChildPropertyDescriptor</A> <B>RETURN_TYPE_PROPERTY</B></PRE>
<DL>
<DD>The "returnType" structural property of this node type (JLS2 API only).
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="RETURN_TYPE2_PROPERTY"><!-- --></A><H3>
RETURN_TYPE2_PROPERTY</H3>
<PRE>
public static final <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ChildPropertyDescriptor.html" title="class in org.eclipse.wst.jsdt.core.dom">ChildPropertyDescriptor</A> <B>RETURN_TYPE2_PROPERTY</B></PRE>
<DL>
<DD>The "returnType2" structural property of this node type (added in JLS3 API).
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="EXTRA_DIMENSIONS_PROPERTY"><!-- --></A><H3>
EXTRA_DIMENSIONS_PROPERTY</H3>
<PRE>
public static final <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/SimplePropertyDescriptor.html" title="class in org.eclipse.wst.jsdt.core.dom">SimplePropertyDescriptor</A> <B>EXTRA_DIMENSIONS_PROPERTY</B></PRE>
<DL>
<DD>The "extraDimensions" structural property of this node type.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="TYPE_PARAMETERS_PROPERTY"><!-- --></A><H3>
TYPE_PARAMETERS_PROPERTY</H3>
<PRE>
public static final <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ChildListPropertyDescriptor.html" title="class in org.eclipse.wst.jsdt.core.dom">ChildListPropertyDescriptor</A> <B>TYPE_PARAMETERS_PROPERTY</B></PRE>
<DL>
<DD>The "typeParameters" structural property of this node type (added in JLS3 API).
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="PARAMETERS_PROPERTY"><!-- --></A><H3>
PARAMETERS_PROPERTY</H3>
<PRE>
public static final <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ChildListPropertyDescriptor.html" title="class in org.eclipse.wst.jsdt.core.dom">ChildListPropertyDescriptor</A> <B>PARAMETERS_PROPERTY</B></PRE>
<DL>
<DD>The "parameters" structural property of this node type).
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="THROWN_EXCEPTIONS_PROPERTY"><!-- --></A><H3>
THROWN_EXCEPTIONS_PROPERTY</H3>
<PRE>
public static final <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ChildListPropertyDescriptor.html" title="class in org.eclipse.wst.jsdt.core.dom">ChildListPropertyDescriptor</A> <B>THROWN_EXCEPTIONS_PROPERTY</B></PRE>
<DL>
<DD>The "thrownExceptions" structural property of this node type).
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="BODY_PROPERTY"><!-- --></A><H3>
BODY_PROPERTY</H3>
<PRE>
public static final <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ChildPropertyDescriptor.html" title="class in org.eclipse.wst.jsdt.core.dom">ChildPropertyDescriptor</A> <B>BODY_PROPERTY</B></PRE>
<DL>
<DD>The "body" structural property of this node type.
<P>
<DL>
</DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="propertyDescriptors(int)"><!-- --></A><H3>
propertyDescriptors</H3>
<PRE>
public static java.util.List <B>propertyDescriptors</B>(int&nbsp;apiLevel)</PRE>
<DL>
<DD>Returns a list of structural property descriptors for this node type.
Clients must not modify the result.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>apiLevel</CODE> - the API level; one of the AST.JLS* constants
<DT><B>Returns:</B><DD>a list of property descriptors (element type:
<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/StructuralPropertyDescriptor.html" title="class in org.eclipse.wst.jsdt.core.dom"><CODE>StructuralPropertyDescriptor</CODE></A>)</DL>
</DD>
</DL>
<HR>
<A NAME="isConstructor()"><!-- --></A><H3>
isConstructor</H3>
<PRE>
public boolean <B>isConstructor</B>()</PRE>
<DL>
<DD>Returns whether this declaration declares a constructor or a method.
<P>
<DD><DL>
<DT><B>Returns:</B><DD><code>true</code> if this is a constructor declaration,
and <code>false</code> if this is a method declaration</DL>
</DD>
</DL>
<HR>
<A NAME="setConstructor(boolean)"><!-- --></A><H3>
setConstructor</H3>
<PRE>
public void <B>setConstructor</B>(boolean&nbsp;isConstructor)</PRE>
<DL>
<DD>Sets whether this declaration declares a constructor or a method.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>isConstructor</CODE> - <code>true</code> for a constructor declaration,
and <code>false</code> for a method declaration</DL>
</DD>
</DL>
<HR>
<A NAME="typeParameters()"><!-- --></A><H3>
typeParameters</H3>
<PRE>
public java.util.List <B>typeParameters</B>()</PRE>
<DL>
<DD>Returns the live ordered list of type parameters of this method
declaration (added in JLS3 API). This list is non-empty for parameterized methods.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the live list of type parameters
(element type: <code>TypeParameter</code>)
<DT><B>Throws:</B>
<DD><CODE>java.lang.UnsupportedOperationException</CODE> - if this operation is used in
a JLS2 AST</DL>
</DD>
</DL>
<HR>
<A NAME="getName()"><!-- --></A><H3>
getName</H3>
<PRE>
public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/SimpleName.html" title="class in org.eclipse.wst.jsdt.core.dom">SimpleName</A> <B>getName</B>()</PRE>
<DL>
<DD>Returns the name of the method declared in this method declaration.
For a constructor declaration, this should be the same as the name
of the class.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the method name node</DL>
</DD>
</DL>
<HR>
<A NAME="setName(org.eclipse.wst.jsdt.core.dom.SimpleName)"><!-- --></A><H3>
setName</H3>
<PRE>
public void <B>setName</B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/SimpleName.html" title="class in org.eclipse.wst.jsdt.core.dom">SimpleName</A>&nbsp;methodName)</PRE>
<DL>
<DD>Sets the name of the method declared in this method declaration to the
given name. For a constructor declaration, this should be the same as
the name of the class.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>methodName</CODE> - the new method name
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if:
<ul>
<li>the node belongs to a different AST</li>
<li>the node already has a parent</li>
</ul></DL>
</DD>
</DL>
<HR>
<A NAME="parameters()"><!-- --></A><H3>
parameters</H3>
<PRE>
public java.util.List <B>parameters</B>()</PRE>
<DL>
<DD>Returns the live ordered list of method parameter declarations for this
method declaration.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the live list of method parameter declarations
(element type: <code>SingleVariableDeclaration</code>)</DL>
</DD>
</DL>
<HR>
<A NAME="isVarargs()"><!-- --></A><H3>
isVarargs</H3>
<PRE>
public boolean <B>isVarargs</B>()</PRE>
<DL>
<DD>Returns whether this method declaration declares a
variable arity method (added in JLS3 API). The convenience method checks
whether the last parameter is so marked.
<P>
<DD><DL>
<DT><B>Returns:</B><DD><code>true</code> if this is a variable arity method declaration,
and <code>false</code> otherwise
<DT><B>Throws:</B>
<DD><CODE>java.lang.UnsupportedOperationException</CODE> - if this operation is used in
a JLS2 AST<DT><B>See Also:</B><DD><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/SingleVariableDeclaration.html#isVarargs()"><CODE>SingleVariableDeclaration.isVarargs()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="thrownExceptions()"><!-- --></A><H3>
thrownExceptions</H3>
<PRE>
public java.util.List <B>thrownExceptions</B>()</PRE>
<DL>
<DD>Returns the live ordered list of thrown exception names in this method
declaration.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the live list of exception names
(element type: <code>Name</code>)</DL>
</DD>
</DL>
<HR>
<A NAME="getReturnType()"><!-- --></A><H3>
getReturnType</H3>
<PRE>
public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Type.html" title="class in org.eclipse.wst.jsdt.core.dom">Type</A> <B>getReturnType</B>()</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<I>In the JLS3 API, this method is replaced by <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html#getReturnType2()"><CODE>getReturnType2()</CODE></A>,
which may return <code>null</code>.</I>
<P>
<DD>Returns the return type of the method declared in this method
declaration, exclusive of any extra array dimensions (JLS2 API only).
This is one of the few places where the void type is meaningful.
<p>
Note that this child is not relevant for constructor declarations
(although, it does still figure in subtree equality comparisons
and visits), and is devoid of the binding information ordinarily
available.
</p>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the return type, possibly the void primitive type
<DT><B>Throws:</B>
<DD><CODE>java.lang.UnsupportedOperationException</CODE> - if this operation is used in
an AST later than JLS2</DL>
</DD>
</DL>
<HR>
<A NAME="setReturnType(org.eclipse.wst.jsdt.core.dom.Type)"><!-- --></A><H3>
setReturnType</H3>
<PRE>
public void <B>setReturnType</B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Type.html" title="class in org.eclipse.wst.jsdt.core.dom">Type</A>&nbsp;type)</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<I>In the JLS3 API, this method is replaced by
<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html#setReturnType2(org.eclipse.wst.jsdt.core.dom.Type)"><CODE>setReturnType2(Type)</CODE></A>, which accepts <code>null</code>.</I>
<P>
<DD>Sets the return type of the method declared in this method declaration
to the given type, exclusive of any extra array dimensions (JLS2 API only). This is one
of the few places where the void type is meaningful.
<p>
Note that this child is not relevant for constructor declarations
(although it does still figure in subtree equality comparisons and visits).
</p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>type</CODE> - the new return type, possibly the void primitive type
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if:
<ul>
<li>the node belongs to a different AST</li>
<li>the node already has a parent</li>
</ul>
<DD><CODE>java.lang.UnsupportedOperationException</CODE> - if this operation is used in
an AST later than JLS2</DL>
</DD>
</DL>
<HR>
<A NAME="getReturnType2()"><!-- --></A><H3>
getReturnType2</H3>
<PRE>
public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Type.html" title="class in org.eclipse.wst.jsdt.core.dom">Type</A> <B>getReturnType2</B>()</PRE>
<DL>
<DD>Returns the return type of the method declared in this method
declaration, exclusive of any extra array dimensions (added in JLS3 API).
This is one of the few places where the void type is meaningful.
<p>
Note that this child is not relevant for constructor declarations
(although, if present, it does still figure in subtree equality comparisons
and visits), and is devoid of the binding information ordinarily
available. In the JLS2 API, the return type is mandatory.
In the JLS3 API, the return type is optional.
</p>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the return type, possibly the void primitive type,
or <code>null</code> if none
<DT><B>Throws:</B>
<DD><CODE>java.lang.UnsupportedOperationException</CODE> - if this operation is used in
a JLS2 AST</DL>
</DD>
</DL>
<HR>
<A NAME="setReturnType2(org.eclipse.wst.jsdt.core.dom.Type)"><!-- --></A><H3>
setReturnType2</H3>
<PRE>
public void <B>setReturnType2</B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Type.html" title="class in org.eclipse.wst.jsdt.core.dom">Type</A>&nbsp;type)</PRE>
<DL>
<DD>Sets the return type of the method declared in this method declaration
to the given type, exclusive of any extra array dimensions (added in JLS3 API).
This is one of the few places where the void type is meaningful.
<p>
Note that this child is not relevant for constructor declarations
(although it does still figure in subtree equality comparisons and visits).
In the JLS2 API, the return type is mandatory.
In the JLS3 API, the return type is optional.
</p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>type</CODE> - the new return type, possibly the void primitive type,
or <code>null</code> if none
<DT><B>Throws:</B>
<DD><CODE>java.lang.UnsupportedOperationException</CODE> - if this operation is used in
a JLS2 AST
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if:
<ul>
<li>the node belongs to a different AST</li>
<li>the node already has a parent</li>
</ul></DL>
</DD>
</DL>
<HR>
<A NAME="getExtraDimensions()"><!-- --></A><H3>
getExtraDimensions</H3>
<PRE>
public int <B>getExtraDimensions</B>()</PRE>
<DL>
<DD>Returns the number of extra array dimensions over and above the
explicitly-specified return type.
<p>
For example, <code>int foo()[][]</code> has a return type of
<code>int</code> and two extra array dimensions;
<code>int[][] foo()</code> has a return type of <code>int[][]</code>
and zero extra array dimensions. The two constructs have different
ASTs, even though there are really syntactic variants of the same
method declaration.
</p>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the number of extra array dimensions</DL>
</DD>
</DL>
<HR>
<A NAME="setExtraDimensions(int)"><!-- --></A><H3>
setExtraDimensions</H3>
<PRE>
public void <B>setExtraDimensions</B>(int&nbsp;dimensions)</PRE>
<DL>
<DD>Sets the number of extra array dimensions over and above the
explicitly-specified return type.
<p>
For example, <code>int foo()[][]</code> is rendered as a return
type of <code>int</code> with two extra array dimensions;
<code>int[][] foo()</code> is rendered as a return type of
<code>int[][]</code> with zero extra array dimensions. The two
constructs have different ASTs, even though there are really syntactic
variants of the same method declaration.
</p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>dimensions</CODE> - the number of array dimensions
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if the number of dimensions is
negative</DL>
</DD>
</DL>
<HR>
<A NAME="getBody()"><!-- --></A><H3>
getBody</H3>
<PRE>
public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Block.html" title="class in org.eclipse.wst.jsdt.core.dom">Block</A> <B>getBody</B>()</PRE>
<DL>
<DD>Returns the body of this method declaration, or <code>null</code> if
this method has <b>no</b> body.
<p>
Note that there is a subtle difference between having no body and having
an empty body ("{}").
</p>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the method body, or <code>null</code> if this method has no
body</DL>
</DD>
</DL>
<HR>
<A NAME="setBody(org.eclipse.wst.jsdt.core.dom.Block)"><!-- --></A><H3>
setBody</H3>
<PRE>
public void <B>setBody</B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/Block.html" title="class in org.eclipse.wst.jsdt.core.dom">Block</A>&nbsp;body)</PRE>
<DL>
<DD>Sets or clears the body of this method declaration.
<p>
Note that there is a subtle difference between having no body
(as in <code>"void foo();"</code>) and having an empty body (as in
"void foo() {}"). Abstract methods, and methods declared in interfaces,
have no body. Non-abstract methods, and all constructors, have a body.
</p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>body</CODE> - the block node, or <code>null</code> if
there is none
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if:
<ul>
<li>the node belongs to a different AST</li>
<li>the node already has a parent</li>
<li>a cycle in would be created</li>
</ul></DL>
</DD>
</DL>
<HR>
<A NAME="resolveBinding()"><!-- --></A><H3>
resolveBinding</H3>
<PRE>
public <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IFunctionBinding.html" title="interface in org.eclipse.wst.jsdt.core.dom">IFunctionBinding</A> <B>resolveBinding</B>()</PRE>
<DL>
<DD>Resolves and returns the binding for the method or constructor declared
in this method or constructor declaration.
<p>
Note that bindings are generally unavailable unless requested when the
AST is being built.
</p>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the binding, or <code>null</code> if the binding cannot be
resolved</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/FunctionDeclaration.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ForStatement.html" title="class in org.eclipse.wst.jsdt.core.dom"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/FunctionExpression.html" title="class in org.eclipse.wst.jsdt.core.dom"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../../index.html?org/eclipse/wst/jsdt/core/dom/FunctionDeclaration.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="FunctionDeclaration.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>