| <!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:50 CDT 2008 --> |
| <TITLE> |
| NamingConventions |
| </TITLE> |
| |
| <META NAME="keywords" CONTENT="org.eclipse.wst.jsdt.core.NamingConventions class"> |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| parent.document.title="NamingConventions"; |
| } |
| </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/NamingConventions.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/Messages.html" title="class in org.eclipse.wst.jsdt.core"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/Signature.html" title="class 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/NamingConventions.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="NamingConventions.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> |
| Class NamingConventions</H2> |
| <PRE> |
| java.lang.Object |
| <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.eclipse.wst.jsdt.core.NamingConventions</B> |
| </PRE> |
| <HR> |
| <DL> |
| <DT><PRE>public final class <B>NamingConventions</B><DT>extends java.lang.Object</DL> |
| </PRE> |
| |
| <P> |
| Provides methods for computing JavaScript-specific names. |
| <p> |
| The behavior of the methods is dependent of several JavaScriptCore options. |
| <p> |
| The possible options are : |
| <ul> |
| <li> <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_FIELD_PREFIXES"><CODE>JavaScriptCore.CODEASSIST_FIELD_PREFIXES</CODE></A> : Define the Prefixes for Field Name.</li> |
| <li> <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_STATIC_FIELD_PREFIXES"><CODE>JavaScriptCore.CODEASSIST_STATIC_FIELD_PREFIXES</CODE></A> : Define the Prefixes for Static Field Name.</li> |
| <li> <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_LOCAL_PREFIXES"><CODE>JavaScriptCore.CODEASSIST_LOCAL_PREFIXES</CODE></A> : Define the Prefixes for Local Variable Name.</li> |
| <li> <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_ARGUMENT_PREFIXES"><CODE>JavaScriptCore.CODEASSIST_ARGUMENT_PREFIXES</CODE></A> : Define the Prefixes for Argument Name.</li> |
| <li> <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_FIELD_SUFFIXES"><CODE>JavaScriptCore.CODEASSIST_FIELD_SUFFIXES</CODE></A> : Define the Suffixes for Field Name.</li> |
| <li> <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_STATIC_FIELD_SUFFIXES"><CODE>JavaScriptCore.CODEASSIST_STATIC_FIELD_SUFFIXES</CODE></A> : Define the Suffixes for Static Field Name.</li> |
| <li> <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_LOCAL_SUFFIXES"><CODE>JavaScriptCore.CODEASSIST_LOCAL_SUFFIXES</CODE></A> : Define the Suffixes for Local Variable Name.</li> |
| <li> <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_ARGUMENT_SUFFIXES"><CODE>JavaScriptCore.CODEASSIST_ARGUMENT_SUFFIXES</CODE></A> : Define the Suffixes for Argument Name.</li> |
| </ul> |
| </p> |
| <p> |
| For a complete description of the configurable options, see <code>getDefaultOptions</code>. |
| For programmaticaly change these options, see <code>JavaScriptCore#setOptions()</code>. |
| </p> |
| <p> |
| This class provides static methods and constants only; it is not intended to be |
| instantiated or subclassed by clients. |
| </p> |
| <P> |
| |
| <P> |
| <DL> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#setOptions(java.util.Hashtable)"><CODE>JavaScriptCore.setOptions(java.util.Hashtable)</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#getDefaultOptions()"><CODE>Provisional API: This class/interface is part of an interim API that is still under development and expected to |
| change significantly before reaching stability. It is being made available at this early stage to solicit feedback |
| from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken |
| (repeatedly) as the API evolves.</CODE></A></DL> |
| <HR> |
| |
| <P> |
| |
| <!-- ========== 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>static char[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/NamingConventions.html#removePrefixAndSuffixForArgumentName(org.eclipse.wst.jsdt.core.IJavaScriptProject, char[])">removePrefixAndSuffixForArgumentName</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> javaProject, |
| char[] argumentName)</CODE> |
| |
| <BR> |
| Remove prefix and suffix from an argument name.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/NamingConventions.html#removePrefixAndSuffixForArgumentName(org.eclipse.wst.jsdt.core.IJavaScriptProject, java.lang.String)">removePrefixAndSuffixForArgumentName</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> javaProject, |
| java.lang.String argumentName)</CODE> |
| |
| <BR> |
| Remove prefix and suffix from an argument name.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static char[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/NamingConventions.html#removePrefixAndSuffixForFieldName(org.eclipse.wst.jsdt.core.IJavaScriptProject, char[], int)">removePrefixAndSuffixForFieldName</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> javaProject, |
| char[] fieldName, |
| int modifiers)</CODE> |
| |
| <BR> |
| Remove prefix and suffix from a field name.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/NamingConventions.html#removePrefixAndSuffixForFieldName(org.eclipse.wst.jsdt.core.IJavaScriptProject, java.lang.String, int)">removePrefixAndSuffixForFieldName</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> javaProject, |
| java.lang.String fieldName, |
| int modifiers)</CODE> |
| |
| <BR> |
| Remove prefix and suffix from a field name.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static char[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/NamingConventions.html#removePrefixAndSuffixForLocalVariableName(org.eclipse.wst.jsdt.core.IJavaScriptProject, char[])">removePrefixAndSuffixForLocalVariableName</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> javaProject, |
| char[] localName)</CODE> |
| |
| <BR> |
| Remove prefix and suffix from a local variable name.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/NamingConventions.html#removePrefixAndSuffixForLocalVariableName(org.eclipse.wst.jsdt.core.IJavaScriptProject, java.lang.String)">removePrefixAndSuffixForLocalVariableName</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> javaProject, |
| java.lang.String localName)</CODE> |
| |
| <BR> |
| Remove prefix and suffix from a local variable name.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static char[][]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/NamingConventions.html#suggestArgumentNames(org.eclipse.wst.jsdt.core.IJavaScriptProject, char[], char[], int, char[][])">suggestArgumentNames</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> javaProject, |
| char[] packageName, |
| char[] qualifiedTypeName, |
| int dim, |
| char[][] excludedNames)</CODE> |
| |
| <BR> |
| Suggest names for an argument.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/NamingConventions.html#suggestArgumentNames(org.eclipse.wst.jsdt.core.IJavaScriptProject, java.lang.String, java.lang.String, int, java.lang.String[])">suggestArgumentNames</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> javaProject, |
| java.lang.String packageName, |
| java.lang.String qualifiedTypeName, |
| int dim, |
| java.lang.String[] excludedNames)</CODE> |
| |
| <BR> |
| Suggest names for an argument.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static char[][]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/NamingConventions.html#suggestFieldNames(org.eclipse.wst.jsdt.core.IJavaScriptProject, char[], char[], int, int, char[][])">suggestFieldNames</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> javaProject, |
| char[] packageName, |
| char[] qualifiedTypeName, |
| int dim, |
| int modifiers, |
| char[][] excludedNames)</CODE> |
| |
| <BR> |
| Suggest names for a field.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/NamingConventions.html#suggestFieldNames(org.eclipse.wst.jsdt.core.IJavaScriptProject, java.lang.String, java.lang.String, int, int, java.lang.String[])">suggestFieldNames</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> javaProject, |
| java.lang.String packageName, |
| java.lang.String qualifiedTypeName, |
| int dim, |
| int modifiers, |
| java.lang.String[] excludedNames)</CODE> |
| |
| <BR> |
| Suggest names for a field.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static char[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/NamingConventions.html#suggestGetterName(org.eclipse.wst.jsdt.core.IJavaScriptProject, char[], int, boolean, char[][])">suggestGetterName</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> project, |
| char[] fieldName, |
| int modifiers, |
| boolean isBoolean, |
| char[][] excludedNames)</CODE> |
| |
| <BR> |
| Suggest name for a getter method.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/NamingConventions.html#suggestGetterName(org.eclipse.wst.jsdt.core.IJavaScriptProject, java.lang.String, int, boolean, java.lang.String[])">suggestGetterName</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> project, |
| java.lang.String fieldName, |
| int modifiers, |
| boolean isBoolean, |
| java.lang.String[] excludedNames)</CODE> |
| |
| <BR> |
| Suggest name for a getter method.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static char[][]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/NamingConventions.html#suggestLocalVariableNames(org.eclipse.wst.jsdt.core.IJavaScriptProject, char[], char[], int, char[][])">suggestLocalVariableNames</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> javaProject, |
| char[] packageName, |
| char[] qualifiedTypeName, |
| int dim, |
| char[][] excludedNames)</CODE> |
| |
| <BR> |
| Suggest names for a local variable.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/NamingConventions.html#suggestLocalVariableNames(org.eclipse.wst.jsdt.core.IJavaScriptProject, java.lang.String, java.lang.String, int, java.lang.String[])">suggestLocalVariableNames</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> javaProject, |
| java.lang.String packageName, |
| java.lang.String qualifiedTypeName, |
| int dim, |
| java.lang.String[] excludedNames)</CODE> |
| |
| <BR> |
| Suggest names for a local variable.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static char[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/NamingConventions.html#suggestSetterName(org.eclipse.wst.jsdt.core.IJavaScriptProject, char[], int, boolean, char[][])">suggestSetterName</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> project, |
| char[] fieldName, |
| int modifiers, |
| boolean isBoolean, |
| char[][] excludedNames)</CODE> |
| |
| <BR> |
| Suggest name for a setter method.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/eclipse/wst/jsdt/core/NamingConventions.html#suggestSetterName(org.eclipse.wst.jsdt.core.IJavaScriptProject, java.lang.String, int, boolean, java.lang.String[])">suggestSetterName</A></B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> project, |
| java.lang.String fieldName, |
| int modifiers, |
| boolean isBoolean, |
| java.lang.String[] excludedNames)</CODE> |
| |
| <BR> |
| Suggest name for a setter method.</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, toString, wait, wait, wait</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="removePrefixAndSuffixForArgumentName(org.eclipse.wst.jsdt.core.IJavaScriptProject, char[])"><!-- --></A><H3> |
| removePrefixAndSuffixForArgumentName</H3> |
| <PRE> |
| public static char[] <B>removePrefixAndSuffixForArgumentName</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> javaProject, |
| char[] argumentName)</PRE> |
| <DL> |
| <DD>Remove prefix and suffix from an argument name. |
| <p> |
| If argument name prefix is <code>pre</code> and argument name suffix is <code>suf</code> |
| then for an argument named <code>preArgsuf</code> the result of this method is <code>arg</code>. |
| If there is no prefix or suffix defined in JavaScriptCore options the result is the unchanged |
| name <code>preArgsuf</code>. |
| </p> |
| <p> |
| This method is affected by the following JavaScriptCore options : <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_ARGUMENT_PREFIXES"><CODE>JavaScriptCore.CODEASSIST_ARGUMENT_PREFIXES</CODE></A> and |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_ARGUMENT_SUFFIXES"><CODE>JavaScriptCore.CODEASSIST_ARGUMENT_SUFFIXES</CODE></A>. |
| </p> |
| <p> |
| For a complete description of these configurable options, see <code>getDefaultOptions</code>. |
| For programmaticaly change these options, see <code>JavaScriptCore#setOptions()</code>. |
| </p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>javaProject</CODE> - project which contains the argument.<DD><CODE>argumentName</CODE> - argument's name. |
| <DT><B>Returns:</B><DD>char[] the name without prefix and suffix.<DT><B>See Also:</B><DD><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#setOptions(java.util.Hashtable)"><CODE>JavaScriptCore.setOptions(java.util.Hashtable)</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#getDefaultOptions()"><CODE>JavaScriptCore.getDefaultOptions()</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="removePrefixAndSuffixForArgumentName(org.eclipse.wst.jsdt.core.IJavaScriptProject, java.lang.String)"><!-- --></A><H3> |
| removePrefixAndSuffixForArgumentName</H3> |
| <PRE> |
| public static java.lang.String <B>removePrefixAndSuffixForArgumentName</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> javaProject, |
| java.lang.String argumentName)</PRE> |
| <DL> |
| <DD>Remove prefix and suffix from an argument name. |
| <p> |
| If argument name prefix is <code>pre</code> and argument name suffix is <code>suf</code> |
| then for an argument named <code>preArgsuf</code> the result of this method is <code>arg</code>. |
| If there is no prefix or suffix defined in JavaScriptCore options the result is the unchanged |
| name <code>preArgsuf</code>. |
| </p> |
| <p> |
| This method is affected by the following JavaScriptCore options : <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_ARGUMENT_PREFIXES"><CODE>JavaScriptCore.CODEASSIST_ARGUMENT_PREFIXES</CODE></A> and |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_ARGUMENT_SUFFIXES"><CODE>JavaScriptCore.CODEASSIST_ARGUMENT_SUFFIXES</CODE></A>. |
| </p> |
| <p> |
| For a complete description of these configurable options, see <code>getDefaultOptions</code>. |
| For programmaticaly change these options, see <code>JavaScriptCore#setOptions()</code>. |
| </p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>javaProject</CODE> - project which contains the argument.<DD><CODE>argumentName</CODE> - argument's name. |
| <DT><B>Returns:</B><DD>char[] the name without prefix and suffix.<DT><B>See Also:</B><DD><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#setOptions(java.util.Hashtable)"><CODE>JavaScriptCore.setOptions(java.util.Hashtable)</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#getDefaultOptions()"><CODE>JavaScriptCore.getDefaultOptions()</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="removePrefixAndSuffixForFieldName(org.eclipse.wst.jsdt.core.IJavaScriptProject, char[], int)"><!-- --></A><H3> |
| removePrefixAndSuffixForFieldName</H3> |
| <PRE> |
| public static char[] <B>removePrefixAndSuffixForFieldName</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> javaProject, |
| char[] fieldName, |
| int modifiers)</PRE> |
| <DL> |
| <DD>Remove prefix and suffix from a field name. |
| <p> |
| If field name prefix is <code>pre</code> and field name suffix is <code>suf</code> |
| then for a field named <code>preFieldsuf</code> the result of this method is <code>field</code>. |
| If there is no prefix or suffix defined in JavaScriptCore options the result is the unchanged |
| name <code>preFieldsuf</code>. |
| </p> |
| <p> |
| This method is affected by the following JavaScriptCore options : <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_FIELD_PREFIXES"><CODE>JavaScriptCore.CODEASSIST_FIELD_PREFIXES</CODE></A> } , |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_FIELD_SUFFIXES"><CODE>JavaScriptCore.CODEASSIST_FIELD_SUFFIXES</CODE></A> for instance field and <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_STATIC_FIELD_PREFIXES"><CODE>JavaScriptCore.CODEASSIST_STATIC_FIELD_PREFIXES</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_STATIC_FIELD_SUFFIXES"><CODE>JavaScriptCore.CODEASSIST_STATIC_FIELD_SUFFIXES</CODE></A> for static field. |
| </p> |
| <p> |
| For a complete description of these configurable options, see <code>getDefaultOptions</code>. |
| For programmaticaly change these options, see <code>JavaScriptCore#setOptions()</code>. |
| </p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>javaProject</CODE> - project which contains the field.<DD><CODE>fieldName</CODE> - field's name.<DD><CODE>modifiers</CODE> - field's modifiers as defined by the class |
| <code>Flags</code>. |
| <DT><B>Returns:</B><DD>char[] the name without prefix and suffix.<DT><B>See Also:</B><DD><A HREF="../../../../../org/eclipse/wst/jsdt/core/Flags.html" title="class in org.eclipse.wst.jsdt.core"><CODE>Flags</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#setOptions(java.util.Hashtable)"><CODE>JavaScriptCore.setOptions(java.util.Hashtable)</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#getDefaultOptions()"><CODE>JavaScriptCore.getDefaultOptions()</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="removePrefixAndSuffixForFieldName(org.eclipse.wst.jsdt.core.IJavaScriptProject, java.lang.String, int)"><!-- --></A><H3> |
| removePrefixAndSuffixForFieldName</H3> |
| <PRE> |
| public static java.lang.String <B>removePrefixAndSuffixForFieldName</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> javaProject, |
| java.lang.String fieldName, |
| int modifiers)</PRE> |
| <DL> |
| <DD>Remove prefix and suffix from a field name. |
| <p> |
| If field name prefix is <code>pre</code> and field name suffix is <code>suf</code> |
| then for a field named <code>preFieldsuf</code> the result of this method is <code>field</code>. |
| If there is no prefix or suffix defined in JavaScriptCore options the result is the unchanged |
| name <code>preFieldsuf</code>. |
| </p> |
| <p> |
| This method is affected by the following JavaScriptCore options : <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_FIELD_PREFIXES"><CODE>JavaScriptCore.CODEASSIST_FIELD_PREFIXES</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_FIELD_SUFFIXES"><CODE>JavaScriptCore.CODEASSIST_FIELD_SUFFIXES</CODE></A> for instance field and <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_STATIC_FIELD_PREFIXES"><CODE>JavaScriptCore.CODEASSIST_STATIC_FIELD_PREFIXES</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_STATIC_FIELD_SUFFIXES"><CODE>JavaScriptCore.CODEASSIST_STATIC_FIELD_SUFFIXES</CODE></A> for static field. |
| </p> |
| <p> |
| For a complete description of these configurable options, see <code>getDefaultOptions</code>. |
| For programmaticaly change these options, see <code>JavaScriptCore#setOptions()</code>. |
| </p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>javaProject</CODE> - project which contains the field.<DD><CODE>fieldName</CODE> - field's name.<DD><CODE>modifiers</CODE> - field's modifiers as defined by the class |
| <code>Flags</code>. |
| <DT><B>Returns:</B><DD>char[] the name without prefix and suffix.<DT><B>See Also:</B><DD><A HREF="../../../../../org/eclipse/wst/jsdt/core/Flags.html" title="class in org.eclipse.wst.jsdt.core"><CODE>Flags</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#setOptions(java.util.Hashtable)"><CODE>JavaScriptCore.setOptions(java.util.Hashtable)</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#getDefaultOptions()"><CODE>JavaScriptCore.getDefaultOptions()</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="removePrefixAndSuffixForLocalVariableName(org.eclipse.wst.jsdt.core.IJavaScriptProject, char[])"><!-- --></A><H3> |
| removePrefixAndSuffixForLocalVariableName</H3> |
| <PRE> |
| public static char[] <B>removePrefixAndSuffixForLocalVariableName</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> javaProject, |
| char[] localName)</PRE> |
| <DL> |
| <DD>Remove prefix and suffix from a local variable name. |
| <p> |
| If local variable name prefix is <code>pre</code> and local variable name suffix is <code>suf</code> |
| then for a local variable named <code>preLocalsuf</code> the result of this method is <code>local</code>. |
| If there is no prefix or suffix defined in JavaScriptCore options the result is the unchanged |
| name <code>preLocalsuf</code>. |
| </p> |
| <p> |
| This method is affected by the following JavaScriptCore options : <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_LOCAL_PREFIXES"><CODE>JavaScriptCore.CODEASSIST_LOCAL_PREFIXES</CODE></A> and |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_LOCAL_SUFFIXES"><CODE>JavaScriptCore.CODEASSIST_LOCAL_SUFFIXES</CODE></A>. |
| </p> |
| <p> |
| For a complete description of these configurable options, see <code>getDefaultOptions</code>. |
| For programmaticaly change these options, see <code>JavaScriptCore#setOptions()</code>. |
| </p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>javaProject</CODE> - project which contains the variable.<DD><CODE>localName</CODE> - variable's name. |
| <DT><B>Returns:</B><DD>char[] the name without prefix and suffix.<DT><B>See Also:</B><DD><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#setOptions(java.util.Hashtable)"><CODE>JavaScriptCore.setOptions(java.util.Hashtable)</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#getDefaultOptions()"><CODE>JavaScriptCore.getDefaultOptions()</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="removePrefixAndSuffixForLocalVariableName(org.eclipse.wst.jsdt.core.IJavaScriptProject, java.lang.String)"><!-- --></A><H3> |
| removePrefixAndSuffixForLocalVariableName</H3> |
| <PRE> |
| public static java.lang.String <B>removePrefixAndSuffixForLocalVariableName</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> javaProject, |
| java.lang.String localName)</PRE> |
| <DL> |
| <DD>Remove prefix and suffix from a local variable name. |
| <p> |
| If local variable name prefix is <code>pre</code> and local variable name suffix is <code>suf</code> |
| then for a local variable named <code>preLocalsuf</code> the result of this method is <code>local</code>. |
| If there is no prefix or suffix defined in JavaScriptCore options the result is the unchanged |
| name <code>preLocalsuf</code>. |
| </p> |
| <p> |
| This method is affected by the following JavaScriptCore options : <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_LOCAL_PREFIXES"><CODE>JavaScriptCore.CODEASSIST_LOCAL_PREFIXES</CODE></A> and |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_LOCAL_SUFFIXES"><CODE>JavaScriptCore.CODEASSIST_LOCAL_SUFFIXES</CODE></A>. |
| </p> |
| <p> |
| For a complete description of these configurable options, see <code>getDefaultOptions</code>. |
| For programmaticaly change these options, see <code>JavaScriptCore#setOptions()</code>. |
| </p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>javaProject</CODE> - project which contains the variable.<DD><CODE>localName</CODE> - variable's name. |
| <DT><B>Returns:</B><DD>char[] the name without prefix and suffix.<DT><B>See Also:</B><DD><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#setOptions(java.util.Hashtable)"><CODE>JavaScriptCore.setOptions(java.util.Hashtable)</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#getDefaultOptions()"><CODE>JavaScriptCore.getDefaultOptions()</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="suggestArgumentNames(org.eclipse.wst.jsdt.core.IJavaScriptProject, char[], char[], int, char[][])"><!-- --></A><H3> |
| suggestArgumentNames</H3> |
| <PRE> |
| public static char[][] <B>suggestArgumentNames</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> javaProject, |
| char[] packageName, |
| char[] qualifiedTypeName, |
| int dim, |
| char[][] excludedNames)</PRE> |
| <DL> |
| <DD>Suggest names for an argument. The name is computed from argument's type |
| and possible prefixes or suffixes are added. |
| <p> |
| If the type of the argument is <code>TypeName</code>, the prefix for argument is <code>pre</code> |
| and the suffix for argument is <code>suf</code> then the proposed names are <code>preTypeNamesuf</code> |
| and <code>preNamesuf</code>. If there is no prefix or suffix the proposals are <code>typeName</code> |
| and <code>name</code>. |
| </p> |
| <p> |
| This method is affected by the following JavaScriptCore options : <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_ARGUMENT_PREFIXES"><CODE>JavaScriptCore.CODEASSIST_ARGUMENT_PREFIXES</CODE></A> and |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_ARGUMENT_SUFFIXES"><CODE>JavaScriptCore.CODEASSIST_ARGUMENT_SUFFIXES</CODE></A>. |
| </p> |
| <p> |
| For a complete description of these configurable options, see <code>getDefaultOptions</code>. |
| For programmaticaly change these options, see <code>JavaScriptCore#setOptions()</code>. |
| </p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>javaProject</CODE> - project which contains the argument.<DD><CODE>packageName</CODE> - package of the argument's type.<DD><CODE>qualifiedTypeName</CODE> - argument's type.<DD><CODE>dim</CODE> - argument's dimension (0 if the argument is not an array).<DD><CODE>excludedNames</CODE> - a list of names which cannot be suggested (already used names). |
| Can be <code>null</code> if there is no excluded names. |
| <DT><B>Returns:</B><DD>char[][] an array of names.<DT><B>See Also:</B><DD><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#setOptions(java.util.Hashtable)"><CODE>JavaScriptCore.setOptions(java.util.Hashtable)</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#getDefaultOptions()"><CODE>JavaScriptCore.getDefaultOptions()</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="suggestArgumentNames(org.eclipse.wst.jsdt.core.IJavaScriptProject, java.lang.String, java.lang.String, int, java.lang.String[])"><!-- --></A><H3> |
| suggestArgumentNames</H3> |
| <PRE> |
| public static java.lang.String[] <B>suggestArgumentNames</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> javaProject, |
| java.lang.String packageName, |
| java.lang.String qualifiedTypeName, |
| int dim, |
| java.lang.String[] excludedNames)</PRE> |
| <DL> |
| <DD>Suggest names for an argument. The name is computed from argument's type |
| and possible prefixes or suffixes are added. |
| <p> |
| If the type of the argument is <code>TypeName</code>, the prefix for argument is <code>pre</code> |
| and the suffix for argument is <code>suf</code> then the proposed names are <code>preTypeNamesuf</code> |
| and <code>preNamesuf</code>. If there is no prefix or suffix the proposals are <code>typeName</code> |
| and <code>name</code>. |
| </p> |
| <p> |
| This method is affected by the following JavaScriptCore options : <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_ARGUMENT_PREFIXES"><CODE>JavaScriptCore.CODEASSIST_ARGUMENT_PREFIXES</CODE></A> and |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_ARGUMENT_SUFFIXES"><CODE>JavaScriptCore.CODEASSIST_ARGUMENT_SUFFIXES</CODE></A>. |
| </p> |
| <p> |
| For a complete description of these configurable options, see <code>getDefaultOptions</code>. |
| For programmaticaly change these options, see <code>JavaScriptCore#setOptions()</code>. |
| </p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>javaProject</CODE> - project which contains the argument.<DD><CODE>packageName</CODE> - package of the argument's type.<DD><CODE>qualifiedTypeName</CODE> - argument's type.<DD><CODE>dim</CODE> - argument's dimension (0 if the argument is not an array).<DD><CODE>excludedNames</CODE> - a list of names which cannot be suggested (already used names). |
| Can be <code>null</code> if there is no excluded names. |
| <DT><B>Returns:</B><DD>char[][] an array of names.<DT><B>See Also:</B><DD><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#setOptions(java.util.Hashtable)"><CODE>JavaScriptCore.setOptions(java.util.Hashtable)</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#getDefaultOptions()"><CODE>JavaScriptCore.getDefaultOptions()</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="suggestFieldNames(org.eclipse.wst.jsdt.core.IJavaScriptProject, char[], char[], int, int, char[][])"><!-- --></A><H3> |
| suggestFieldNames</H3> |
| <PRE> |
| public static char[][] <B>suggestFieldNames</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> javaProject, |
| char[] packageName, |
| char[] qualifiedTypeName, |
| int dim, |
| int modifiers, |
| char[][] excludedNames)</PRE> |
| <DL> |
| <DD>Suggest names for a field. The name is computed from field's type |
| and possible prefixes or suffixes are added. |
| <p> |
| If the type of the field is <code>TypeName</code>, the prefix for field is <code>pre</code> |
| and the suffix for field is <code>suf</code> then the proposed names are <code>preTypeNamesuf</code> |
| and <code>preNamesuf</code>. If there is no prefix or suffix the proposals are <code>typeName</code> |
| and <code>name</code>. |
| </p> |
| <p> |
| This method is affected by the following JavaScriptCore options : <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_FIELD_PREFIXES"><CODE>JavaScriptCore.CODEASSIST_FIELD_PREFIXES</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_FIELD_SUFFIXES"><CODE>JavaScriptCore.CODEASSIST_FIELD_SUFFIXES</CODE></A> and for instance field and <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_STATIC_FIELD_PREFIXES"><CODE>JavaScriptCore.CODEASSIST_STATIC_FIELD_PREFIXES</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_STATIC_FIELD_SUFFIXES"><CODE>JavaScriptCore.CODEASSIST_STATIC_FIELD_SUFFIXES</CODE></A> for static field. |
| </p> |
| <p> |
| For a complete description of these configurable options, see <code>getDefaultOptions</code>. |
| For programmaticaly change these options, see <code>JavaScriptCore#setOptions()</code>. |
| </p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>javaProject</CODE> - project which contains the field.<DD><CODE>packageName</CODE> - package of the field's type.<DD><CODE>qualifiedTypeName</CODE> - field's type.<DD><CODE>dim</CODE> - field's dimension (0 if the field is not an array).<DD><CODE>modifiers</CODE> - field's modifiers as defined by the class |
| <code>Flags</code>.<DD><CODE>excludedNames</CODE> - a list of names which cannot be suggested (already used names). |
| Can be <code>null</code> if there is no excluded names. |
| <DT><B>Returns:</B><DD>char[][] an array of names.<DT><B>See Also:</B><DD><A HREF="../../../../../org/eclipse/wst/jsdt/core/Flags.html" title="class in org.eclipse.wst.jsdt.core"><CODE>Flags</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#setOptions(java.util.Hashtable)"><CODE>JavaScriptCore.setOptions(java.util.Hashtable)</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#getDefaultOptions()"><CODE>JavaScriptCore.getDefaultOptions()</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="suggestFieldNames(org.eclipse.wst.jsdt.core.IJavaScriptProject, java.lang.String, java.lang.String, int, int, java.lang.String[])"><!-- --></A><H3> |
| suggestFieldNames</H3> |
| <PRE> |
| public static java.lang.String[] <B>suggestFieldNames</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> javaProject, |
| java.lang.String packageName, |
| java.lang.String qualifiedTypeName, |
| int dim, |
| int modifiers, |
| java.lang.String[] excludedNames)</PRE> |
| <DL> |
| <DD>Suggest names for a field. The name is computed from field's type |
| and possible prefixes or suffixes are added. |
| <p> |
| If the type of the field is <code>TypeName</code>, the prefix for field is <code>pre</code> |
| and the suffix for field is <code>suf</code> then the proposed names are <code>preTypeNamesuf</code> |
| and <code>preNamesuf</code>. If there is no prefix or suffix the proposals are <code>typeName</code> |
| and <code>name</code>. |
| </p> |
| <p> |
| This method is affected by the following JavaScriptCore options : <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_FIELD_PREFIXES"><CODE>JavaScriptCore.CODEASSIST_FIELD_PREFIXES</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_FIELD_SUFFIXES"><CODE>JavaScriptCore.CODEASSIST_FIELD_SUFFIXES</CODE></A> and for instance field and <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_STATIC_FIELD_PREFIXES"><CODE>JavaScriptCore.CODEASSIST_STATIC_FIELD_PREFIXES</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_STATIC_FIELD_SUFFIXES"><CODE>JavaScriptCore.CODEASSIST_STATIC_FIELD_SUFFIXES</CODE></A> for static field. |
| </p> |
| <p> |
| For a complete description of these configurable options, see <code>getDefaultOptions</code>. |
| For programmaticaly change these options, see <code>JavaScriptCore#setOptions()</code>. |
| </p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>javaProject</CODE> - project which contains the field.<DD><CODE>packageName</CODE> - package of the field's type.<DD><CODE>qualifiedTypeName</CODE> - field's type.<DD><CODE>dim</CODE> - field's dimension (0 if the field is not an array).<DD><CODE>modifiers</CODE> - field's modifiers as defined by the class |
| <code>Flags</code>.<DD><CODE>excludedNames</CODE> - a list of names which cannot be suggested (already used names). |
| Can be <code>null</code> if there is no excluded names. |
| <DT><B>Returns:</B><DD>char[][] an array of names.<DT><B>See Also:</B><DD><A HREF="../../../../../org/eclipse/wst/jsdt/core/Flags.html" title="class in org.eclipse.wst.jsdt.core"><CODE>Flags</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#setOptions(java.util.Hashtable)"><CODE>JavaScriptCore.setOptions(java.util.Hashtable)</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#getDefaultOptions()"><CODE>JavaScriptCore.getDefaultOptions()</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="suggestLocalVariableNames(org.eclipse.wst.jsdt.core.IJavaScriptProject, char[], char[], int, char[][])"><!-- --></A><H3> |
| suggestLocalVariableNames</H3> |
| <PRE> |
| public static char[][] <B>suggestLocalVariableNames</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> javaProject, |
| char[] packageName, |
| char[] qualifiedTypeName, |
| int dim, |
| char[][] excludedNames)</PRE> |
| <DL> |
| <DD>Suggest names for a local variable. The name is computed from variable's type |
| and possible prefixes or suffixes are added. |
| <p> |
| If the type of the local variable is <code>TypeName</code>, the prefix for local variable is <code>pre</code> |
| and the suffix for local variable is <code>suf</code> then the proposed names are <code>preTypeNamesuf</code> |
| and <code>preNamesuf</code>. If there is no prefix or suffix the proposals are <code>typeName</code> |
| and <code>name</code>. |
| </p> |
| <p> |
| This method is affected by the following JavaScriptCore options : <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_LOCAL_PREFIXES"><CODE>JavaScriptCore.CODEASSIST_LOCAL_PREFIXES</CODE></A> and |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_LOCAL_SUFFIXES"><CODE>JavaScriptCore.CODEASSIST_LOCAL_SUFFIXES</CODE></A>. |
| </p> |
| <p> |
| For a complete description of these configurable options, see <code>getDefaultOptions</code>. |
| For programmaticaly change these options, see <code>JavaScriptCore#setOptions()</code>. |
| </p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>javaProject</CODE> - project which contains the variable.<DD><CODE>packageName</CODE> - package of the variable's type.<DD><CODE>qualifiedTypeName</CODE> - variable's type.<DD><CODE>dim</CODE> - variable's dimension (0 if the variable is not an array).<DD><CODE>excludedNames</CODE> - a list of names which cannot be suggested (already used names). |
| Can be <code>null</code> if there is no excluded names. |
| <DT><B>Returns:</B><DD>char[][] an array of names.<DT><B>See Also:</B><DD><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#setOptions(java.util.Hashtable)"><CODE>JavaScriptCore.setOptions(java.util.Hashtable)</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#getDefaultOptions()"><CODE>JavaScriptCore.getDefaultOptions()</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="suggestLocalVariableNames(org.eclipse.wst.jsdt.core.IJavaScriptProject, java.lang.String, java.lang.String, int, java.lang.String[])"><!-- --></A><H3> |
| suggestLocalVariableNames</H3> |
| <PRE> |
| public static java.lang.String[] <B>suggestLocalVariableNames</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> javaProject, |
| java.lang.String packageName, |
| java.lang.String qualifiedTypeName, |
| int dim, |
| java.lang.String[] excludedNames)</PRE> |
| <DL> |
| <DD>Suggest names for a local variable. The name is computed from variable's type |
| and possible prefixes or suffixes are added. |
| <p> |
| If the type of the local variable is <code>TypeName</code>, the prefix for local variable is <code>pre</code> |
| and the suffix for local variable is <code>suf</code> then the proposed names are <code>preTypeNamesuf</code> |
| and <code>preNamesuf</code>. If there is no prefix or suffix the proposals are <code>typeName</code> |
| and <code>name</code>. |
| </p> |
| <p> |
| This method is affected by the following JavaScriptCore options : <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_LOCAL_PREFIXES"><CODE>JavaScriptCore.CODEASSIST_LOCAL_PREFIXES</CODE></A> and |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_LOCAL_SUFFIXES"><CODE>JavaScriptCore.CODEASSIST_LOCAL_SUFFIXES</CODE></A>. |
| </p> |
| <p> |
| For a complete description of these configurable options, see <code>getDefaultOptions</code>. |
| For programmaticaly change these options, see <code>JavaScriptCore#setOptions()</code>. |
| </p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>javaProject</CODE> - project which contains the variable.<DD><CODE>packageName</CODE> - package of the variable's type.<DD><CODE>qualifiedTypeName</CODE> - variable's type.<DD><CODE>dim</CODE> - variable's dimension (0 if the variable is not an array).<DD><CODE>excludedNames</CODE> - a list of names which cannot be suggested (already used names). |
| Can be <code>null</code> if there is no excluded names. |
| <DT><B>Returns:</B><DD>char[][] an array of names.<DT><B>See Also:</B><DD><A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#setOptions(java.util.Hashtable)"><CODE>JavaScriptCore.setOptions(java.util.Hashtable)</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#getDefaultOptions()"><CODE>JavaScriptCore.getDefaultOptions()</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="suggestGetterName(org.eclipse.wst.jsdt.core.IJavaScriptProject, char[], int, boolean, char[][])"><!-- --></A><H3> |
| suggestGetterName</H3> |
| <PRE> |
| public static char[] <B>suggestGetterName</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> project, |
| char[] fieldName, |
| int modifiers, |
| boolean isBoolean, |
| char[][] excludedNames)</PRE> |
| <DL> |
| <DD>Suggest name for a getter method. The name is computed from field's name |
| and possible prefixes or suffixes are removed. |
| <p> |
| If the field name is <code>preFieldNamesuf</code> and the prefix for field is <code>pre</code> and |
| the suffix for field is <code>suf</code> then the prosposed name is <code>isFieldName</code> for boolean field or |
| <code>getFieldName</code> for others. If there is no prefix and suffix the proposal is <code>isPreFieldNamesuf</code> |
| for boolean field or <code>getPreFieldNamesuf</code> for others. |
| </p> |
| <p> |
| This method is affected by the following JavaScriptCore options : <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_FIELD_PREFIXES"><CODE>JavaScriptCore.CODEASSIST_FIELD_PREFIXES</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_FIELD_SUFFIXES"><CODE>JavaScriptCore.CODEASSIST_FIELD_SUFFIXES</CODE></A> for instance field and <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_STATIC_FIELD_PREFIXES"><CODE>JavaScriptCore.CODEASSIST_STATIC_FIELD_PREFIXES</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_STATIC_FIELD_SUFFIXES"><CODE>JavaScriptCore.CODEASSIST_STATIC_FIELD_SUFFIXES</CODE></A> for static field. |
| </p> |
| <p> |
| For a complete description of these configurable options, see <code>getDefaultOptions</code>. |
| For programmaticaly change these options, see <code>JavaScriptCore#setOptions()</code>. |
| </p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>project</CODE> - project which contains the field.<DD><CODE>fieldName</CODE> - field's name's.<DD><CODE>modifiers</CODE> - field's modifiers as defined by the class |
| <code>Flags</code>.<DD><CODE>isBoolean</CODE> - <code>true</code> if the field's type is boolean<DD><CODE>excludedNames</CODE> - a list of names which cannot be suggested (already used names). |
| Can be <code>null</code> if there is no excluded names. |
| <DT><B>Returns:</B><DD>char[] a name.<DT><B>See Also:</B><DD><A HREF="../../../../../org/eclipse/wst/jsdt/core/Flags.html" title="class in org.eclipse.wst.jsdt.core"><CODE>Flags</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#setOptions(java.util.Hashtable)"><CODE>JavaScriptCore.setOptions(java.util.Hashtable)</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#getDefaultOptions()"><CODE>JavaScriptCore.getDefaultOptions()</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="suggestGetterName(org.eclipse.wst.jsdt.core.IJavaScriptProject, java.lang.String, int, boolean, java.lang.String[])"><!-- --></A><H3> |
| suggestGetterName</H3> |
| <PRE> |
| public static java.lang.String <B>suggestGetterName</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> project, |
| java.lang.String fieldName, |
| int modifiers, |
| boolean isBoolean, |
| java.lang.String[] excludedNames)</PRE> |
| <DL> |
| <DD>Suggest name for a getter method. The name is computed from field's name |
| and possible prefixes or suffixes are removed. |
| <p> |
| If the field name is <code>preFieldNamesuf</code> and the prefix for field is <code>pre</code> and |
| the suffix for field is <code>suf</code> then the prosposed name is <code>isFieldName</code> for boolean field or |
| <code>getFieldName</code> for others. If there is no prefix and suffix the proposal is <code>isPreFieldNamesuf</code> |
| for boolean field or <code>getPreFieldNamesuf</code> for others. |
| </p> |
| <p> |
| This method is affected by the following JavaScriptCore options : <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_FIELD_PREFIXES"><CODE>JavaScriptCore.CODEASSIST_FIELD_PREFIXES</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_FIELD_SUFFIXES"><CODE>JavaScriptCore.CODEASSIST_FIELD_SUFFIXES</CODE></A> for instance field and <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_STATIC_FIELD_PREFIXES"><CODE>JavaScriptCore.CODEASSIST_STATIC_FIELD_PREFIXES</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_STATIC_FIELD_SUFFIXES"><CODE>JavaScriptCore.CODEASSIST_STATIC_FIELD_SUFFIXES</CODE></A> for static field. |
| </p> |
| <p> |
| For a complete description of these configurable options, see <code>getDefaultOptions</code>. |
| For programmaticaly change these options, see <code>JavaScriptCore#setOptions()</code>. |
| </p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>project</CODE> - project which contains the field.<DD><CODE>fieldName</CODE> - field's name's.<DD><CODE>modifiers</CODE> - field's modifiers as defined by the class |
| <code>Flags</code>.<DD><CODE>isBoolean</CODE> - <code>true</code> if the field's type is boolean<DD><CODE>excludedNames</CODE> - a list of names which cannot be suggested (already used names). |
| Can be <code>null</code> if there is no excluded names. |
| <DT><B>Returns:</B><DD>char[] a name.<DT><B>See Also:</B><DD><A HREF="../../../../../org/eclipse/wst/jsdt/core/Flags.html" title="class in org.eclipse.wst.jsdt.core"><CODE>Flags</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#setOptions(java.util.Hashtable)"><CODE>JavaScriptCore.setOptions(java.util.Hashtable)</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#getDefaultOptions()"><CODE>JavaScriptCore.getDefaultOptions()</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="suggestSetterName(org.eclipse.wst.jsdt.core.IJavaScriptProject, char[], int, boolean, char[][])"><!-- --></A><H3> |
| suggestSetterName</H3> |
| <PRE> |
| public static char[] <B>suggestSetterName</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> project, |
| char[] fieldName, |
| int modifiers, |
| boolean isBoolean, |
| char[][] excludedNames)</PRE> |
| <DL> |
| <DD>Suggest name for a setter method. The name is computed from field's name |
| and possible prefixes or suffixes are removed. |
| <p> |
| If the field name is <code>preFieldNamesuf</code> and the prefix for field is <code>pre</code> and |
| the suffix for field is <code>suf</code> then the proposed name is <code>setFieldName</code>. |
| If there is no prefix and suffix the proposal is <code>setPreFieldNamesuf</code>. |
| </p> |
| <p> |
| This method is affected by the following JavaScriptCore options : <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_FIELD_PREFIXES"><CODE>JavaScriptCore.CODEASSIST_FIELD_PREFIXES</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_FIELD_SUFFIXES"><CODE>JavaScriptCore.CODEASSIST_FIELD_SUFFIXES</CODE></A> for instance field and <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_STATIC_FIELD_PREFIXES"><CODE>JavaScriptCore.CODEASSIST_STATIC_FIELD_PREFIXES</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_STATIC_FIELD_SUFFIXES"><CODE>JavaScriptCore.CODEASSIST_STATIC_FIELD_SUFFIXES</CODE></A> for static field. |
| </p> |
| <p> |
| For a complete description of these configurable options, see <code>getDefaultOptions</code>. |
| For programmaticaly change these options, see <code>JavaScriptCore#setOptions()</code>. |
| </p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>project</CODE> - project which contains the field.<DD><CODE>fieldName</CODE> - field's name's.<DD><CODE>modifiers</CODE> - field's modifiers as defined by the class |
| <code>Flags</code>.<DD><CODE>isBoolean</CODE> - <code>true</code> if the field's type is boolean<DD><CODE>excludedNames</CODE> - a list of names which cannot be suggested (already used names). |
| Can be <code>null</code> if there is no excluded names. |
| <DT><B>Returns:</B><DD>char[] a name.<DT><B>See Also:</B><DD><A HREF="../../../../../org/eclipse/wst/jsdt/core/Flags.html" title="class in org.eclipse.wst.jsdt.core"><CODE>Flags</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#setOptions(java.util.Hashtable)"><CODE>JavaScriptCore.setOptions(java.util.Hashtable)</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#getDefaultOptions()"><CODE>JavaScriptCore.getDefaultOptions()</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="suggestSetterName(org.eclipse.wst.jsdt.core.IJavaScriptProject, java.lang.String, int, boolean, java.lang.String[])"><!-- --></A><H3> |
| suggestSetterName</H3> |
| <PRE> |
| public static java.lang.String <B>suggestSetterName</B>(<A HREF="../../../../../org/eclipse/wst/jsdt/core/IJavaScriptProject.html" title="interface in org.eclipse.wst.jsdt.core">IJavaScriptProject</A> project, |
| java.lang.String fieldName, |
| int modifiers, |
| boolean isBoolean, |
| java.lang.String[] excludedNames)</PRE> |
| <DL> |
| <DD>Suggest name for a setter method. The name is computed from field's name |
| and possible prefixes or suffixes are removed. |
| <p> |
| If the field name is <code>preFieldNamesuf</code> and the prefix for field is <code>pre</code> and |
| the suffix for field is <code>suf</code> then the proposed name is <code>setFieldName</code>. |
| If there is no prefix and suffix the proposal is <code>setPreFieldNamesuf</code>. |
| </p> |
| <p> |
| This method is affected by the following JavaScriptCore options : <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_FIELD_PREFIXES"><CODE>JavaScriptCore.CODEASSIST_FIELD_PREFIXES</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_FIELD_SUFFIXES"><CODE>JavaScriptCore.CODEASSIST_FIELD_SUFFIXES</CODE></A> for instance field and <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_STATIC_FIELD_PREFIXES"><CODE>JavaScriptCore.CODEASSIST_STATIC_FIELD_PREFIXES</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#CODEASSIST_STATIC_FIELD_SUFFIXES"><CODE>JavaScriptCore.CODEASSIST_STATIC_FIELD_SUFFIXES</CODE></A> for static field. |
| </p> |
| <p> |
| For a complete description of these configurable options, see <code>getDefaultOptions</code>. |
| For programmaticaly change these options, see <code>JavaScriptCore#setOptions()</code>. |
| </p> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>project</CODE> - project which contains the field.<DD><CODE>fieldName</CODE> - field's name's.<DD><CODE>modifiers</CODE> - field's modifiers as defined by the class |
| <code>Flags</code>.<DD><CODE>isBoolean</CODE> - <code>true</code> if the field's type is boolean<DD><CODE>excludedNames</CODE> - a list of names which cannot be suggested (already used names). |
| Can be <code>null</code> if there is no excluded names. |
| <DT><B>Returns:</B><DD>char[] a name.<DT><B>See Also:</B><DD><A HREF="../../../../../org/eclipse/wst/jsdt/core/Flags.html" title="class in org.eclipse.wst.jsdt.core"><CODE>Flags</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#setOptions(java.util.Hashtable)"><CODE>JavaScriptCore.setOptions(java.util.Hashtable)</CODE></A>, |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/JavaScriptCore.html#getDefaultOptions()"><CODE>JavaScriptCore.getDefaultOptions()</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/NamingConventions.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/Messages.html" title="class in org.eclipse.wst.jsdt.core"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../org/eclipse/wst/jsdt/core/Signature.html" title="class 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/NamingConventions.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="NamingConventions.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> |