diff options
Diffstat (limited to 'docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/SearchMatch.html')
-rw-r--r-- | docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/SearchMatch.html | 877 |
1 files changed, 0 insertions, 877 deletions
diff --git a/docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/SearchMatch.html b/docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/SearchMatch.html deleted file mode 100644 index 1a6ca4b6..00000000 --- a/docs/org.eclipse.wst.jsdt.doc/html/api_reference/org/eclipse/wst/jsdt/core/search/SearchMatch.html +++ /dev/null @@ -1,877 +0,0 @@ -<!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:16:00 CDT 2008 --> -<TITLE> -SearchMatch -</TITLE> - -<META NAME="keywords" CONTENT="org.eclipse.wst.jsdt.core.search.SearchMatch class"> - -<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style"> - -<SCRIPT type="text/javascript"> -function windowTitle() -{ - parent.document.title="SearchMatch"; -} -</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/SearchMatch.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/search/SearchEngine.html" title="class in org.eclipse.wst.jsdt.core.search"><B>PREV CLASS</B></A> - <A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/SearchParticipant.html" title="class in org.eclipse.wst.jsdt.core.search"><B>NEXT CLASS</B></A></FONT></TD> -<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> - <A HREF="../../../../../../index.html?org/eclipse/wst/jsdt/core/search/SearchMatch.html" target="_top"><B>FRAMES</B></A> - <A HREF="SearchMatch.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 | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> -<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> -DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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.search</FONT> -<BR> -Class SearchMatch</H2> -<PRE> -java.lang.Object - <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><B>org.eclipse.wst.jsdt.core.search.SearchMatch</B> -</PRE> -<DL> -<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/FieldDeclarationMatch.html" title="class in org.eclipse.wst.jsdt.core.search">FieldDeclarationMatch</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/FieldReferenceMatch.html" title="class in org.eclipse.wst.jsdt.core.search">FieldReferenceMatch</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/LocalVariableDeclarationMatch.html" title="class in org.eclipse.wst.jsdt.core.search">LocalVariableDeclarationMatch</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/LocalVariableReferenceMatch.html" title="class in org.eclipse.wst.jsdt.core.search">LocalVariableReferenceMatch</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/MethodDeclarationMatch.html" title="class in org.eclipse.wst.jsdt.core.search">MethodDeclarationMatch</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/MethodReferenceMatch.html" title="class in org.eclipse.wst.jsdt.core.search">MethodReferenceMatch</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/PackageDeclarationMatch.html" title="class in org.eclipse.wst.jsdt.core.search">PackageDeclarationMatch</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/PackageReferenceMatch.html" title="class in org.eclipse.wst.jsdt.core.search">PackageReferenceMatch</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/TypeDeclarationMatch.html" title="class in org.eclipse.wst.jsdt.core.search">TypeDeclarationMatch</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/TypeParameterDeclarationMatch.html" title="class in org.eclipse.wst.jsdt.core.search">TypeParameterDeclarationMatch</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/TypeParameterReferenceMatch.html" title="class in org.eclipse.wst.jsdt.core.search">TypeParameterReferenceMatch</A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/TypeReferenceMatch.html" title="class in org.eclipse.wst.jsdt.core.search">TypeReferenceMatch</A></DD> -</DL> -<HR> -<DL> -<DT><PRE>public class <B>SearchMatch</B><DT>extends java.lang.Object</DL> -</PRE> - -<P> -A search match represents the result of a search query. - - Search matches may be accurate (<code>A_ACCURATE</code>) or they might be - merely potential matches (<code>A_INACCURATE</code>). The latter occurs when - a compile-time problem prevents the search engine from completely resolving - the match. - <p> - This class is intended to be instantiated and subclassed by clients. - </p> -<P> - -<P> -<DL> -<DT><B>See Also:</B><DD><CODE>Provisional API: This class/interface is part of an interim API that is still under development and expected to - change significantly before reaching stability. It is being made available at this early stage to solicit feedback - from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken - (repeatedly) as the API evolves.</CODE></DL> -<HR> - -<P> -<!-- =========== FIELD SUMMARY =========== --> - -<A NAME="field_summary"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> -<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> -<B>Field Summary</B></FONT></TH> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static int</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/SearchMatch.html#A_ACCURATE">A_ACCURATE</A></B></CODE> - -<BR> - The search result corresponds an exact match of the search pattern.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static int</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/SearchMatch.html#A_INACCURATE">A_INACCURATE</A></B></CODE> - -<BR> - The search result is potentially a match for the search pattern, - but the search engine is unable to fully check it (for example, because - there are errors in the code or the includepath are not correctly set).</TD> -</TR> -</TABLE> - -<!-- ======== CONSTRUCTOR SUMMARY ======== --> - -<A NAME="constructor_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>Constructor Summary</B></FONT></TH> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/SearchMatch.html#SearchMatch(org.eclipse.wst.jsdt.core.IJavaScriptElement, int, int, int, org.eclipse.wst.jsdt.core.search.SearchParticipant, IResource)">SearchMatch</A></B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptElement</A> element, - int accuracy, - int offset, - int length, - <A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/SearchParticipant.html" title="class in org.eclipse.wst.jsdt.core.search">SearchParticipant</A> participant, - IResource resource)</CODE> - -<BR> - Creates a new search match.</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> int</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/SearchMatch.html#getAccuracy()">getAccuracy</A></B>()</CODE> - -<BR> - Returns the accuracy of this search match.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> java.lang.Object</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/SearchMatch.html#getElement()">getElement</A></B>()</CODE> - -<BR> - Returns the element of this search match.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> int</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/SearchMatch.html#getLength()">getLength</A></B>()</CODE> - -<BR> - Returns the length of this search match.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> int</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/SearchMatch.html#getOffset()">getOffset</A></B>()</CODE> - -<BR> - Returns the offset of this search match.</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/search/SearchParticipant.html" title="class in org.eclipse.wst.jsdt.core.search">SearchParticipant</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/SearchMatch.html#getParticipant()">getParticipant</A></B>()</CODE> - -<BR> - Returns the search participant which issued this search match.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> IResource</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/SearchMatch.html#getResource()">getResource</A></B>()</CODE> - -<BR> - Returns the resource containing this search match.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> int</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/SearchMatch.html#getRule()">getRule</A></B>()</CODE> - -<BR> - Returns the rule used while creating the match.</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/search/SearchMatch.html#isEquivalent()">isEquivalent</A></B>()</CODE> - -<BR> - Returns whether match element is compatible with searched pattern or not.</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/search/SearchMatch.html#isErasure()">isErasure</A></B>()</CODE> - -<BR> - Returns whether match element only has same erasure than searched pattern or not.</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/search/SearchMatch.html#isExact()">isExact</A></B>()</CODE> - -<BR> - Returns whether element matches exactly searched pattern or not.</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/search/SearchMatch.html#isImplicit()">isImplicit</A></B>()</CODE> - -<BR> - Returns whether the associated element is implicit or not.</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/search/SearchMatch.html#isInsideDocComment()">isInsideDocComment</A></B>()</CODE> - -<BR> - Returns whether this search match is inside a doc comment of a Java - source file.</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/search/SearchMatch.html#isRaw()">isRaw</A></B>()</CODE> - -<BR> - Returns whether the associated element is a raw type/method or not.</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/search/SearchMatch.html#setAccuracy(int)">setAccuracy</A></B>(int accuracy)</CODE> - -<BR> - Sets the accuracy of this match.</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/search/SearchMatch.html#setElement(java.lang.Object)">setElement</A></B>(java.lang.Object element)</CODE> - -<BR> - Sets the element of this search match.</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/search/SearchMatch.html#setImplicit(boolean)">setImplicit</A></B>(boolean implicit)</CODE> - -<BR> - Sets whether the associated element is implicit or not.</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/search/SearchMatch.html#setInsideDocComment(boolean)">setInsideDocComment</A></B>(boolean insideDoc)</CODE> - -<BR> - Sets whether this search match is inside a doc comment of a Java - source file.</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/search/SearchMatch.html#setLength(int)">setLength</A></B>(int length)</CODE> - -<BR> - Sets the length of this search match.</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/search/SearchMatch.html#setOffset(int)">setOffset</A></B>(int offset)</CODE> - -<BR> - Sets the offset of this search match.</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/search/SearchMatch.html#setParticipant(org.eclipse.wst.jsdt.core.search.SearchParticipant)">setParticipant</A></B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/SearchParticipant.html" title="class in org.eclipse.wst.jsdt.core.search">SearchParticipant</A> participant)</CODE> - -<BR> - Sets the participant of this match.</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/search/SearchMatch.html#setRaw(boolean)">setRaw</A></B>(boolean raw)</CODE> - -<BR> - Set whether the associated element is a raw type/method or not.</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/search/SearchMatch.html#setResource(IResource)">setResource</A></B>(IResource resource)</CODE> - -<BR> - Sets the resource of this match.</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/search/SearchMatch.html#setRule(int)">setRule</A></B>(int rule)</CODE> - -<BR> - Set the rule used while reporting the match.</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/search/SearchMatch.html#toString()">toString</A></B>()</CODE> - -<BR> - </TD> -</TR> -</TABLE> - <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> -<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD><CODE>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD> -</TR> -</TABLE> - -<P> - -<!-- ============ FIELD DETAIL =========== --> - -<A NAME="field_detail"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> -<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> -<B>Field Detail</B></FONT></TH> -</TR> -</TABLE> - -<A NAME="A_ACCURATE"><!-- --></A><H3> -A_ACCURATE</H3> -<PRE> -public static final int <B>A_ACCURATE</B></PRE> -<DL> -<DD>The search result corresponds an exact match of the search pattern. -<P> -<DL> -<DT><B>See Also:</B><DD><A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/SearchMatch.html#getAccuracy()"><CODE>getAccuracy()</CODE></A>, -<A HREF="../../../../../../constant-values.html#org.eclipse.wst.jsdt.core.search.SearchMatch.A_ACCURATE">Constant Field Values</A></DL> -</DL> -<HR> - -<A NAME="A_INACCURATE"><!-- --></A><H3> -A_INACCURATE</H3> -<PRE> -public static final int <B>A_INACCURATE</B></PRE> -<DL> -<DD>The search result is potentially a match for the search pattern, - but the search engine is unable to fully check it (for example, because - there are errors in the code or the includepath are not correctly set). -<P> -<DL> -<DT><B>See Also:</B><DD><A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/SearchMatch.html#getAccuracy()"><CODE>getAccuracy()</CODE></A>, -<A HREF="../../../../../../constant-values.html#org.eclipse.wst.jsdt.core.search.SearchMatch.A_INACCURATE">Constant Field Values</A></DL> -</DL> - -<!-- ========= CONSTRUCTOR DETAIL ======== --> - -<A NAME="constructor_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>Constructor Detail</B></FONT></TH> -</TR> -</TABLE> - -<A NAME="SearchMatch(org.eclipse.wst.jsdt.core.IJavaScriptElement, int, int, int, org.eclipse.wst.jsdt.core.search.SearchParticipant, IResource)"><!-- --></A><H3> -SearchMatch</H3> -<PRE> -public <B>SearchMatch</B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/IJavaScriptElement.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptElement</A> element, - int accuracy, - int offset, - int length, - <A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/SearchParticipant.html" title="class in org.eclipse.wst.jsdt.core.search">SearchParticipant</A> participant, - IResource resource)</PRE> -<DL> -<DD>Creates a new search match. - <p> - Note that <code>isInsideDocComment()</code> defaults to false. - </p> -<P> -<DL> -<DT><B>Parameters:</B><DD><CODE>element</CODE> - the element that encloses or corresponds to the match, - or <code>null</code> if none<DD><CODE>accuracy</CODE> - one of <A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/SearchMatch.html#A_ACCURATE"><CODE>A_ACCURATE</CODE></A> or <A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/SearchMatch.html#A_INACCURATE"><CODE>A_INACCURATE</CODE></A><DD><CODE>offset</CODE> - the offset the match starts at, or -1 if unknown<DD><CODE>length</CODE> - the length of the match, or -1 if unknown<DD><CODE>participant</CODE> - the search participant that created the match<DD><CODE>resource</CODE> - the resource of the element, or <code>null</code> if none</DL> -</DL> - -<!-- ============ METHOD DETAIL ========== --> - -<A NAME="method_detail"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> -<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> -<B>Method Detail</B></FONT></TH> -</TR> -</TABLE> - -<A NAME="getAccuracy()"><!-- --></A><H3> -getAccuracy</H3> -<PRE> -public final int <B>getAccuracy</B>()</PRE> -<DL> -<DD>Returns the accuracy of this search match. -<P> -<DD><DL> - -<DT><B>Returns:</B><DD>one of <A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/SearchMatch.html#A_ACCURATE"><CODE>A_ACCURATE</CODE></A> or <A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/SearchMatch.html#A_INACCURATE"><CODE>A_INACCURATE</CODE></A></DL> -</DD> -</DL> -<HR> - -<A NAME="getElement()"><!-- --></A><H3> -getElement</H3> -<PRE> -public final java.lang.Object <B>getElement</B>()</PRE> -<DL> -<DD>Returns the element of this search match. - In case of a reference match, this is the inner-most enclosing element of the reference. - In case of a declaration match, this is the declaration. -<P> -<DD><DL> - -<DT><B>Returns:</B><DD>the element of the search match, or <code>null</code> if none</DL> -</DD> -</DL> -<HR> - -<A NAME="getLength()"><!-- --></A><H3> -getLength</H3> -<PRE> -public final int <B>getLength</B>()</PRE> -<DL> -<DD>Returns the length of this search match. -<P> -<DD><DL> - -<DT><B>Returns:</B><DD>the length of this search match, or -1 if unknown</DL> -</DD> -</DL> -<HR> - -<A NAME="getOffset()"><!-- --></A><H3> -getOffset</H3> -<PRE> -public final int <B>getOffset</B>()</PRE> -<DL> -<DD>Returns the offset of this search match. -<P> -<DD><DL> - -<DT><B>Returns:</B><DD>the offset of this search match, or -1 if unknown</DL> -</DD> -</DL> -<HR> - -<A NAME="getParticipant()"><!-- --></A><H3> -getParticipant</H3> -<PRE> -public final <A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/SearchParticipant.html" title="class in org.eclipse.wst.jsdt.core.search">SearchParticipant</A> <B>getParticipant</B>()</PRE> -<DL> -<DD>Returns the search participant which issued this search match. -<P> -<DD><DL> - -<DT><B>Returns:</B><DD>the participant which issued this search match</DL> -</DD> -</DL> -<HR> - -<A NAME="getResource()"><!-- --></A><H3> -getResource</H3> -<PRE> -public final IResource <B>getResource</B>()</PRE> -<DL> -<DD>Returns the resource containing this search match. -<P> -<DD><DL> - -<DT><B>Returns:</B><DD>the resource of the match, or <code>null</code> if none</DL> -</DD> -</DL> -<HR> - -<A NAME="getRule()"><!-- --></A><H3> -getRule</H3> -<PRE> -public final int <B>getRule</B>()</PRE> -<DL> -<DD>Returns the rule used while creating the match. -<P> -<DD><DL> - -<DT><B>Returns:</B><DD>one of <A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/SearchPattern.html#R_FULL_MATCH"><CODE>SearchPattern.R_FULL_MATCH</CODE></A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/SearchPattern.html#R_EQUIVALENT_MATCH"><CODE>SearchPattern.R_EQUIVALENT_MATCH</CODE></A> - or <A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/SearchPattern.html#R_ERASURE_MATCH"><CODE>SearchPattern.R_ERASURE_MATCH</CODE></A></DL> -</DD> -</DL> -<HR> - -<A NAME="isEquivalent()"><!-- --></A><H3> -isEquivalent</H3> -<PRE> -public final boolean <B>isEquivalent</B>()</PRE> -<DL> -<DD>Returns whether match element is compatible with searched pattern or not. - Note that equivalent matches are also erasure ones. -<P> -<DD><DL> - -<DT><B>Returns:</B><DD><code>true</code> if match element is compatible - <code>false</code> otherwise</DL> -</DD> -</DL> -<HR> - -<A NAME="isErasure()"><!-- --></A><H3> -isErasure</H3> -<PRE> -public final boolean <B>isErasure</B>()</PRE> -<DL> -<DD>Returns whether match element only has same erasure than searched pattern or not. - Note that this is always true for both generic and non-generic element as soon - as the accuracy is accurate. -<P> -<DD><DL> - -<DT><B>Returns:</B><DD><code>true</code> if match element has same erasure - <code>false</code> otherwise</DL> -</DD> -</DL> -<HR> - -<A NAME="isExact()"><!-- --></A><H3> -isExact</H3> -<PRE> -public final boolean <B>isExact</B>()</PRE> -<DL> -<DD>Returns whether element matches exactly searched pattern or not. - Note that exact matches are also erasure and equivalent ones. -<P> -<DD><DL> - -<DT><B>Returns:</B><DD><code>true</code> if match is exact - <code>false</code> otherwise</DL> -</DD> -</DL> -<HR> - -<A NAME="isImplicit()"><!-- --></A><H3> -isImplicit</H3> -<PRE> -public final boolean <B>isImplicit</B>()</PRE> -<DL> -<DD>Returns whether the associated element is implicit or not. - - Note that this piece of information is currently only implemented - for implicit member pair value in annotation. -<P> -<DD><DL> - -<DT><B>Returns:</B><DD><code>true</code> if this match is associated to an implicit - element and <code>false</code> otherwise</DL> -</DD> -</DL> -<HR> - -<A NAME="isRaw()"><!-- --></A><H3> -isRaw</H3> -<PRE> -public final boolean <B>isRaw</B>()</PRE> -<DL> -<DD>Returns whether the associated element is a raw type/method or not. -<P> -<DD><DL> - -<DT><B>Returns:</B><DD><code>true</code> if this match is associated to a raw - type or method and <code>false</code> otherwise</DL> -</DD> -</DL> -<HR> - -<A NAME="isInsideDocComment()"><!-- --></A><H3> -isInsideDocComment</H3> -<PRE> -public final boolean <B>isInsideDocComment</B>()</PRE> -<DL> -<DD>Returns whether this search match is inside a doc comment of a Java - source file. -<P> -<DD><DL> - -<DT><B>Returns:</B><DD><code>true</code> if this search match is inside a doc - comment, and <code>false</code> otherwise</DL> -</DD> -</DL> -<HR> - -<A NAME="setAccuracy(int)"><!-- --></A><H3> -setAccuracy</H3> -<PRE> -public final void <B>setAccuracy</B>(int accuracy)</PRE> -<DL> -<DD>Sets the accuracy of this match. -<P> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>accuracy</CODE> - one of <A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/SearchMatch.html#A_ACCURATE"><CODE>A_ACCURATE</CODE></A> or <A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/SearchMatch.html#A_INACCURATE"><CODE>A_INACCURATE</CODE></A></DL> -</DD> -</DL> -<HR> - -<A NAME="setElement(java.lang.Object)"><!-- --></A><H3> -setElement</H3> -<PRE> -public final void <B>setElement</B>(java.lang.Object element)</PRE> -<DL> -<DD>Sets the element of this search match. -<P> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>element</CODE> - the element that encloses or corresponds to the match, - or <code>null</code> if none</DL> -</DD> -</DL> -<HR> - -<A NAME="setInsideDocComment(boolean)"><!-- --></A><H3> -setInsideDocComment</H3> -<PRE> -public final void <B>setInsideDocComment</B>(boolean insideDoc)</PRE> -<DL> -<DD>Sets whether this search match is inside a doc comment of a Java - source file. -<P> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>insideDoc</CODE> - <code>true</code> if this search match is inside a doc - comment, and <code>false</code> otherwise</DL> -</DD> -</DL> -<HR> - -<A NAME="setImplicit(boolean)"><!-- --></A><H3> -setImplicit</H3> -<PRE> -public final void <B>setImplicit</B>(boolean implicit)</PRE> -<DL> -<DD>Sets whether the associated element is implicit or not. - Typically, this is the case when match is on an implicit constructor - or an implicit member pair value in annotation. -<P> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>implicit</CODE> - <code>true</code> if this match is associated to an implicit - element and <code>false</code> otherwise</DL> -</DD> -</DL> -<HR> - -<A NAME="setLength(int)"><!-- --></A><H3> -setLength</H3> -<PRE> -public final void <B>setLength</B>(int length)</PRE> -<DL> -<DD>Sets the length of this search match. -<P> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>length</CODE> - the length of the match, or -1 if unknown</DL> -</DD> -</DL> -<HR> - -<A NAME="setOffset(int)"><!-- --></A><H3> -setOffset</H3> -<PRE> -public final void <B>setOffset</B>(int offset)</PRE> -<DL> -<DD>Sets the offset of this search match. -<P> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>offset</CODE> - the offset the match starts at, or -1 if unknown</DL> -</DD> -</DL> -<HR> - -<A NAME="setParticipant(org.eclipse.wst.jsdt.core.search.SearchParticipant)"><!-- --></A><H3> -setParticipant</H3> -<PRE> -public final void <B>setParticipant</B>(<A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/SearchParticipant.html" title="class in org.eclipse.wst.jsdt.core.search">SearchParticipant</A> participant)</PRE> -<DL> -<DD>Sets the participant of this match. -<P> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>participant</CODE> - the search participant that created this match</DL> -</DD> -</DL> -<HR> - -<A NAME="setResource(IResource)"><!-- --></A><H3> -setResource</H3> -<PRE> -public final void <B>setResource</B>(IResource resource)</PRE> -<DL> -<DD>Sets the resource of this match. -<P> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>resource</CODE> - the resource of the match, or <code>null</code> if none</DL> -</DD> -</DL> -<HR> - -<A NAME="setRule(int)"><!-- --></A><H3> -setRule</H3> -<PRE> -public final void <B>setRule</B>(int rule)</PRE> -<DL> -<DD>Set the rule used while reporting the match. -<P> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>rule</CODE> - one of <A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/SearchPattern.html#R_FULL_MATCH"><CODE>SearchPattern.R_FULL_MATCH</CODE></A>, <A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/SearchPattern.html#R_EQUIVALENT_MATCH"><CODE>SearchPattern.R_EQUIVALENT_MATCH</CODE></A> - or <A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/SearchPattern.html#R_ERASURE_MATCH"><CODE>SearchPattern.R_ERASURE_MATCH</CODE></A></DL> -</DD> -</DL> -<HR> - -<A NAME="setRaw(boolean)"><!-- --></A><H3> -setRaw</H3> -<PRE> -public final void <B>setRaw</B>(boolean raw)</PRE> -<DL> -<DD>Set whether the associated element is a raw type/method or not. -<P> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>raw</CODE> - <code>true</code> if this search match is associated to a raw - type or method and <code>false</code> otherwise</DL> -</DD> -</DL> -<HR> - -<A NAME="toString()"><!-- --></A><H3> -toString</H3> -<PRE> -public java.lang.String <B>toString</B>()</PRE> -<DL> -<DD><DL> -<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL> -</DD> -<DD><DL> -</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/SearchMatch.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/search/SearchEngine.html" title="class in org.eclipse.wst.jsdt.core.search"><B>PREV CLASS</B></A> - <A HREF="../../../../../../org/eclipse/wst/jsdt/core/search/SearchParticipant.html" title="class in org.eclipse.wst.jsdt.core.search"><B>NEXT CLASS</B></A></FONT></TD> -<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> - <A HREF="../../../../../../index.html?org/eclipse/wst/jsdt/core/search/SearchMatch.html" target="_top"><B>FRAMES</B></A> - <A HREF="SearchMatch.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 | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> -<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> -DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> -</TR> -</TABLE> -<A NAME="skip-navbar_bottom"></A> -<!-- ======== END OF BOTTOM NAVBAR ======= --> - -<HR> - -</BODY> -</HTML> |