blob: acd70d9b500b1de8435bfd7f49035e838710eef7 [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>
IFunctionBinding
</TITLE>
<META NAME="keywords" CONTENT="org.eclipse.wst.jsdt.core.dom.IFunctionBinding interface">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
parent.document.title="IFunctionBinding";
}
</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/IFunctionBinding.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/IfStatement.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/IMemberValuePairBinding.html" title="interface 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/IFunctionBinding.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="IFunctionBinding.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;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&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>
Interface IFunctionBinding</H2>
<DL>
<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IBinding.html" title="interface in org.eclipse.wst.jsdt.core.dom">IBinding</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public interface <B>IFunctionBinding</B><DT>extends <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IBinding.html" title="interface in org.eclipse.wst.jsdt.core.dom">IBinding</A></DL>
</PRE>
<P>
A method binding represents a method or constructor of a class or interface.
Method bindings usually correspond directly to method or
constructor declarations found in the source code.
However, in certain cases of references to a generic method,
the method binding may correspond to a copy of a generic method
declaration with substitutions for the method's type parameters
(for these, <code>getTypeArguments</code> returns a non-empty
list, and either <code>isParameterizedMethod</code> or
<code>isRawMethod</code> returns <code>true</code>).
And in certain cases of references to a method declared in a
generic type, the method binding may correspond to a copy of a
method declaration with substitutions for the type's type
parameters (for these, <code>getTypeArguments</code> returns
an empty list, and both <code>isParameterizedMethod</code> and
<code>isRawMethod</code> return <code>false</code>).
<p>
This interface is not intended to be implemented by clients.
</p>
<P>
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ITypeBinding.html#getDeclaredMethods()"><CODE>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.</CODE></A></DL>
<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>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_org.eclipse.wst.jsdt.core.dom.IBinding"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Fields inherited from interface org.eclipse.wst.jsdt.core.dom.<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IBinding.html" title="interface in org.eclipse.wst.jsdt.core.dom">IBinding</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IBinding.html#METHOD">METHOD</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IBinding.html#PACKAGE">PACKAGE</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IBinding.html#TYPE">TYPE</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IBinding.html#VARIABLE">VARIABLE</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/ITypeBinding.html" title="interface in org.eclipse.wst.jsdt.core.dom">ITypeBinding</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IFunctionBinding.html#getDeclaringClass()">getDeclaringClass</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the type binding representing the class or interface
that declares this method or constructor.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IFunctionBinding.html#getDefaultValue()">getDefaultValue</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the resolved default value of an annotation type member,
or <code>null</code> if the member has no default value, or if this
is not the binding for an annotation type member.</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/ITypeBinding.html" title="interface in org.eclipse.wst.jsdt.core.dom">ITypeBinding</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IFunctionBinding.html#getExceptionTypes()">getExceptionTypes</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a list of type bindings representing the types of the exceptions thrown
by this method or constructor.</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/IFunctionBinding.html#getMethodDeclaration()">getMethodDeclaration</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the binding for the method declaration corresponding to this
method binding.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IFunctionBinding.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 binding.</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/ITypeBinding.html" title="interface in org.eclipse.wst.jsdt.core.dom">ITypeBinding</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IFunctionBinding.html#getParameterTypes()">getParameterTypes</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a list of type bindings representing the formal parameter types,
in declaration order, of this method or constructor.</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/ITypeBinding.html" title="interface in org.eclipse.wst.jsdt.core.dom">ITypeBinding</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IFunctionBinding.html#getReturnType()">getReturnType</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the binding for the return type of this method.</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/ITypeBinding.html" title="interface in org.eclipse.wst.jsdt.core.dom">ITypeBinding</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IFunctionBinding.html#getTypeArguments()">getTypeArguments</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the type arguments of this generic method instance, or the
empty list for other method bindings.</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/ITypeBinding.html" title="interface in org.eclipse.wst.jsdt.core.dom">ITypeBinding</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IFunctionBinding.html#getTypeParameters()">getTypeParameters</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the type parameters of this method or constructor binding.</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/IFunctionBinding.html#isAnnotationMember()">isAnnotationMember</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether this is the binding for an annotation type member.</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/IFunctionBinding.html#isConstructor()">isConstructor</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether this binding is for 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/IFunctionBinding.html#isDefaultConstructor()">isDefaultConstructor</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether this binding is known to be a compiler-generated
default constructor.</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/IFunctionBinding.html#isGenericMethod()">isGenericMethod</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether this method binding represents a declaration of
a generic 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/IFunctionBinding.html#isParameterizedMethod()">isParameterizedMethod</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether this method binding represents an instance of
a generic method corresponding to a parameterized method reference.</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/IFunctionBinding.html#isRawMethod()">isRawMethod</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether this method binding represents an instance of
a generic method corresponding to a raw method reference.</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/IFunctionBinding.html#isSubsignature(org.eclipse.wst.jsdt.core.dom.IFunctionBinding)">isSubsignature</A></B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IFunctionBinding.html" title="interface in org.eclipse.wst.jsdt.core.dom">IFunctionBinding</A>&nbsp;otherMethod)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether this method's signature is a subsignature of the given 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/IFunctionBinding.html#isVarargs()">isVarargs</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether this is a variable arity 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/IFunctionBinding.html#overrides(org.eclipse.wst.jsdt.core.dom.IFunctionBinding)">overrides</A></B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IFunctionBinding.html" title="interface in org.eclipse.wst.jsdt.core.dom">IFunctionBinding</A>&nbsp;method)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether this method overrides the given method.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.eclipse.wst.jsdt.core.dom.IBinding"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from interface org.eclipse.wst.jsdt.core.dom.<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IBinding.html" title="interface in org.eclipse.wst.jsdt.core.dom">IBinding</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IBinding.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IBinding.html#getJavaElement()">getJavaElement</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IBinding.html#getKey()">getKey</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IBinding.html#getKind()">getKind</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IBinding.html#getModifiers()">getModifiers</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IBinding.html#isDeprecated()">isDeprecated</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IBinding.html#isEqualTo(org.eclipse.wst.jsdt.core.dom.IBinding)">isEqualTo</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IBinding.html#isRecovered()">isRecovered</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IBinding.html#isSynthetic()">isSynthetic</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IBinding.html#toString()">toString</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ============ 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="isConstructor()"><!-- --></A><H3>
isConstructor</H3>
<PRE>
boolean <B>isConstructor</B>()</PRE>
<DL>
<DD>Returns whether this binding is for a constructor or a method.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD><code>true</code> if this is the binding for a constructor,
and <code>false</code> if this is the binding for a method</DL>
</DD>
</DL>
<HR>
<A NAME="isDefaultConstructor()"><!-- --></A><H3>
isDefaultConstructor</H3>
<PRE>
boolean <B>isDefaultConstructor</B>()</PRE>
<DL>
<DD>Returns whether this binding is known to be a compiler-generated
default constructor.
<p>
This method returns <code>false</code> for:
<ul>
<li>methods</li>
<li>constructors with more than one parameter</li>
<li>0-argument constructors where the binding information was obtained
from a JavaScript source file containing an explicit 0-argument constructor
declaration</li>
<li>0-argument constructors where the binding information was obtained
from a JavaScript class file (it is not possible to determine from a
class file whether a 0-argument constructor was present in the source
code versus generated automatically by a JavaScript compiler)</li>
</ul>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD><code>true</code> if this is known to be the binding for a
compiler-generated default constructor, and <code>false</code>
otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="getName()"><!-- --></A><H3>
getName</H3>
<PRE>
java.lang.String <B>getName</B>()</PRE>
<DL>
<DD>Returns the name of the method declared in this binding. The method name
is always a simple identifier. The name of a constructor is always the
same as the declared name of its declaring class.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IBinding.html#getName()">getName</A></CODE> in interface <CODE><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IBinding.html" title="interface in org.eclipse.wst.jsdt.core.dom">IBinding</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the name of this method, or the declared name of this
constructor's declaring class</DL>
</DD>
</DL>
<HR>
<A NAME="getDeclaringClass()"><!-- --></A><H3>
getDeclaringClass</H3>
<PRE>
<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ITypeBinding.html" title="interface in org.eclipse.wst.jsdt.core.dom">ITypeBinding</A> <B>getDeclaringClass</B>()</PRE>
<DL>
<DD>Returns the type binding representing the class or interface
that declares this method or constructor.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the binding of the class or interface that declares this method
or constructor</DL>
</DD>
</DL>
<HR>
<A NAME="getDefaultValue()"><!-- --></A><H3>
getDefaultValue</H3>
<PRE>
java.lang.Object <B>getDefaultValue</B>()</PRE>
<DL>
<DD>Returns the resolved default value of an annotation type member,
or <code>null</code> if the member has no default value, or if this
is not the binding for an annotation type member.
<p>
Resolved values are represented as follows (same as for
<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IMemberValuePairBinding.html#getValue()"><CODE>IMemberValuePairBinding.getValue()</CODE></A>):
<ul>
<li>Primitive type - the equivalent boxed object</li>
<li>java.lang.Class - the <code>ITypeBinding</code> for the class object</li>
<li>java.lang.String - the string value itself</li>
<li>enum type - the <code>IVariableBinding</code> for the enum constant</li>
<li>annotation type - an <code>IAnnotationBinding</code></li>
<li>array type - an <code>Object[]</code> whose elements are as per above
(the language only allows single dimensional arrays in annotations)</li>
</ul>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the default value of this annotation type member, or <code>null</code>
if none or not applicable</DL>
</DD>
</DL>
<HR>
<A NAME="getParameterTypes()"><!-- --></A><H3>
getParameterTypes</H3>
<PRE>
<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ITypeBinding.html" title="interface in org.eclipse.wst.jsdt.core.dom">ITypeBinding</A>[] <B>getParameterTypes</B>()</PRE>
<DL>
<DD>Returns a list of type bindings representing the formal parameter types,
in declaration order, of this method or constructor. Returns an array of
length 0 if this method or constructor does not takes any parameters.
<p>
Note that the binding for the last parameter type of a vararg method
declaration like <code>void fun(Foo... args)</code> is always for
an array type (i.e., <code>Foo[]</code>) reflecting the the way varargs
get compiled. However, the type binding obtained directly from
the <code>SingleVariableDeclaration</code> for the vararg parameter
is always for the type as written; i.e., the type binding for
<code>Foo</code>.
</p>
<p>
Note: The result does not include synthetic parameters introduced by
inner class emulation.
</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>a (possibly empty) list of type bindings for the formal
parameters of this method or constructor</DL>
</DD>
</DL>
<HR>
<A NAME="getReturnType()"><!-- --></A><H3>
getReturnType</H3>
<PRE>
<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ITypeBinding.html" title="interface in org.eclipse.wst.jsdt.core.dom">ITypeBinding</A> <B>getReturnType</B>()</PRE>
<DL>
<DD>Returns the binding for the return type of this method. Returns the
special primitive <code>void</code> return type for constructors.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the binding for the return type of this method, or the
<code>void</code> return type for constructors</DL>
</DD>
</DL>
<HR>
<A NAME="getExceptionTypes()"><!-- --></A><H3>
getExceptionTypes</H3>
<PRE>
<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ITypeBinding.html" title="interface in org.eclipse.wst.jsdt.core.dom">ITypeBinding</A>[] <B>getExceptionTypes</B>()</PRE>
<DL>
<DD>Returns a list of type bindings representing the types of the exceptions thrown
by this method or constructor. Returns an array of length 0 if this method
throws no exceptions. The resulting types are in no particular order.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>a list of type bindings for exceptions
thrown by this method or constructor</DL>
</DD>
</DL>
<HR>
<A NAME="getTypeParameters()"><!-- --></A><H3>
getTypeParameters</H3>
<PRE>
<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ITypeBinding.html" title="interface in org.eclipse.wst.jsdt.core.dom">ITypeBinding</A>[] <B>getTypeParameters</B>()</PRE>
<DL>
<DD>Returns the type parameters of this method or constructor binding.
<p>
Note that type parameters only occur on the binding of the
declaring generic method. Type bindings corresponding to a raw or
parameterized reference to a generic method do not carry type
parameters (they instead have non-empty type arguments
and non-trivial erasure).
</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the list of binding for the type variables for the type
parameters of this method, or otherwise the empty list<DT><B>See Also:</B><DD><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ITypeBinding.html#isTypeVariable()"><CODE>ITypeBinding.isTypeVariable()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="isAnnotationMember()"><!-- --></A><H3>
isAnnotationMember</H3>
<PRE>
boolean <B>isAnnotationMember</B>()</PRE>
<DL>
<DD>Returns whether this is the binding for an annotation type member.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD><code>true</code> iff this is the binding for an annotation type member
and <code>false</code> otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="isGenericMethod()"><!-- --></A><H3>
isGenericMethod</H3>
<PRE>
boolean <B>isGenericMethod</B>()</PRE>
<DL>
<DD>Returns whether this method binding represents a declaration of
a generic method.
<p>
Note that type parameters only occur on the binding of the
declaring generic method; e.g., <code>public &lt;T&gt; T identity(T t);</code>.
Method bindings corresponding to a raw or parameterized reference to a generic
method do not carry type parameters (they instead have non-empty type arguments
and non-trivial erasure).
This method is fully equivalent to <code>getTypeParameters().length &gt; 0)</code>.
</p>
<p>
Note that <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IFunctionBinding.html#isGenericMethod()"><CODE>isGenericMethod()</CODE></A>,
<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IFunctionBinding.html#isParameterizedMethod()"><CODE>isParameterizedMethod()</CODE></A>,
and <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IFunctionBinding.html#isRawMethod()"><CODE>isRawMethod()</CODE></A> are mutually exclusive.
</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD><code>true</code> if this method binding represents a
declaration of a generic method, and <code>false</code> otherwise<DT><B>See Also:</B><DD><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IFunctionBinding.html#getTypeParameters()"><CODE>getTypeParameters()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="isParameterizedMethod()"><!-- --></A><H3>
isParameterizedMethod</H3>
<PRE>
boolean <B>isParameterizedMethod</B>()</PRE>
<DL>
<DD>Returns whether this method binding represents an instance of
a generic method corresponding to a parameterized method reference.
<p>
Note that <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IFunctionBinding.html#isGenericMethod()"><CODE>isGenericMethod()</CODE></A>,
<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IFunctionBinding.html#isParameterizedMethod()"><CODE>isParameterizedMethod()</CODE></A>,
and <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IFunctionBinding.html#isRawMethod()"><CODE>isRawMethod()</CODE></A> are mutually exclusive.
</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD><code>true</code> if this method binding represents a
an instance of a generic method corresponding to a parameterized
method reference, and <code>false</code> otherwise<DT><B>See Also:</B><DD><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IFunctionBinding.html#getMethodDeclaration()"><CODE>getMethodDeclaration()</CODE></A>,
<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IFunctionBinding.html#getTypeArguments()"><CODE>getTypeArguments()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getTypeArguments()"><!-- --></A><H3>
getTypeArguments</H3>
<PRE>
<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/ITypeBinding.html" title="interface in org.eclipse.wst.jsdt.core.dom">ITypeBinding</A>[] <B>getTypeArguments</B>()</PRE>
<DL>
<DD>Returns the type arguments of this generic method instance, or the
empty list for other method bindings.
<p>
Note that type arguments only occur on a method binding that represents
an instance of a generic method corresponding to a raw or parameterized
reference to a generic method. Do not confuse these with type parameters
which only occur on the method binding corresponding directly to the
declaration of a generic method.
</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the list of type bindings for the type arguments used to
instantiate the corrresponding generic method, or otherwise the empty list<DT><B>See Also:</B><DD><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IFunctionBinding.html#getMethodDeclaration()"><CODE>getMethodDeclaration()</CODE></A>,
<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IFunctionBinding.html#isParameterizedMethod()"><CODE>isParameterizedMethod()</CODE></A>,
<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IFunctionBinding.html#isRawMethod()"><CODE>isRawMethod()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getMethodDeclaration()"><!-- --></A><H3>
getMethodDeclaration</H3>
<PRE>
<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IFunctionBinding.html" title="interface in org.eclipse.wst.jsdt.core.dom">IFunctionBinding</A> <B>getMethodDeclaration</B>()</PRE>
<DL>
<DD>Returns the binding for the method declaration corresponding to this
method binding. For parameterized methods (<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IFunctionBinding.html#isParameterizedMethod()"><CODE>isParameterizedMethod()</CODE></A>)
and raw methods (<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IFunctionBinding.html#isRawMethod()"><CODE>isRawMethod()</CODE></A>), this method returns the binding
for the corresponding generic method. For other method bindings, this
returns the same binding.
<p>Note: The one notable exception is the method <code>Object.getClass()</code>,
which is declared to return <code>Class&lt;? extends Object&gt;</code>, but
when invoked its return type becomes <code>Class&lt;? extends
</code><em>R</em><code>&gt;</code>, where <em>R</em> is the compile type of
the receiver of the method invocation.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the method binding</DL>
</DD>
</DL>
<HR>
<A NAME="isRawMethod()"><!-- --></A><H3>
isRawMethod</H3>
<PRE>
boolean <B>isRawMethod</B>()</PRE>
<DL>
<DD>Returns whether this method binding represents an instance of
a generic method corresponding to a raw method reference.
<p>
Note that <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IFunctionBinding.html#isGenericMethod()"><CODE>isGenericMethod()</CODE></A>,
<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IFunctionBinding.html#isParameterizedMethod()"><CODE>isParameterizedMethod()</CODE></A>,
and <A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IFunctionBinding.html#isRawMethod()"><CODE>isRawMethod()</CODE></A> are mutually exclusive.
</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD><code>true</code> if this method binding represents a
an instance of a generic method corresponding to a raw
method reference, and <code>false</code> otherwise<DT><B>See Also:</B><DD><A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IFunctionBinding.html#getMethodDeclaration()"><CODE>getMethodDeclaration()</CODE></A>,
<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IFunctionBinding.html#getTypeArguments()"><CODE>getTypeArguments()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="isSubsignature(org.eclipse.wst.jsdt.core.dom.IFunctionBinding)"><!-- --></A><H3>
isSubsignature</H3>
<PRE>
boolean <B>isSubsignature</B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IFunctionBinding.html" title="interface in org.eclipse.wst.jsdt.core.dom">IFunctionBinding</A>&nbsp;otherMethod)</PRE>
<DL>
<DD>Returns whether this method's signature is a subsignature of the given method.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD><code>true</code> if this method's signature is a subsignature of the given method</DL>
</DD>
</DL>
<HR>
<A NAME="isVarargs()"><!-- --></A><H3>
isVarargs</H3>
<PRE>
boolean <B>isVarargs</B>()</PRE>
<DL>
<DD>Returns whether this is a variable arity method.
<p>
Note: Variable arity ("varargs") methods were added in JLS3.
</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD><code>true</code> if this is a variable arity method,
and <code>false</code> otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="overrides(org.eclipse.wst.jsdt.core.dom.IFunctionBinding)"><!-- --></A><H3>
overrides</H3>
<PRE>
boolean <B>overrides</B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/dom/IFunctionBinding.html" title="interface in org.eclipse.wst.jsdt.core.dom">IFunctionBinding</A>&nbsp;method)</PRE>
<DL>
<DD>Returns whether this method overrides the given method.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>method</CODE> - the method that is possibly overridden
<DT><B>Returns:</B><DD><code>true</code> if this method overrides the given method,
and <code>false</code> otherwise</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/IFunctionBinding.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/IfStatement.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/IMemberValuePairBinding.html" title="interface 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/IFunctionBinding.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="IFunctionBinding.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;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&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>