| <!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:49 CDT 2008 --> |
| <TITLE> |
| IType |
| </TITLE> |
| |
| <META NAME="keywords" CONTENT="org.eclipse.wst.jsdt.core.IType interface"> |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| parent.document.title="IType"; |
| } |
| </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> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/IType.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/ISourceReference.html" title="interface in org.eclipse.wst.jsdt.core"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html" title="interface in org.eclipse.wst.jsdt.core"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../index.html?org/eclipse/wst/jsdt/core/IType.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="IType.html" target="_top"><B>NO FRAMES</B></A> |
| <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: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: FIELD | CONSTR | <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</FONT> |
| <BR> |
| Interface IType</H2> |
| <DL> |
| <DT><B>All Superinterfaces:</B> <DD><A HREF="../../../../../org/eclipse/wst/jsdt/core/IFunctionContainer.html" title="interface in org.eclipse.wst.jsdt.core">IFunctionContainer</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptElement</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/ILookupScope.html" title="interface in org.eclipse.wst.jsdt.core">ILookupScope</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IMember.html" title="interface in org.eclipse.wst.jsdt.core">IMember</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IParent.html" title="interface in org.eclipse.wst.jsdt.core">IParent</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/ISourceManipulation.html" title="interface in org.eclipse.wst.jsdt.core">ISourceManipulation</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/ISourceReference.html" title="interface in org.eclipse.wst.jsdt.core">ISourceReference</A></DD> |
| </DL> |
| <HR> |
| <DL> |
| <DT><PRE>public interface <B>IType</B><DT>extends <A HREF="../../../../../org/eclipse/wst/jsdt/core/IMember.html" title="interface in org.eclipse.wst.jsdt.core">IMember</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IFunctionContainer.html" title="interface in org.eclipse.wst.jsdt.core">IFunctionContainer</A></DL> |
| </PRE> |
| |
| <P> |
| Represents a source type in a JavaScript file (either a top-level |
| type, a member type, or a local type) |
| </p> |
| <p> |
| The children are of type <code>IMember</code>, which includes <code>IField</code>, |
| <code>IFunction</code>, <code>IInitializer</code> and <code>IType</code>. |
| The children are listed in the order in which they appear in the source file. |
| </p> |
| <p> |
| This interface is not intended to be implemented by clients. |
| </p> |
| <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> |
| |
| |
| 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> |
| </TABLE> |
| <A NAME="fields_inherited_from_class_org.eclipse.wst.jsdt.core.IJavaScriptElement"><!-- --></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.<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptElement</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html#CLASS_FILE">CLASS_FILE</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html#FIELD">FIELD</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html#IMPORT_CONTAINER">IMPORT_CONTAINER</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html#IMPORT_DECLARATION">IMPORT_DECLARATION</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html#INITIALIZER">INITIALIZER</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html#JAVASCRIPT_MODEL">JAVASCRIPT_MODEL</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html#JAVASCRIPT_PROJECT">JAVASCRIPT_PROJECT</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html#JAVASCRIPT_UNIT">JAVASCRIPT_UNIT</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html#LOCAL_VARIABLE">LOCAL_VARIABLE</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html#METHOD">METHOD</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html#PACKAGE_DECLARATION">PACKAGE_DECLARATION</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html#PACKAGE_FRAGMENT">PACKAGE_FRAGMENT</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html#PACKAGE_FRAGMENT_ROOT">PACKAGE_FRAGMENT_ROOT</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html#TYPE">TYPE</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html#TYPE_PARAMETER">TYPE_PARAMETER</A></CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ========== 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> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#codeComplete(char[], int, int, char[][], char[][], int[], boolean, org.eclipse.wst.jsdt.core.CompletionRequestor)">codeComplete</A></B>(char[] snippet, |
| int insertion, |
| int position, |
| char[][] localVariableTypeNames, |
| char[][] localVariableNames, |
| int[] localVariableModifiers, |
| boolean isStatic, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/CompletionRequestor.html" title="class in org.eclipse.wst.jsdt.core">CompletionRequestor</A> requestor)</CODE> |
| |
| <BR> |
| Do code completion inside a code snippet in the context of the current type.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#codeComplete(char[], int, int, char[][], char[][], int[], boolean, org.eclipse.wst.jsdt.core.CompletionRequestor, org.eclipse.wst.jsdt.core.WorkingCopyOwner)">codeComplete</A></B>(char[] snippet, |
| int insertion, |
| int position, |
| char[][] localVariableTypeNames, |
| char[][] localVariableNames, |
| int[] localVariableModifiers, |
| boolean isStatic, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/CompletionRequestor.html" title="class in org.eclipse.wst.jsdt.core">CompletionRequestor</A> requestor, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/WorkingCopyOwner.html" title="class in org.eclipse.wst.jsdt.core">WorkingCopyOwner</A> owner)</CODE> |
| |
| <BR> |
| Do code completion inside a code snippet in the context of the current type.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/IField.html" title="interface in org.eclipse.wst.jsdt.core">IField</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#createField(java.lang.String, org.eclipse.wst.jsdt.core.IJavaScriptElement, boolean, IProgressMonitor)">createField</A></B>(java.lang.String contents, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptElement</A> sibling, |
| boolean force, |
| IProgressMonitor monitor)</CODE> |
| |
| <BR> |
| Creates and returns a field in this type with the |
| given contents.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/IFunction.html" title="interface in org.eclipse.wst.jsdt.core">IFunction</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#createMethod(java.lang.String, org.eclipse.wst.jsdt.core.IJavaScriptElement, boolean, IProgressMonitor)">createMethod</A></B>(java.lang.String contents, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptElement</A> sibling, |
| boolean force, |
| IProgressMonitor monitor)</CODE> |
| |
| <BR> |
| Creates and returns a method or constructor in this type with the |
| given contents.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#createType(java.lang.String, org.eclipse.wst.jsdt.core.IJavaScriptElement, boolean, IProgressMonitor)">createType</A></B>(java.lang.String contents, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptElement</A> sibling, |
| boolean force, |
| IProgressMonitor monitor)</CODE> |
| |
| <BR> |
| Creates and returns a type in this type with the |
| given contents.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/IFunction.html" title="interface in org.eclipse.wst.jsdt.core">IFunction</A>[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#findMethods(org.eclipse.wst.jsdt.core.IFunction)">findMethods</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IFunction.html" title="interface in org.eclipse.wst.jsdt.core">IFunction</A> method)</CODE> |
| |
| <BR> |
| Finds the methods in this type that correspond to |
| the given method.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptElement</A>[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#getChildrenForCategory(java.lang.String)">getChildrenForCategory</A></B>(java.lang.String category)</CODE> |
| |
| <BR> |
| Returns the children of this type that have the given category as a <code>@category</code> tag.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#getElementName()">getElementName</A></B>()</CODE> |
| |
| <BR> |
| Returns the simple name of this type, unqualified by package or enclosing type.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/IField.html" title="interface in org.eclipse.wst.jsdt.core">IField</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#getField(java.lang.String)">getField</A></B>(java.lang.String name)</CODE> |
| |
| <BR> |
| Returns the field with the specified name |
| in this type (for example, <code>"bar"</code>).</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/IField.html" title="interface in org.eclipse.wst.jsdt.core">IField</A>[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#getFields()">getFields</A></B>()</CODE> |
| |
| <BR> |
| Returns the fields declared by this type.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#getFullyQualifiedName()">getFullyQualifiedName</A></B>()</CODE> |
| |
| <BR> |
| Returns the fully qualified name of this type, |
| including qualification for any containing types and packages.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#getFullyQualifiedName(char)">getFullyQualifiedName</A></B>(char enclosingTypeSeparator)</CODE> |
| |
| <BR> |
| Returns the fully qualified name of this type, |
| including qualification for any containing types and packages.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#getFullyQualifiedParameterizedName()">getFullyQualifiedParameterizedName</A></B>()</CODE> |
| |
| <BR> |
| Returns this type's fully qualified name</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/IFunction.html" title="interface in org.eclipse.wst.jsdt.core">IFunction</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#getFunction(java.lang.String, java.lang.String[])">getFunction</A></B>(java.lang.String name, |
| java.lang.String[] parameterTypeSignatures)</CODE> |
| |
| <BR> |
| Returns the method with the specified name and parameter types |
| in this type (for example, <code>"foo", {"I", "QString;"}</code>).</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/IFunction.html" title="interface in org.eclipse.wst.jsdt.core">IFunction</A>[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#getFunctions()">getFunctions</A></B>()</CODE> |
| |
| <BR> |
| Returns the methods and constructors declared by this type.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/IInitializer.html" title="interface in org.eclipse.wst.jsdt.core">IInitializer</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#getInitializer(int)">getInitializer</A></B>(int occurrenceCount)</CODE> |
| |
| <BR> |
| Returns the initializer with the specified position relative to |
| the order they are defined in the source.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/IInitializer.html" title="interface in org.eclipse.wst.jsdt.core">IInitializer</A>[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#getInitializers()">getInitializers</A></B>()</CODE> |
| |
| <BR> |
| Returns the initializers declared by this type.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#getKey()">getKey</A></B>()</CODE> |
| |
| <BR> |
| Returns the binding key for this type.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/IFunction.html" title="interface in org.eclipse.wst.jsdt.core">IFunction</A>[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#getMethods()">getMethods</A></B>()</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>Use <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#getFunctions()"><CODE>getFunctions()</CODE></A> instead</I></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/IPackageFragment.html" title="interface in org.eclipse.wst.jsdt.core">IPackageFragment</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#getPackageFragment()">getPackageFragment</A></B>()</CODE> |
| |
| <BR> |
| Returns the source folder (package fragment) in which this element is defined.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#getSuperclassName()">getSuperclassName</A></B>()</CODE> |
| |
| <BR> |
| Returns the name of this type's superclass, or <code>null</code> |
| for source types that do not specify a superclass.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#getSuperclassTypeSignature()">getSuperclassTypeSignature</A></B>()</CODE> |
| |
| <BR> |
| Returns the type signature of this type's superclass, or |
| <code>null</code> if none.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#getSuperInterfaceNames()">getSuperInterfaceNames</A></B>()</CODE> |
| |
| <BR> |
| Returns the names of interfaces that this type implements or extends, |
| in the order in which they are listed in the source.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#getSuperInterfaceTypeSignatures()">getSuperInterfaceTypeSignatures</A></B>()</CODE> |
| |
| <BR> |
| Returns the type signatures of the interfaces that this type |
| implements or extends, in the order in which they are listed in the |
| source.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#getType(java.lang.String)">getType</A></B>(java.lang.String name)</CODE> |
| |
| <BR> |
| Returns the member type declared in this type with the given simple name.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeParameter.html" title="interface in org.eclipse.wst.jsdt.core">ITypeParameter</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#getTypeParameter(java.lang.String)">getTypeParameter</A></B>(java.lang.String name)</CODE> |
| |
| <BR> |
| Returns the type parameter declared in this type with the given name.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeParameter.html" title="interface in org.eclipse.wst.jsdt.core">ITypeParameter</A>[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#getTypeParameters()">getTypeParameters</A></B>()</CODE> |
| |
| <BR> |
| Returns the formal type parameters for this type.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#getTypeParameterSignatures()">getTypeParameterSignatures</A></B>()</CODE> |
| |
| <BR> |
| Returns the formal type parameter signatures for this type.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#getTypeQualifiedName()">getTypeQualifiedName</A></B>()</CODE> |
| |
| <BR> |
| Returns the type-qualified name of this type, |
| including qualification for any enclosing types, |
| but not including package qualification.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#getTypeQualifiedName(char)">getTypeQualifiedName</A></B>(char enclosingTypeSeparator)</CODE> |
| |
| <BR> |
| Returns the type-qualified name of this type, |
| including qualification for any enclosing types, |
| but not including package qualification.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A>[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#getTypes()">getTypes</A></B>()</CODE> |
| |
| <BR> |
| Returns the immediate member types declared by this type.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#isAnnotation()">isAnnotation</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#isAnonymous()">isAnonymous</A></B>()</CODE> |
| |
| <BR> |
| Returns whether this type represents an anonymous type.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#isClass()">isClass</A></B>()</CODE> |
| |
| <BR> |
| Returns whether this type is read-only.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#isEnum()">isEnum</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#isInterface()">isInterface</A></B>()</CODE> |
| |
| <BR> |
| Returns whether this type represents an interface.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#isLocal()">isLocal</A></B>()</CODE> |
| |
| <BR> |
| Returns whether this type represents a local type.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#isMember()">isMember</A></B>()</CODE> |
| |
| <BR> |
| Returns whether this type represents a member type.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#isResolved()">isResolved</A></B>()</CODE> |
| |
| <BR> |
| Returns whether this type represents a resolved type.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html" title="interface in org.eclipse.wst.jsdt.core">ITypeHierarchy</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#loadTypeHierachy(java.io.InputStream, IProgressMonitor)">loadTypeHierachy</A></B>(java.io.InputStream input, |
| IProgressMonitor monitor)</CODE> |
| |
| <BR> |
| Loads a previously saved ITypeHierarchy from an input stream.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html" title="interface in org.eclipse.wst.jsdt.core">ITypeHierarchy</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#newSupertypeHierarchy(org.eclipse.wst.jsdt.core.IJavaScriptUnit[], IProgressMonitor)">newSupertypeHierarchy</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptUnit.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptUnit</A>[] workingCopies, |
| IProgressMonitor monitor)</CODE> |
| |
| <BR> |
| Creates and returns a type hierarchy for this type containing |
| this type and all of its supertypes, considering types in the given |
| working copies.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html" title="interface in org.eclipse.wst.jsdt.core">ITypeHierarchy</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#newSupertypeHierarchy(IProgressMonitor)">newSupertypeHierarchy</A></B>(IProgressMonitor monitor)</CODE> |
| |
| <BR> |
| Creates and returns a type hierarchy for this type containing |
| this type and all of its supertypes.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html" title="interface in org.eclipse.wst.jsdt.core">ITypeHierarchy</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#newSupertypeHierarchy(org.eclipse.wst.jsdt.core.WorkingCopyOwner, IProgressMonitor)">newSupertypeHierarchy</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/WorkingCopyOwner.html" title="class in org.eclipse.wst.jsdt.core">WorkingCopyOwner</A> owner, |
| IProgressMonitor monitor)</CODE> |
| |
| <BR> |
| Creates and returns a type hierarchy for this type containing |
| this type and all of its supertypes, considering types in the |
| working copies with the given owner.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html" title="interface in org.eclipse.wst.jsdt.core">ITypeHierarchy</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#newTypeHierarchy(org.eclipse.wst.jsdt.core.IJavaScriptProject, IProgressMonitor)">newTypeHierarchy</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> project, |
| IProgressMonitor monitor)</CODE> |
| |
| <BR> |
| Creates and returns a type hierarchy for this type containing |
| this type, all of its supertypes, and all its subtypes |
| in the context of the given project.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html" title="interface in org.eclipse.wst.jsdt.core">ITypeHierarchy</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#newTypeHierarchy(org.eclipse.wst.jsdt.core.IJavaScriptProject, org.eclipse.wst.jsdt.core.WorkingCopyOwner, IProgressMonitor)">newTypeHierarchy</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> project, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/WorkingCopyOwner.html" title="class in org.eclipse.wst.jsdt.core">WorkingCopyOwner</A> owner, |
| IProgressMonitor monitor)</CODE> |
| |
| <BR> |
| Creates and returns a type hierarchy for this type containing |
| this type, all of its supertypes, and all its subtypes |
| in the context of the given project, considering types in the |
| working copies with the given owner.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html" title="interface in org.eclipse.wst.jsdt.core">ITypeHierarchy</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#newTypeHierarchy(org.eclipse.wst.jsdt.core.IJavaScriptUnit[], IProgressMonitor)">newTypeHierarchy</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptUnit.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptUnit</A>[] workingCopies, |
| IProgressMonitor monitor)</CODE> |
| |
| <BR> |
| Creates and returns a type hierarchy for this type containing |
| this type, all of its supertypes, and all its subtypes in the workspace, |
| considering types in the given working copies.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html" title="interface in org.eclipse.wst.jsdt.core">ITypeHierarchy</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#newTypeHierarchy(IProgressMonitor)">newTypeHierarchy</A></B>(IProgressMonitor monitor)</CODE> |
| |
| <BR> |
| Creates and returns a type hierarchy for this type containing |
| this type, all of its supertypes, and all its subtypes in the workspace.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html" title="interface in org.eclipse.wst.jsdt.core">ITypeHierarchy</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#newTypeHierarchy(org.eclipse.wst.jsdt.core.IWorkingCopy[], IProgressMonitor)">newTypeHierarchy</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IWorkingCopy.html" title="interface in org.eclipse.wst.jsdt.core">IWorkingCopy</A>[] workingCopies, |
| IProgressMonitor monitor)</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>Use <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#newTypeHierarchy(org.eclipse.wst.jsdt.core.IJavaScriptUnit[], IProgressMonitor)"><CODE>newTypeHierarchy(IJavaScriptUnit[], IProgressMonitor)</CODE></A> instead</I></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html" title="interface in org.eclipse.wst.jsdt.core">ITypeHierarchy</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#newTypeHierarchy(org.eclipse.wst.jsdt.core.WorkingCopyOwner, IProgressMonitor)">newTypeHierarchy</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/WorkingCopyOwner.html" title="class in org.eclipse.wst.jsdt.core">WorkingCopyOwner</A> owner, |
| IProgressMonitor monitor)</CODE> |
| |
| <BR> |
| Creates and returns a type hierarchy for this type containing |
| this type, all of its supertypes, and all its subtypes in the workspace, |
| considering types in the working copies with the given owner.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String[][]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#resolveType(java.lang.String)">resolveType</A></B>(java.lang.String typeName)</CODE> |
| |
| <BR> |
| Resolves the given type name within the context of this type (depending on the type hierarchy |
| and its imports).</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String[][]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#resolveType(java.lang.String, org.eclipse.wst.jsdt.core.WorkingCopyOwner)">resolveType</A></B>(java.lang.String typeName, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/WorkingCopyOwner.html" title="class in org.eclipse.wst.jsdt.core">WorkingCopyOwner</A> owner)</CODE> |
| |
| <BR> |
| Resolves the given type name within the context of this type (depending on the type hierarchy |
| and its imports) and using the given owner's working copies, considering types in the |
| working copies with the given owner.</TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_org.eclipse.wst.jsdt.core.IMember"><!-- --></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.<A HREF="../../../../../org/eclipse/wst/jsdt/core/IMember.html" title="interface in org.eclipse.wst.jsdt.core">IMember</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IMember.html#getCategories()">getCategories</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IMember.html#getClassFile()">getClassFile</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IMember.html#getCompilationUnit()">getCompilationUnit</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IMember.html#getDeclaringType()">getDeclaringType</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IMember.html#getFlags()">getFlags</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IMember.html#getJavaScriptUnit()">getJavaScriptUnit</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IMember.html#getJSdocRange()">getJSdocRange</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IMember.html#getNameRange()">getNameRange</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IMember.html#getOccurrenceCount()">getOccurrenceCount</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IMember.html#getType(java.lang.String, int)">getType</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IMember.html#getTypeRoot()">getTypeRoot</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IMember.html#isBinary()">isBinary</A></CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_org.eclipse.wst.jsdt.core.IJavaScriptElement"><!-- --></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.<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptElement</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html#exists()">exists</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html#getAncestor(int)">getAncestor</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html#getAttachedJavadoc(IProgressMonitor)">getAttachedJavadoc</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html#getCommonSuperType()">getCommonSuperType</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html#getCorrespondingResource()">getCorrespondingResource</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html#getDisplayName()">getDisplayName</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html#getElementType()">getElementType</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html#getHandleIdentifier()">getHandleIdentifier</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html#getHostPath()">getHostPath</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html#getJavaScriptModel()">getJavaScriptModel</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html#getJavaScriptProject()">getJavaScriptProject</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html#getOpenable()">getOpenable</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html#getParent()">getParent</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html#getPath()">getPath</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html#getPrimaryElement()">getPrimaryElement</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html#getResource()">getResource</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html#getSchedulingRule()">getSchedulingRule</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html#getUnderlyingResource()">getUnderlyingResource</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html#isReadOnly()">isReadOnly</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html#isStructureKnown()">isStructureKnown</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html#isVirtual()">isVirtual</A></CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_org.eclipse.wst.jsdt.core.ILookupScope"><!-- --></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.<A HREF="../../../../../org/eclipse/wst/jsdt/core/ILookupScope.html" title="interface in org.eclipse.wst.jsdt.core">ILookupScope</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/ILookupScope.html#newNameLookup(org.eclipse.wst.jsdt.core.IJavaScriptUnit[])">newNameLookup</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/ILookupScope.html#newNameLookup(org.eclipse.wst.jsdt.core.WorkingCopyOwner)">newNameLookup</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/ILookupScope.html#newSearchableNameEnvironment(org.eclipse.wst.jsdt.core.IJavaScriptUnit[])">newSearchableNameEnvironment</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/ILookupScope.html#newSearchableNameEnvironment(org.eclipse.wst.jsdt.core.WorkingCopyOwner)">newSearchableNameEnvironment</A></CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_org.eclipse.wst.jsdt.core.ISourceReference"><!-- --></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.<A HREF="../../../../../org/eclipse/wst/jsdt/core/ISourceReference.html" title="interface in org.eclipse.wst.jsdt.core">ISourceReference</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/ISourceReference.html#exists()">exists</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/ISourceReference.html#getSource()">getSource</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/ISourceReference.html#getSourceRange()">getSourceRange</A></CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_org.eclipse.wst.jsdt.core.ISourceManipulation"><!-- --></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.<A HREF="../../../../../org/eclipse/wst/jsdt/core/ISourceManipulation.html" title="interface in org.eclipse.wst.jsdt.core">ISourceManipulation</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/ISourceManipulation.html#copy(org.eclipse.wst.jsdt.core.IJavaScriptElement, org.eclipse.wst.jsdt.core.IJavaScriptElement, java.lang.String, boolean, IProgressMonitor)">copy</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/ISourceManipulation.html#delete(boolean, IProgressMonitor)">delete</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/ISourceManipulation.html#move(org.eclipse.wst.jsdt.core.IJavaScriptElement, org.eclipse.wst.jsdt.core.IJavaScriptElement, java.lang.String, boolean, IProgressMonitor)">move</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/ISourceManipulation.html#rename(java.lang.String, boolean, IProgressMonitor)">rename</A></CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_org.eclipse.wst.jsdt.core.IParent"><!-- --></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.<A HREF="../../../../../org/eclipse/wst/jsdt/core/IParent.html" title="interface in org.eclipse.wst.jsdt.core">IParent</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IParent.html#getChildren()">getChildren</A>, <A HREF="../../../../../org/eclipse/wst/jsdt/core/IParent.html#hasChildren()">hasChildren</A></CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <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="codeComplete(char[], int, int, char[][], char[][], int[], boolean, org.eclipse.wst.jsdt.core.CompletionRequestor)"><!-- --></A><H3> |
| codeComplete</H3> |
| <PRE> |
| void <B>codeComplete</B>(char[] snippet, |
| int insertion, |
| int position, |
| char[][] localVariableTypeNames, |
| char[][] localVariableNames, |
| int[] localVariableModifiers, |
| boolean isStatic, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/CompletionRequestor.html" title="class in org.eclipse.wst.jsdt.core">CompletionRequestor</A> requestor) |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Do code completion inside a code snippet in the context of the current type. |
| |
| If the type can access to his source code and the insertion position is valid, |
| then completion is performed against source. Otherwise the completion is performed |
| against type structure and given locals variables. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>snippet</CODE> - the code snippet<DD><CODE>insertion</CODE> - the position with in source where the snippet |
| is inserted. This position must not be in comments. |
| A possible value is -1, if the position is not known.<DD><CODE>position</CODE> - the position within snippet where the user |
| is performing code assist.<DD><CODE>localVariableTypeNames</CODE> - an array (possibly empty) of fully qualified |
| type names of local variables visible at the current scope<DD><CODE>localVariableNames</CODE> - an array (possibly empty) of local variable names |
| that are visible at the current scope<DD><CODE>localVariableModifiers</CODE> - an array (possible empty) of modifiers for |
| local variables<DD><CODE>isStatic</CODE> - whether the current scope is in a static context<DD><CODE>requestor</CODE> - the completion requestor |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if this element does not exist or if an |
| exception occurs while accessing its corresponding resource.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="codeComplete(char[], int, int, char[][], char[][], int[], boolean, org.eclipse.wst.jsdt.core.CompletionRequestor, org.eclipse.wst.jsdt.core.WorkingCopyOwner)"><!-- --></A><H3> |
| codeComplete</H3> |
| <PRE> |
| void <B>codeComplete</B>(char[] snippet, |
| int insertion, |
| int position, |
| char[][] localVariableTypeNames, |
| char[][] localVariableNames, |
| int[] localVariableModifiers, |
| boolean isStatic, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/CompletionRequestor.html" title="class in org.eclipse.wst.jsdt.core">CompletionRequestor</A> requestor, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/WorkingCopyOwner.html" title="class in org.eclipse.wst.jsdt.core">WorkingCopyOwner</A> owner) |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Do code completion inside a code snippet in the context of the current type. |
| It considers types in the working copies with the given owner first. In other words, |
| the owner's working copies will take precedence over their original compilation units |
| in the workspace. |
| <p> |
| Note that if a working copy is empty, it will be as if the original compilation |
| unit had been deleted. |
| </p><p> |
| If the type can access to his source code and the insertion position is valid, |
| then completion is performed against source. Otherwise the completion is performed |
| against type structure and given locals variables. |
| </p> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>snippet</CODE> - the code snippet<DD><CODE>insertion</CODE> - the position with in source where the snippet |
| is inserted. This position must not be in comments. |
| A possible value is -1, if the position is not known.<DD><CODE>position</CODE> - the position with in snippet where the user |
| is performing code assist.<DD><CODE>localVariableTypeNames</CODE> - an array (possibly empty) of fully qualified |
| type names of local variables visible at the current scope<DD><CODE>localVariableNames</CODE> - an array (possibly empty) of local variable names |
| that are visible at the current scope<DD><CODE>localVariableModifiers</CODE> - an array (possible empty) of modifiers for |
| local variables<DD><CODE>isStatic</CODE> - whether the current scope is in a static context<DD><CODE>requestor</CODE> - the completion requestor<DD><CODE>owner</CODE> - the owner of working copies that take precedence over their original compilation units |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if this element does not exist or if an |
| exception occurs while accessing its corresponding resource.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createField(java.lang.String, org.eclipse.wst.jsdt.core.IJavaScriptElement, boolean, IProgressMonitor)"><!-- --></A><H3> |
| createField</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IField.html" title="interface in org.eclipse.wst.jsdt.core">IField</A> <B>createField</B>(java.lang.String contents, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptElement</A> sibling, |
| boolean force, |
| IProgressMonitor monitor) |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Creates and returns a field in this type with the |
| given contents. |
| <p> |
| Optionally, the new element can be positioned before the specified |
| sibling. If no sibling is specified, the element will be inserted |
| as the last field declaration in this type.</p> |
| |
| <p>It is possible that a field with the same name already exists in this type. |
| The value of the <code>force</code> parameter effects the resolution of |
| such a conflict:<ul> |
| <li> <code>true</code> - in this case the field is created with the new contents</li> |
| <li> <code>false</code> - in this case a <code>JavaScriptModelException</code> is thrown</li> |
| </ul></p> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>contents</CODE> - the given contents<DD><CODE>sibling</CODE> - the given sibling<DD><CODE>force</CODE> - a flag in case the same name already exists in this type<DD><CODE>monitor</CODE> - the given progress monitor |
| <DT><B>Returns:</B><DD>a field in this type with the given contents |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if the element could not be created. Reasons include: |
| <ul> |
| <li> This JavaScript element does not exist (ELEMENT_DOES_NOT_EXIST)</li> |
| <li> A <code>CoreException</code> occurred while updating an underlying resource |
| <li> The specified sibling is not a child of this type (INVALID_SIBLING) |
| <li> The contents could not be recognized as a field declaration (INVALID_CONTENTS) |
| <li> This type is read-only (binary) (READ_ONLY) |
| <li> There was a naming collision with an existing field (NAME_COLLISION) |
| </ul></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createMethod(java.lang.String, org.eclipse.wst.jsdt.core.IJavaScriptElement, boolean, IProgressMonitor)"><!-- --></A><H3> |
| createMethod</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IFunction.html" title="interface in org.eclipse.wst.jsdt.core">IFunction</A> <B>createMethod</B>(java.lang.String contents, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptElement</A> sibling, |
| boolean force, |
| IProgressMonitor monitor) |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Creates and returns a method or constructor in this type with the |
| given contents. |
| <p> |
| Optionally, the new element can be positioned before the specified |
| sibling. If no sibling is specified, the element will be appended |
| to this type. |
| |
| <p>It is possible that a method with the same signature already exists in this type. |
| The value of the <code>force</code> parameter effects the resolution of |
| such a conflict:<ul> |
| <li> <code>true</code> - in this case the method is created with the new contents</li> |
| <li> <code>false</code> - in this case a <code>JavaScriptModelException</code> is thrown</li> |
| </ul></p> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>contents</CODE> - the given contents<DD><CODE>sibling</CODE> - the given sibling<DD><CODE>force</CODE> - a flag in case the same name already exists in this type<DD><CODE>monitor</CODE> - the given progress monitor |
| <DT><B>Returns:</B><DD>a method or constructor in this type with the given contents |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if the element could not be created. Reasons include: |
| <ul> |
| <li> This JavaScript element does not exist (ELEMENT_DOES_NOT_EXIST)</li> |
| <li> A <code>CoreException</code> occurred while updating an underlying resource |
| <li> The specified sibling is not a child of this type (INVALID_SIBLING) |
| <li> The contents could not be recognized as a method or constructor |
| declaration (INVALID_CONTENTS) |
| <li> This type is read-only (binary) (READ_ONLY) |
| <li> There was a naming collision with an existing method (NAME_COLLISION) |
| </ul></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createType(java.lang.String, org.eclipse.wst.jsdt.core.IJavaScriptElement, boolean, IProgressMonitor)"><!-- --></A><H3> |
| createType</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A> <B>createType</B>(java.lang.String contents, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptElement</A> sibling, |
| boolean force, |
| IProgressMonitor monitor) |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Creates and returns a type in this type with the |
| given contents. |
| <p> |
| Optionally, the new type can be positioned before the specified |
| sibling. If no sibling is specified, the type will be appended |
| to this type.</p> |
| |
| <p>It is possible that a type with the same name already exists in this type. |
| The value of the <code>force</code> parameter effects the resolution of |
| such a conflict:<ul> |
| <li> <code>true</code> - in this case the type is created with the new contents</li> |
| <li> <code>false</code> - in this case a <code>JavaScriptModelException</code> is thrown</li> |
| </ul></p> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>contents</CODE> - the given contents<DD><CODE>sibling</CODE> - the given sibling<DD><CODE>force</CODE> - a flag in case the same name already exists in this type<DD><CODE>monitor</CODE> - the given progress monitor |
| <DT><B>Returns:</B><DD>a type in this type with the given contents |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if the element could not be created. Reasons include: |
| <ul> |
| <li> This JavaScript element does not exist (ELEMENT_DOES_NOT_EXIST)</li> |
| <li> A <code>CoreException</code> occurred while updating an underlying resource |
| <li> The specified sibling is not a child of this type (INVALID_SIBLING) |
| <li> The contents could not be recognized as a type declaration (INVALID_CONTENTS) |
| <li> This type is read-only (binary) (READ_ONLY) |
| <li> There was a naming collision with an existing field (NAME_COLLISION) |
| </ul></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="findMethods(org.eclipse.wst.jsdt.core.IFunction)"><!-- --></A><H3> |
| findMethods</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IFunction.html" title="interface in org.eclipse.wst.jsdt.core">IFunction</A>[] <B>findMethods</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IFunction.html" title="interface in org.eclipse.wst.jsdt.core">IFunction</A> method)</PRE> |
| <DL> |
| <DD>Finds the methods in this type that correspond to |
| the given method. |
| A method m1 corresponds to another method m2 if: |
| <ul> |
| <li>m1 has the same element name as m2. |
| <li>m1 has the same number of arguments as m2 and |
| the simple names of the argument types must be equals. |
| <li>m1 exists. |
| </ul> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>method</CODE> - the given method |
| <DT><B>Returns:</B><DD>the found method or <code>null</code> if no such methods can be found.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getChildrenForCategory(java.lang.String)"><!-- --></A><H3> |
| getChildrenForCategory</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptElement</A>[] <B>getChildrenForCategory</B>(java.lang.String category) |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Returns the children of this type that have the given category as a <code>@category</code> tag. |
| Returns an empty array if no children with this category exist. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the children for the given category. |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if this element does not exist or if an |
| exception occurs while accessing its corresponding resource.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getElementName()"><!-- --></A><H3> |
| getElementName</H3> |
| <PRE> |
| java.lang.String <B>getElementName</B>()</PRE> |
| <DL> |
| <DD>Returns the simple name of this type, unqualified by package or enclosing type. |
| This is a handle-only method. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html#getElementName()">getElementName</A></CODE> in interface <CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptElement</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the simple name of this type</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getField(java.lang.String)"><!-- --></A><H3> |
| getField</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IField.html" title="interface in org.eclipse.wst.jsdt.core">IField</A> <B>getField</B>(java.lang.String name)</PRE> |
| <DL> |
| <DD>Returns the field with the specified name |
| in this type (for example, <code>"bar"</code>). |
| This is a handle-only method. The field may or may not exist. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IFunctionContainer.html#getField(java.lang.String)">getField</A></CODE> in interface <CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IFunctionContainer.html" title="interface in org.eclipse.wst.jsdt.core">IFunctionContainer</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>name</CODE> - the given name |
| <DT><B>Returns:</B><DD>the field with the specified name in this type</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getFields()"><!-- --></A><H3> |
| getFields</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IField.html" title="interface in org.eclipse.wst.jsdt.core">IField</A>[] <B>getFields</B>() |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Returns the fields declared by this type. |
| If this is a source type, the results are listed in the order |
| in which they appear in the source, otherwise, the results are |
| in no particular order. For binary types, this includes synthetic fields. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IFunctionContainer.html#getFields()">getFields</A></CODE> in interface <CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IFunctionContainer.html" title="interface in org.eclipse.wst.jsdt.core">IFunctionContainer</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the fields declared by this type |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if this element does not exist or if an |
| exception occurs while accessing its corresponding resource.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getFullyQualifiedName()"><!-- --></A><H3> |
| getFullyQualifiedName</H3> |
| <PRE> |
| java.lang.String <B>getFullyQualifiedName</B>()</PRE> |
| <DL> |
| <DD>Returns the fully qualified name of this type, |
| including qualification for any containing types and packages. |
| This is the name of the package, followed by <code>'.'</code>, |
| followed by the type-qualified name. |
| This is a handle-only method. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the fully qualified name of this type<DT><B>See Also:</B><DD><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#getTypeQualifiedName()"><CODE>getTypeQualifiedName()</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getFullyQualifiedName(char)"><!-- --></A><H3> |
| getFullyQualifiedName</H3> |
| <PRE> |
| java.lang.String <B>getFullyQualifiedName</B>(char enclosingTypeSeparator)</PRE> |
| <DL> |
| <DD>Returns the fully qualified name of this type, |
| including qualification for any containing types and packages. |
| This is the name of the package, followed by <code>'.'</code>, |
| followed by the type-qualified name using the <code>enclosingTypeSeparator</code>. |
| |
| |
| This is a handle-only method. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>enclosingTypeSeparator</CODE> - the given enclosing type separator |
| <DT><B>Returns:</B><DD>the fully qualified name of this type, including qualification for any containing types and packages<DT><B>See Also:</B><DD><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#getTypeQualifiedName(char)"><CODE>getTypeQualifiedName(char)</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getFullyQualifiedParameterizedName()"><!-- --></A><H3> |
| getFullyQualifiedParameterizedName</H3> |
| <PRE> |
| java.lang.String <B>getFullyQualifiedParameterizedName</B>() |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Returns this type's fully qualified name |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the fully qualified parameterized representation of this type |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if this element does not exist or if an |
| exception occurs while accessing its corresponding resource.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getInitializer(int)"><!-- --></A><H3> |
| getInitializer</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IInitializer.html" title="interface in org.eclipse.wst.jsdt.core">IInitializer</A> <B>getInitializer</B>(int occurrenceCount)</PRE> |
| <DL> |
| <DD>Returns the initializer with the specified position relative to |
| the order they are defined in the source. |
| Numbering starts at 1 (thus the first occurrence is occurrence 1, not occurrence 0). |
| This is a handle-only method. The initializer may or may not be present. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>occurrenceCount</CODE> - the specified position |
| <DT><B>Returns:</B><DD>the initializer with the specified position relative to the order they are defined in the source</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getInitializers()"><!-- --></A><H3> |
| getInitializers</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IInitializer.html" title="interface in org.eclipse.wst.jsdt.core">IInitializer</A>[] <B>getInitializers</B>() |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Returns the initializers declared by this type. |
| For binary types this is an empty collection. |
| If this is a source type, the results are listed in the order |
| in which they appear in the source. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the initializers declared by this type |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if this element does not exist or if an |
| exception occurs while accessing its corresponding resource.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getKey()"><!-- --></A><H3> |
| getKey</H3> |
| <PRE> |
| java.lang.String <B>getKey</B>()</PRE> |
| <DL> |
| <DD>Returns the binding key for this type. A binding key is a key that uniquely |
| identifies this type. It allows access to generic info for parameterized |
| types. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the binding key for this type<DT><B>See Also:</B><DD><A HREF="../../../../../org/eclipse/wst/jsdt/core/dom/IBinding.html#getKey()"><CODE>IBinding.getKey()</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/BindingKey.html" title="class in org.eclipse.wst.jsdt.core"><CODE>BindingKey</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getFunction(java.lang.String, java.lang.String[])"><!-- --></A><H3> |
| getFunction</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IFunction.html" title="interface in org.eclipse.wst.jsdt.core">IFunction</A> <B>getFunction</B>(java.lang.String name, |
| java.lang.String[] parameterTypeSignatures)</PRE> |
| <DL> |
| <DD>Returns the method with the specified name and parameter types |
| in this type (for example, <code>"foo", {"I", "QString;"}</code>). |
| To get the handle for a constructor, the name specified must be the |
| simple name of the enclosing type. |
| This is a handle-only method. The method may or may not be present. |
| <p> |
| The type signatures may be either unresolved (for source types) |
| or resolved (for binary types), and either basic (for basic types) |
| or rich (for parameterized types). See <A HREF="../../../../../org/eclipse/wst/jsdt/core/Signature.html" title="class in org.eclipse.wst.jsdt.core"><CODE>Signature</CODE></A> for details. |
| </p> |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IFunctionContainer.html#getFunction(java.lang.String, java.lang.String[])">getFunction</A></CODE> in interface <CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IFunctionContainer.html" title="interface in org.eclipse.wst.jsdt.core">IFunctionContainer</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>name</CODE> - the given name<DD><CODE>parameterTypeSignatures</CODE> - the given parameter types |
| <DT><B>Returns:</B><DD>the method with the specified name and parameter types in this type</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getMethods()"><!-- --></A><H3> |
| getMethods</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IFunction.html" title="interface in org.eclipse.wst.jsdt.core">IFunction</A>[] <B>getMethods</B>() |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>Use <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#getFunctions()"><CODE>getFunctions()</CODE></A> instead</I> |
| <P> |
| <DD>Returns the methods and constructors declared by this type. |
| For binary types, this may include the special <code><clinit></code>; method |
| and synthetic methods. |
| If this is a source type, the results are listed in the order |
| in which they appear in the source, otherwise, the results are |
| in no particular order. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IFunctionContainer.html#getMethods()">getMethods</A></CODE> in interface <CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IFunctionContainer.html" title="interface in org.eclipse.wst.jsdt.core">IFunctionContainer</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the methods and constructors declared by this type |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if this element does not exist or if an |
| exception occurs while accessing its corresponding resource.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getFunctions()"><!-- --></A><H3> |
| getFunctions</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IFunction.html" title="interface in org.eclipse.wst.jsdt.core">IFunction</A>[] <B>getFunctions</B>() |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Returns the methods and constructors declared by this type. |
| For binary types, this may include the special <code><clinit></code>; method |
| and synthetic methods. |
| If this is a source type, the results are listed in the order |
| in which they appear in the source, otherwise, the results are |
| in no particular order. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IFunctionContainer.html#getFunctions()">getFunctions</A></CODE> in interface <CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IFunctionContainer.html" title="interface in org.eclipse.wst.jsdt.core">IFunctionContainer</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the methods and constructors declared by this type |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if this element does not exist or if an |
| exception occurs while accessing its corresponding resource.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getPackageFragment()"><!-- --></A><H3> |
| getPackageFragment</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IPackageFragment.html" title="interface in org.eclipse.wst.jsdt.core">IPackageFragment</A> <B>getPackageFragment</B>()</PRE> |
| <DL> |
| <DD>Returns the source folder (package fragment) in which this element is defined. |
| This is a handle-only method. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the package fragment in which this element is defined</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getSuperclassName()"><!-- --></A><H3> |
| getSuperclassName</H3> |
| <PRE> |
| java.lang.String <B>getSuperclassName</B>() |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Returns the name of this type's superclass, or <code>null</code> |
| for source types that do not specify a superclass. |
| <p> |
| For interfaces, the superclass name is always <code>"java.lang.Object"</code>. |
| For source types, the name as declared is returned, for binary types, |
| the resolved, qualified name is returned. |
| For anonymous types, the superclass name is the name appearing after the 'new' keyword'. |
| If the superclass is a parameterized type, the string |
| may include its type arguments enclosed in "<>". |
| If the returned string is needed for anything other than display |
| purposes, use <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#getSuperclassTypeSignature()"><CODE>getSuperclassTypeSignature()</CODE></A> which returns |
| a structured type signature string containing more precise information. |
| </p> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the name of this type's superclass, or <code>null</code> for source types that do not specify a superclass |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if this element does not exist or if an |
| exception occurs while accessing its corresponding resource.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getSuperclassTypeSignature()"><!-- --></A><H3> |
| getSuperclassTypeSignature</H3> |
| <PRE> |
| java.lang.String <B>getSuperclassTypeSignature</B>() |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Returns the type signature of this type's superclass, or |
| <code>null</code> if none. |
| <p> |
| The type signature may be either unresolved (for source types) |
| or resolved (for binary types), and either basic (for basic types) |
| or rich (for parameterized types). See <A HREF="../../../../../org/eclipse/wst/jsdt/core/Signature.html" title="class in org.eclipse.wst.jsdt.core"><CODE>Signature</CODE></A> for details. |
| </p> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the type signature of this type's superclass, or |
| <code>null</code> if none |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if this element does not exist or if an |
| exception occurs while accessing its corresponding resource.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getSuperInterfaceTypeSignatures()"><!-- --></A><H3> |
| getSuperInterfaceTypeSignatures</H3> |
| <PRE> |
| java.lang.String[] <B>getSuperInterfaceTypeSignatures</B>() |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Returns the type signatures of the interfaces that this type |
| implements or extends, in the order in which they are listed in the |
| source. |
| <p> |
| For classes and enum types, this gives the interfaces that this |
| class implements. For interfaces and annotation types, |
| this gives the interfaces that this interface extends. |
| An empty collection is returned if this type does not implement or |
| extend any interfaces. For anonymous types, an empty collection is |
| always returned. |
| </p> |
| <p> |
| The type signatures may be either unresolved (for source types) |
| or resolved (for binary types), and either basic (for basic types) |
| or rich (for parameterized types). See <A HREF="../../../../../org/eclipse/wst/jsdt/core/Signature.html" title="class in org.eclipse.wst.jsdt.core"><CODE>Signature</CODE></A> for details. |
| </p> |
| |
| <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the type signatures of interfaces that this type implements |
| or extends, in the order in which they are listed in the source, |
| an empty collection if none |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if this element does not exist or if an |
| exception occurs while accessing its corresponding resource.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getSuperInterfaceNames()"><!-- --></A><H3> |
| getSuperInterfaceNames</H3> |
| <PRE> |
| java.lang.String[] <B>getSuperInterfaceNames</B>() |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Returns the names of interfaces that this type implements or extends, |
| in the order in which they are listed in the source. |
| <p> |
| For classes, this gives the interfaces that this class implements. |
| For interfaces, this gives the interfaces that this interface extends. |
| An empty collection is returned if this type does not implement or |
| extend any interfaces. For source types, simple names are returned, |
| for binary types, qualified names are returned. |
| For anonymous types, an empty collection is always returned. |
| If the list of supertypes includes parameterized types, |
| the string may include type arguments enclosed in "<>". |
| If the result is needed for anything other than display |
| purposes, use <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#getSuperInterfaceTypeSignatures()"><CODE>getSuperInterfaceTypeSignatures()</CODE></A> which returns |
| structured signature strings containing more precise information. |
| </p> |
| |
| <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the names of interfaces that this type implements or extends, in the order in which they are listed in the source, |
| an empty collection if none |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if this element does not exist or if an |
| exception occurs while accessing its corresponding resource.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getTypeParameterSignatures()"><!-- --></A><H3> |
| getTypeParameterSignatures</H3> |
| <PRE> |
| java.lang.String[] <B>getTypeParameterSignatures</B>() |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Returns the formal type parameter signatures for this type. |
| Returns an empty array if this type has no formal type parameters. |
| <p> |
| The formal type parameter signatures may be either unresolved (for source |
| types) or resolved (for binary types). See <A HREF="../../../../../org/eclipse/wst/jsdt/core/Signature.html" title="class in org.eclipse.wst.jsdt.core"><CODE>Signature</CODE></A> for details. |
| </p> |
| |
| <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the formal type parameter signatures of this type, |
| in the order declared in the source, an empty array if none |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if this element does not exist or if an |
| exception occurs while accessing its corresponding resource.<DT><B>See Also:</B><DD><A HREF="../../../../../org/eclipse/wst/jsdt/core/Signature.html" title="class in org.eclipse.wst.jsdt.core"><CODE>Signature</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getTypeParameters()"><!-- --></A><H3> |
| getTypeParameters</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeParameter.html" title="interface in org.eclipse.wst.jsdt.core">ITypeParameter</A>[] <B>getTypeParameters</B>() |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Returns the formal type parameters for this type. |
| Returns an empty array if this type has no formal type parameters. |
| |
| <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the formal type parameters of this type, |
| in the order declared in the source, an empty array if none |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if this element does not exist or if an |
| exception occurs while accessing its corresponding resource.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getType(java.lang.String)"><!-- --></A><H3> |
| getType</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A> <B>getType</B>(java.lang.String name)</PRE> |
| <DL> |
| <DD>Returns the member type declared in this type with the given simple name. |
| This is a handle-only method. The type may or may not exist. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IFunctionContainer.html#getType(java.lang.String)">getType</A></CODE> in interface <CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/IFunctionContainer.html" title="interface in org.eclipse.wst.jsdt.core">IFunctionContainer</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>name</CODE> - the given simple name |
| <DT><B>Returns:</B><DD>the member type declared in this type with the given simple name</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getTypeParameter(java.lang.String)"><!-- --></A><H3> |
| getTypeParameter</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeParameter.html" title="interface in org.eclipse.wst.jsdt.core">ITypeParameter</A> <B>getTypeParameter</B>(java.lang.String name)</PRE> |
| <DL> |
| <DD>Returns the type parameter declared in this type with the given name. |
| This is a handle-only method. The type parameter may or may not exist. |
| |
| <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>name</CODE> - the given simple name |
| <DT><B>Returns:</B><DD>the type parameter declared in this type with the given name</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getTypeQualifiedName()"><!-- --></A><H3> |
| getTypeQualifiedName</H3> |
| <PRE> |
| java.lang.String <B>getTypeQualifiedName</B>()</PRE> |
| <DL> |
| <DD>Returns the type-qualified name of this type, |
| including qualification for any enclosing types, |
| but not including package qualification. |
| This is a handle-only method. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the type-qualified name of this type</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getTypeQualifiedName(char)"><!-- --></A><H3> |
| getTypeQualifiedName</H3> |
| <PRE> |
| java.lang.String <B>getTypeQualifiedName</B>(char enclosingTypeSeparator)</PRE> |
| <DL> |
| <DD>Returns the type-qualified name of this type, |
| including qualification for any enclosing types, |
| but not including package qualification. |
| |
| This is a handle-only method. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>enclosingTypeSeparator</CODE> - the specified enclosing type separator |
| <DT><B>Returns:</B><DD>the type-qualified name of this type</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getTypes()"><!-- --></A><H3> |
| getTypes</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html" title="interface in org.eclipse.wst.jsdt.core">IType</A>[] <B>getTypes</B>() |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Returns the immediate member types declared by this type. |
| The results are listed in the order in which they appear in the source or class file. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the immediate member types declared by this type |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if this element does not exist or if an |
| exception occurs while accessing its corresponding resource.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isAnonymous()"><!-- --></A><H3> |
| isAnonymous</H3> |
| <PRE> |
| boolean <B>isAnonymous</B>() |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Returns whether this type represents an anonymous type. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>true if this type represents an anonymous type, false otherwise |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if this element does not exist or if an |
| exception occurs while accessing its corresponding resource.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isClass()"><!-- --></A><H3> |
| isClass</H3> |
| <PRE> |
| boolean <B>isClass</B>() |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Returns whether this type is read-only. |
| <p> |
| Note that a class can neither be an interface, an enumeration class, nor an annotation type. |
| </p> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>true if this type represents a class, false otherwise |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if this element does not exist or if an |
| exception occurs while accessing its corresponding resource.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isEnum()"><!-- --></A><H3> |
| isEnum</H3> |
| <PRE> |
| boolean <B>isEnum</B>() |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isInterface()"><!-- --></A><H3> |
| isInterface</H3> |
| <PRE> |
| boolean <B>isInterface</B>() |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Returns whether this type represents an interface. |
| <p> |
| Note that an interface can also be an annotation type, but it can neither be a class nor an enumeration class. |
| </p> |
| |
| <p><b>Note: This Method only applies to ECMAScript 4 which is not yet supported</b></p> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>true if this type represents an interface, false otherwise |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if this element does not exist or if an |
| exception occurs while accessing its corresponding resource.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isAnnotation()"><!-- --></A><H3> |
| isAnnotation</H3> |
| <PRE> |
| boolean <B>isAnnotation</B>() |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isLocal()"><!-- --></A><H3> |
| isLocal</H3> |
| <PRE> |
| boolean <B>isLocal</B>() |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Returns whether this type represents a local type. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>true if this type represents a local type, false otherwise |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if this element does not exist or if an |
| exception occurs while accessing its corresponding resource.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isMember()"><!-- --></A><H3> |
| isMember</H3> |
| <PRE> |
| boolean <B>isMember</B>() |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Returns whether this type represents a member type. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>true if this type represents a member type, false otherwise |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if this element does not exist or if an |
| exception occurs while accessing its corresponding resource.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isResolved()"><!-- --></A><H3> |
| isResolved</H3> |
| <PRE> |
| boolean <B>isResolved</B>()</PRE> |
| <DL> |
| <DD>Returns whether this type represents a resolved type. |
| If a type is resolved, its key contains resolved information. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>whether this type represents a resolved type.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="loadTypeHierachy(java.io.InputStream, IProgressMonitor)"><!-- --></A><H3> |
| loadTypeHierachy</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html" title="interface in org.eclipse.wst.jsdt.core">ITypeHierarchy</A> <B>loadTypeHierachy</B>(java.io.InputStream input, |
| IProgressMonitor monitor) |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Loads a previously saved ITypeHierarchy from an input stream. A type hierarchy can |
| be stored using ITypeHierachy#store(OutputStream). |
| |
| Only hierarchies originally created by the following methods can be loaded: |
| <ul> |
| <li>IType#newSupertypeHierarchy(IProgressMonitor)</li> |
| <li>IType#newTypeHierarchy(IJavaScriptProject, IProgressMonitor)</li> |
| <li>IType#newTypeHierarchy(IProgressMonitor)</li> |
| </ul> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>input</CODE> - stream where hierarchy will be read<DD><CODE>monitor</CODE> - the given progress monitor |
| <DT><B>Returns:</B><DD>the stored hierarchy |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if the hierarchy could not be restored, reasons include: |
| - type is not the focus of the hierarchy or |
| - unable to read the input stream (wrong format, IOException during reading, ...)<DT><B>See Also:</B><DD><A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html#store(java.io.OutputStream, IProgressMonitor)"><CODE>ITypeHierarchy.store(java.io.OutputStream, IProgressMonitor)</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newSupertypeHierarchy(IProgressMonitor)"><!-- --></A><H3> |
| newSupertypeHierarchy</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html" title="interface in org.eclipse.wst.jsdt.core">ITypeHierarchy</A> <B>newSupertypeHierarchy</B>(IProgressMonitor monitor) |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Creates and returns a type hierarchy for this type containing |
| this type and all of its supertypes. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>monitor</CODE> - the given progress monitor |
| <DT><B>Returns:</B><DD>a type hierarchy for this type containing this type and all of its supertypes |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if this element does not exist or if an |
| exception occurs while accessing its corresponding resource.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newSupertypeHierarchy(org.eclipse.wst.jsdt.core.IJavaScriptUnit[], IProgressMonitor)"><!-- --></A><H3> |
| newSupertypeHierarchy</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html" title="interface in org.eclipse.wst.jsdt.core">ITypeHierarchy</A> <B>newSupertypeHierarchy</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptUnit.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptUnit</A>[] workingCopies, |
| IProgressMonitor monitor) |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Creates and returns a type hierarchy for this type containing |
| this type and all of its supertypes, considering types in the given |
| working copies. In other words, the list of working copies will take |
| precedence over their original compilation units in the workspace. |
| <p> |
| Note that passing an empty working copy will be as if the original compilation |
| unit had been deleted. |
| </p> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>workingCopies</CODE> - the working copies that take precedence over their original compilation units<DD><CODE>monitor</CODE> - the given progress monitor |
| <DT><B>Returns:</B><DD>a type hierarchy for this type containing this type and all of its supertypes |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if this element does not exist or if an |
| exception occurs while accessing its corresponding resource.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newSupertypeHierarchy(org.eclipse.wst.jsdt.core.WorkingCopyOwner, IProgressMonitor)"><!-- --></A><H3> |
| newSupertypeHierarchy</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html" title="interface in org.eclipse.wst.jsdt.core">ITypeHierarchy</A> <B>newSupertypeHierarchy</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/WorkingCopyOwner.html" title="class in org.eclipse.wst.jsdt.core">WorkingCopyOwner</A> owner, |
| IProgressMonitor monitor) |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Creates and returns a type hierarchy for this type containing |
| this type and all of its supertypes, considering types in the |
| working copies with the given owner. |
| In other words, the owner's working copies will take |
| precedence over their original compilation units in the workspace. |
| <p> |
| Note that if a working copy is empty, it will be as if the original compilation |
| unit had been deleted. |
| <p> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>owner</CODE> - the owner of working copies that take precedence over their original compilation units<DD><CODE>monitor</CODE> - the given progress monitor |
| <DT><B>Returns:</B><DD>a type hierarchy for this type containing this type and all of its supertypes |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if this element does not exist or if an |
| exception occurs while accessing its corresponding resource.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newTypeHierarchy(org.eclipse.wst.jsdt.core.IJavaScriptProject, IProgressMonitor)"><!-- --></A><H3> |
| newTypeHierarchy</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html" title="interface in org.eclipse.wst.jsdt.core">ITypeHierarchy</A> <B>newTypeHierarchy</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> project, |
| IProgressMonitor monitor) |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Creates and returns a type hierarchy for this type containing |
| this type, all of its supertypes, and all its subtypes |
| in the context of the given project. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>project</CODE> - the given project<DD><CODE>monitor</CODE> - the given progress monitor |
| <DT><B>Returns:</B><DD>a type hierarchy for this type containing |
| this type, all of its supertypes, and all its subtypes |
| in the context of the given project |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if this element does not exist or if an |
| exception occurs while accessing its corresponding resource.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newTypeHierarchy(org.eclipse.wst.jsdt.core.IJavaScriptProject, org.eclipse.wst.jsdt.core.WorkingCopyOwner, IProgressMonitor)"><!-- --></A><H3> |
| newTypeHierarchy</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html" title="interface in org.eclipse.wst.jsdt.core">ITypeHierarchy</A> <B>newTypeHierarchy</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> project, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/WorkingCopyOwner.html" title="class in org.eclipse.wst.jsdt.core">WorkingCopyOwner</A> owner, |
| IProgressMonitor monitor) |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Creates and returns a type hierarchy for this type containing |
| this type, all of its supertypes, and all its subtypes |
| in the context of the given project, considering types in the |
| working copies with the given owner. |
| In other words, the owner's working copies will take |
| precedence over their original compilation units in the workspace. |
| <p> |
| Note that if a working copy is empty, it will be as if the original compilation |
| unit had been deleted. |
| <p> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>project</CODE> - the given project<DD><CODE>owner</CODE> - the owner of working copies that take precedence over their original compilation units<DD><CODE>monitor</CODE> - the given progress monitor |
| <DT><B>Returns:</B><DD>a type hierarchy for this type containing |
| this type, all of its supertypes, and all its subtypes |
| in the context of the given project |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if this element does not exist or if an |
| exception occurs while accessing its corresponding resource.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newTypeHierarchy(IProgressMonitor)"><!-- --></A><H3> |
| newTypeHierarchy</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html" title="interface in org.eclipse.wst.jsdt.core">ITypeHierarchy</A> <B>newTypeHierarchy</B>(IProgressMonitor monitor) |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Creates and returns a type hierarchy for this type containing |
| this type, all of its supertypes, and all its subtypes in the workspace. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>monitor</CODE> - the given progress monitor |
| <DT><B>Returns:</B><DD>a type hierarchy for this type containing |
| this type, all of its supertypes, and all its subtypes in the workspace |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if this element does not exist or if an |
| exception occurs while accessing its corresponding resource.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newTypeHierarchy(org.eclipse.wst.jsdt.core.IJavaScriptUnit[], IProgressMonitor)"><!-- --></A><H3> |
| newTypeHierarchy</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html" title="interface in org.eclipse.wst.jsdt.core">ITypeHierarchy</A> <B>newTypeHierarchy</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptUnit.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptUnit</A>[] workingCopies, |
| IProgressMonitor monitor) |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Creates and returns a type hierarchy for this type containing |
| this type, all of its supertypes, and all its subtypes in the workspace, |
| considering types in the given working copies. In other words, the list of working |
| copies that will take precedence over their original compilation units in the workspace. |
| <p> |
| Note that passing an empty working copy will be as if the original compilation |
| unit had been deleted. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>workingCopies</CODE> - the working copies that take precedence over their original compilation units<DD><CODE>monitor</CODE> - the given progress monitor |
| <DT><B>Returns:</B><DD>a type hierarchy for this type containing |
| this type, all of its supertypes, and all its subtypes in the workspace |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if this element does not exist or if an |
| exception occurs while accessing its corresponding resource.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newTypeHierarchy(org.eclipse.wst.jsdt.core.IWorkingCopy[], IProgressMonitor)"><!-- --></A><H3> |
| newTypeHierarchy</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html" title="interface in org.eclipse.wst.jsdt.core">ITypeHierarchy</A> <B>newTypeHierarchy</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IWorkingCopy.html" title="interface in org.eclipse.wst.jsdt.core">IWorkingCopy</A>[] workingCopies, |
| IProgressMonitor monitor) |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>Use <A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#newTypeHierarchy(org.eclipse.wst.jsdt.core.IJavaScriptUnit[], IProgressMonitor)"><CODE>newTypeHierarchy(IJavaScriptUnit[], IProgressMonitor)</CODE></A> instead</I> |
| <P> |
| <DD>Creates and returns a type hierarchy for this type containing |
| this type, all of its supertypes, and all its subtypes in the workspace, |
| considering types in the given working copies. In other words, the list of working |
| copies that will take precedence over their original compilation units in the workspace. |
| <p> |
| Note that passing an empty working copy will be as if the original compilation |
| unit had been deleted. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>workingCopies</CODE> - the working copies that take precedence over their original compilation units<DD><CODE>monitor</CODE> - the given progress monitor |
| <DT><B>Returns:</B><DD>a type hierarchy for this type containing |
| this type, all of its supertypes, and all its subtypes in the workspace |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if this element does not exist or if an |
| exception occurs while accessing its corresponding resource.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="newTypeHierarchy(org.eclipse.wst.jsdt.core.WorkingCopyOwner, IProgressMonitor)"><!-- --></A><H3> |
| newTypeHierarchy</H3> |
| <PRE> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html" title="interface in org.eclipse.wst.jsdt.core">ITypeHierarchy</A> <B>newTypeHierarchy</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/WorkingCopyOwner.html" title="class in org.eclipse.wst.jsdt.core">WorkingCopyOwner</A> owner, |
| IProgressMonitor monitor) |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Creates and returns a type hierarchy for this type containing |
| this type, all of its supertypes, and all its subtypes in the workspace, |
| considering types in the working copies with the given owner. |
| In other words, the owner's working copies will take |
| precedence over their original compilation units in the workspace. |
| <p> |
| Note that if a working copy is empty, it will be as if the original compilation |
| unit had been deleted. |
| <p> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>owner</CODE> - the owner of working copies that take precedence over their original compilation units<DD><CODE>monitor</CODE> - the given progress monitor |
| <DT><B>Returns:</B><DD>a type hierarchy for this type containing |
| this type, all of its supertypes, and all its subtypes in the workspace |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if this element does not exist or if an |
| exception occurs while accessing its corresponding resource.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="resolveType(java.lang.String)"><!-- --></A><H3> |
| resolveType</H3> |
| <PRE> |
| java.lang.String[][] <B>resolveType</B>(java.lang.String typeName) |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Resolves the given type name within the context of this type (depending on the type hierarchy |
| and its imports). |
| <p> |
| Multiple answers might be found in case there are ambiguous matches. |
| </p> |
| <p> |
| Each matching type name is decomposed as an array of two strings, the first denoting the package |
| name (dot-separated) and the second being the type name. The package name is empty if it is the |
| default package. The type name is the type qualified name using a '.' enclosing type separator. |
| </p> |
| <p> |
| Returns <code>null</code> if unable to find any matching type. |
| </p> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>typeName</CODE> - the given type name |
| <DT><B>Returns:</B><DD>the resolved type names or <code>null</code> if unable to find any matching type |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if code resolve could not be performed.<DT><B>See Also:</B><DD><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#getTypeQualifiedName(char)"><CODE>getTypeQualifiedName(char)</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="resolveType(java.lang.String, org.eclipse.wst.jsdt.core.WorkingCopyOwner)"><!-- --></A><H3> |
| resolveType</H3> |
| <PRE> |
| java.lang.String[][] <B>resolveType</B>(java.lang.String typeName, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/WorkingCopyOwner.html" title="class in org.eclipse.wst.jsdt.core">WorkingCopyOwner</A> owner) |
| throws <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></PRE> |
| <DL> |
| <DD>Resolves the given type name within the context of this type (depending on the type hierarchy |
| and its imports) and using the given owner's working copies, considering types in the |
| working copies with the given owner. In other words, the owner's working copies will take |
| precedence over their original compilation units in the workspace. |
| <p> |
| Note that if a working copy is empty, it will be as if the original compilation |
| unit had been deleted. |
| </p> |
| <p>Multiple answers might be found in case there are ambiguous matches. |
| </p> |
| <p> |
| Each matching type name is decomposed as an array of two strings, the first denoting the package |
| name (dot-separated) and the second being the type name. The package name is empty if it is the |
| default package. The type name is the type qualified name using a '.' enclosing type separator. |
| </p> |
| <p> |
| Returns <code>null</code> if unable to find any matching type. |
| </p> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>typeName</CODE> - the given type name<DD><CODE>owner</CODE> - the owner of working copies that take precedence over their original compilation units |
| <DT><B>Returns:</B><DD>the resolved type names or <code>null</code> if unable to find any matching type |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptModelException.html" title="class in org.eclipse.wst.jsdt.core">JavaScriptModelException</A></CODE> - if code resolve could not be performed.<DT><B>See Also:</B><DD><A HREF="../../../../../org/eclipse/wst/jsdt/core/IType.html#getTypeQualifiedName(char)"><CODE>getTypeQualifiedName(char)</CODE></A></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> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/IType.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/ISourceReference.html" title="interface in org.eclipse.wst.jsdt.core"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/ITypeHierarchy.html" title="interface in org.eclipse.wst.jsdt.core"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../index.html?org/eclipse/wst/jsdt/core/IType.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="IType.html" target="_top"><B>NO FRAMES</B></A> |
| <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: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_bottom"></A> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| |
| <HR> |
| |
| </BODY> |
| </HTML> |