| <!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.6.0_14) on Wed Apr 07 07:46:21 BST 2010 --> |
| <TITLE> |
| AnnotationsCore |
| </TITLE> |
| |
| <META NAME="date" CONTENT="2010-04-07"> |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="AnnotationsCore"; |
| } |
| } |
| </SCRIPT> |
| <NOSCRIPT> |
| </NOSCRIPT> |
| |
| </HEAD> |
| |
| <BODY BGCOLOR="white" onload="windowTitle();"> |
| <HR> |
| |
| |
| <!-- ========= 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/AnnotationsCore.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/jst/ws/annotations/core/AnnotationDefinition.html" title="class in org.eclipse.jst.ws.annotations.core"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationsCorePlugin.html" title="class in org.eclipse.jst.ws.annotations.core"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../index.html?org/eclipse/jst/ws/annotations/core/AnnotationsCore.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="AnnotationsCore.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.jst.ws.annotations.core</FONT> |
| <BR> |
| Class AnnotationsCore</H2> |
| <PRE> |
| java.lang.Object |
| <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><B>org.eclipse.jst.ws.annotations.core.AnnotationsCore</B> |
| </PRE> |
| <HR> |
| <DL> |
| <DT><PRE>public final class <B>AnnotationsCore</B><DT>extends java.lang.Object</DL> |
| </PRE> |
| |
| <P> |
| Utility class for creating annotations and member value pairs. |
| <p> |
| <strong>Provisional API:</strong> This class/interface is part of an interim API that is still under |
| development and expected to change significantly before reaching stability. It is being made available at |
| this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses |
| this API will almost certainly be broken (repeatedly) as the API evolves. |
| </p> |
| <P> |
| |
| <P> |
| <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 org.eclipse.jdt.core.dom.MemberValuePair</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationsCore.html#createArrayMemberValuePair(org.eclipse.jdt.core.dom.AST, java.lang.String, java.lang.Object[])">createArrayMemberValuePair</A></B>(org.eclipse.jdt.core.dom.AST ast, |
| java.lang.String name, |
| java.lang.Object[] values)</CODE> |
| |
| <BR> |
| Creates a new <CODE>MemberValuePair</CODE> with an <CODE>ArrayInitializer</CODE> value.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.eclipse.jdt.core.dom.ArrayInitializer</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationsCore.html#createArrayValueLiteral(org.eclipse.jdt.core.dom.AST, java.lang.Object[])">createArrayValueLiteral</A></B>(org.eclipse.jdt.core.dom.AST ast, |
| java.lang.Object[] values)</CODE> |
| |
| <BR> |
| Creates a new <CODE>ArrayInitializer</CODE>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.eclipse.jdt.core.dom.BooleanLiteral</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationsCore.html#createBooleanLiteral(org.eclipse.jdt.core.dom.AST, boolean)">createBooleanLiteral</A></B>(org.eclipse.jdt.core.dom.AST ast, |
| boolean value)</CODE> |
| |
| <BR> |
| Creates a new <CODE>BooleanLiteral</CODE>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.eclipse.jdt.core.dom.MemberValuePair</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationsCore.html#createBooleanMemberValuePair(org.eclipse.jdt.core.dom.AST, java.lang.String, java.lang.Boolean)">createBooleanMemberValuePair</A></B>(org.eclipse.jdt.core.dom.AST ast, |
| java.lang.String name, |
| java.lang.Boolean value)</CODE> |
| |
| <BR> |
| Creates a new <CODE>MemberValuePair</CODE> with a <CODE>BooleanLiteral</CODE> value.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.eclipse.jdt.core.dom.QualifiedName</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationsCore.html#createEnumLiteral(org.eclipse.jdt.core.dom.AST, java.lang.String, java.lang.Object)">createEnumLiteral</A></B>(org.eclipse.jdt.core.dom.AST ast, |
| java.lang.String className, |
| java.lang.Object value)</CODE> |
| |
| <BR> |
| Creates a new <CODE>QualifiedName</CODE> to represent an <code>enum</code> literal value.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.eclipse.jdt.core.dom.MemberValuePair</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationsCore.html#createEnumMemberValuePair(org.eclipse.jdt.core.dom.AST, java.lang.String, java.lang.String, java.lang.Object)">createEnumMemberValuePair</A></B>(org.eclipse.jdt.core.dom.AST ast, |
| java.lang.String className, |
| java.lang.String name, |
| java.lang.Object value)</CODE> |
| |
| <BR> |
| Creates a new <CODE>MemberValuePair</CODE> with a <CODE>Name</CODE> value.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.eclipse.jdt.core.dom.MarkerAnnotation</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationsCore.html#createMarkerAnnotation(org.eclipse.jdt.core.dom.AST, java.lang.String)">createMarkerAnnotation</A></B>(org.eclipse.jdt.core.dom.AST ast, |
| java.lang.String annotationName)</CODE> |
| |
| <BR> |
| Creates a new <CODE>MarkerAnnotation</CODE>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.eclipse.jdt.core.dom.MemberValuePair</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationsCore.html#createMemberValuePair(org.eclipse.jdt.core.dom.AST, java.lang.String, org.eclipse.jdt.core.dom.Expression)">createMemberValuePair</A></B>(org.eclipse.jdt.core.dom.AST ast, |
| java.lang.String name, |
| org.eclipse.jdt.core.dom.Expression expression)</CODE> |
| |
| <BR> |
| Creates a new <CODE>MemberValuePair</CODE>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.eclipse.jdt.core.dom.NormalAnnotation</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationsCore.html#createNormalAnnotation(org.eclipse.jdt.core.dom.AST, java.lang.String, java.util.List)">createNormalAnnotation</A></B>(org.eclipse.jdt.core.dom.AST ast, |
| java.lang.String annotationName, |
| java.util.List<org.eclipse.jdt.core.dom.MemberValuePair> memberValuePairs)</CODE> |
| |
| <BR> |
| Creates a new <CODE>NormalAnnotation</CODE>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.eclipse.jdt.core.dom.NumberLiteral</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationsCore.html#createNumberLiteral(org.eclipse.jdt.core.dom.AST, java.lang.String)">createNumberLiteral</A></B>(org.eclipse.jdt.core.dom.AST ast, |
| java.lang.String value)</CODE> |
| |
| <BR> |
| Creates a new <CODE>NumberLiteral</CODE>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.eclipse.jdt.core.dom.MemberValuePair</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationsCore.html#createNumberMemberValuePair(org.eclipse.jdt.core.dom.AST, java.lang.String, java.lang.String)">createNumberMemberValuePair</A></B>(org.eclipse.jdt.core.dom.AST ast, |
| java.lang.String name, |
| java.lang.String value)</CODE> |
| |
| <BR> |
| Creates a new <CODE>MemberValuePair</CODE> with a <CODE>NumberLiteral</CODE> value.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.eclipse.jdt.core.dom.SingleMemberAnnotation</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationsCore.html#createSingleMemberAnnotation(org.eclipse.jdt.core.dom.AST, java.lang.String, org.eclipse.jdt.core.dom.Expression)">createSingleMemberAnnotation</A></B>(org.eclipse.jdt.core.dom.AST ast, |
| java.lang.String annotationName, |
| org.eclipse.jdt.core.dom.Expression value)</CODE> |
| |
| <BR> |
| Creates a new <CODE>SingleMemberAnnotation</CODE>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.eclipse.jdt.core.dom.StringLiteral</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationsCore.html#createStringLiteral(org.eclipse.jdt.core.dom.AST, java.lang.String)">createStringLiteral</A></B>(org.eclipse.jdt.core.dom.AST ast, |
| java.lang.String literalValue)</CODE> |
| |
| <BR> |
| Creates a new <CODE>StringLiteral</CODE>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.eclipse.jdt.core.dom.MemberValuePair</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationsCore.html#createStringMemberValuePair(org.eclipse.jdt.core.dom.AST, java.lang.String, java.lang.String)">createStringMemberValuePair</A></B>(org.eclipse.jdt.core.dom.AST ast, |
| java.lang.String name, |
| java.lang.String value)</CODE> |
| |
| <BR> |
| Creates a new <CODE>MemberValuePair</CODE> with a <CODE>StringLiteral</CODE> value.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.eclipse.jdt.core.dom.TypeLiteral</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationsCore.html#createTypeLiteral(org.eclipse.jdt.core.dom.AST, java.lang.Class)">createTypeLiteral</A></B>(org.eclipse.jdt.core.dom.AST ast, |
| java.lang.Class<?> value)</CODE> |
| |
| <BR> |
| Creates a new <CODE>TypeLiteral</CODE>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.eclipse.jdt.core.dom.TypeLiteral</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationsCore.html#createTypeLiteral(org.eclipse.jdt.core.dom.AST, java.lang.Object)">createTypeLiteral</A></B>(org.eclipse.jdt.core.dom.AST ast, |
| java.lang.Object value)</CODE> |
| |
| <BR> |
| Creates a new <CODE>TypeLiteral</CODE>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.eclipse.jdt.core.dom.TypeLiteral</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationsCore.html#createTypeLiteral(org.eclipse.jdt.core.dom.AST, java.lang.String)">createTypeLiteral</A></B>(org.eclipse.jdt.core.dom.AST ast, |
| java.lang.String value)</CODE> |
| |
| <BR> |
| Creates a new <CODE>TypeLiteral</CODE></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static org.eclipse.jdt.core.dom.MemberValuePair</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationsCore.html#createTypeMemberValuePair(org.eclipse.jdt.core.dom.AST, java.lang.String, java.lang.Object)">createTypeMemberValuePair</A></B>(org.eclipse.jdt.core.dom.AST ast, |
| java.lang.String name, |
| java.lang.Object value)</CODE> |
| |
| <BR> |
| Creates a new <CODE>MemberValuePair</CODE> with a <CODE>TypeLiteral</CODE> value.</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>clone, equals, finalize, 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="createNormalAnnotation(org.eclipse.jdt.core.dom.AST, java.lang.String, java.util.List)"><!-- --></A><H3> |
| createNormalAnnotation</H3> |
| <PRE> |
| public static org.eclipse.jdt.core.dom.NormalAnnotation <B>createNormalAnnotation</B>(org.eclipse.jdt.core.dom.AST ast, |
| java.lang.String annotationName, |
| java.util.List<org.eclipse.jdt.core.dom.MemberValuePair> memberValuePairs)</PRE> |
| <DL> |
| <DD>Creates a new <CODE>NormalAnnotation</CODE>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>ast</CODE> - the <CODE>AST</CODE> that will be used to create the annotation.<DD><CODE>annotationName</CODE> - the name of the annotation.<DD><CODE>memberValuePairs</CODE> - a list of <CODE>MemberValuePair</CODE> to add to the normal annotation. |
| <DT><B>Returns:</B><DD>a normal annotation with the given member value pairs.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createSingleMemberAnnotation(org.eclipse.jdt.core.dom.AST, java.lang.String, org.eclipse.jdt.core.dom.Expression)"><!-- --></A><H3> |
| createSingleMemberAnnotation</H3> |
| <PRE> |
| public static org.eclipse.jdt.core.dom.SingleMemberAnnotation <B>createSingleMemberAnnotation</B>(org.eclipse.jdt.core.dom.AST ast, |
| java.lang.String annotationName, |
| org.eclipse.jdt.core.dom.Expression value)</PRE> |
| <DL> |
| <DD>Creates a new <CODE>SingleMemberAnnotation</CODE>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>ast</CODE> - the <CODE>AST</CODE> that will be used to create the annotation.<DD><CODE>annotationName</CODE> - the name of the annotation.<DD><CODE>value</CODE> - the <CODE>Expression</CODE> to set as the single member annotation value. |
| <DT><B>Returns:</B><DD>a single member annotation with the given value.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createMarkerAnnotation(org.eclipse.jdt.core.dom.AST, java.lang.String)"><!-- --></A><H3> |
| createMarkerAnnotation</H3> |
| <PRE> |
| public static org.eclipse.jdt.core.dom.MarkerAnnotation <B>createMarkerAnnotation</B>(org.eclipse.jdt.core.dom.AST ast, |
| java.lang.String annotationName)</PRE> |
| <DL> |
| <DD>Creates a new <CODE>MarkerAnnotation</CODE>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>ast</CODE> - the <CODE>AST</CODE> that will be used to create the annotation.<DD><CODE>annotationName</CODE> - the name of the annotation. |
| <DT><B>Returns:</B><DD>a marker annotation.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createMemberValuePair(org.eclipse.jdt.core.dom.AST, java.lang.String, org.eclipse.jdt.core.dom.Expression)"><!-- --></A><H3> |
| createMemberValuePair</H3> |
| <PRE> |
| public static org.eclipse.jdt.core.dom.MemberValuePair <B>createMemberValuePair</B>(org.eclipse.jdt.core.dom.AST ast, |
| java.lang.String name, |
| org.eclipse.jdt.core.dom.Expression expression)</PRE> |
| <DL> |
| <DD>Creates a new <CODE>MemberValuePair</CODE>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>ast</CODE> - the <CODE>AST</CODE> that will be used to create the member value pair.<DD><CODE>name</CODE> - the <CODE>MemberValuePair</CODE> "name".<DD><CODE>expression</CODE> - the <CODE>Expression</CODE> "value" of the member value pair. |
| <DT><B>Returns:</B><DD>a new member value pair with the given name and value.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createStringMemberValuePair(org.eclipse.jdt.core.dom.AST, java.lang.String, java.lang.String)"><!-- --></A><H3> |
| createStringMemberValuePair</H3> |
| <PRE> |
| public static org.eclipse.jdt.core.dom.MemberValuePair <B>createStringMemberValuePair</B>(org.eclipse.jdt.core.dom.AST ast, |
| java.lang.String name, |
| java.lang.String value)</PRE> |
| <DL> |
| <DD>Creates a new <CODE>MemberValuePair</CODE> with a <CODE>StringLiteral</CODE> value. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>ast</CODE> - the <CODE>AST</CODE> that will be used to create the member value pair.<DD><CODE>name</CODE> - the member value pair "name".<DD><CODE>value</CODE> - the <code>String</code> "value". |
| <DT><B>Returns:</B><DD>a new member value pair with the given name and value.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createBooleanMemberValuePair(org.eclipse.jdt.core.dom.AST, java.lang.String, java.lang.Boolean)"><!-- --></A><H3> |
| createBooleanMemberValuePair</H3> |
| <PRE> |
| public static org.eclipse.jdt.core.dom.MemberValuePair <B>createBooleanMemberValuePair</B>(org.eclipse.jdt.core.dom.AST ast, |
| java.lang.String name, |
| java.lang.Boolean value)</PRE> |
| <DL> |
| <DD>Creates a new <CODE>MemberValuePair</CODE> with a <CODE>BooleanLiteral</CODE> value. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>ast</CODE> - the <CODE>AST</CODE> that will be used to create the member value pair.<DD><CODE>name</CODE> - the member value pair "name".<DD><CODE>value</CODE> - the <code>Boolean</code> "value". |
| <DT><B>Returns:</B><DD>a new member value pair with the given name and value.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createNumberMemberValuePair(org.eclipse.jdt.core.dom.AST, java.lang.String, java.lang.String)"><!-- --></A><H3> |
| createNumberMemberValuePair</H3> |
| <PRE> |
| public static org.eclipse.jdt.core.dom.MemberValuePair <B>createNumberMemberValuePair</B>(org.eclipse.jdt.core.dom.AST ast, |
| java.lang.String name, |
| java.lang.String value)</PRE> |
| <DL> |
| <DD>Creates a new <CODE>MemberValuePair</CODE> with a <CODE>NumberLiteral</CODE> value. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>ast</CODE> - the <CODE>AST</CODE> that will be used to create the member value pair.<DD><CODE>name</CODE> - the member value pair "name".<DD><CODE>value</CODE> - the <code>String</code> "value" representing the number. |
| <DT><B>Returns:</B><DD>a new member value pair with the given name and value.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createEnumMemberValuePair(org.eclipse.jdt.core.dom.AST, java.lang.String, java.lang.String, java.lang.Object)"><!-- --></A><H3> |
| createEnumMemberValuePair</H3> |
| <PRE> |
| public static org.eclipse.jdt.core.dom.MemberValuePair <B>createEnumMemberValuePair</B>(org.eclipse.jdt.core.dom.AST ast, |
| java.lang.String className, |
| java.lang.String name, |
| java.lang.Object value)</PRE> |
| <DL> |
| <DD>Creates a new <CODE>MemberValuePair</CODE> with a <CODE>Name</CODE> value. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>ast</CODE> - the <CODE>AST</CODE> that will be used to create the member value pair.<DD><CODE>className</CODE> - the enclosing class name.<DD><CODE>name</CODE> - the member value pair "name".<DD><CODE>value</CODE> - an object representing the <code>enum</code> value. |
| <DT><B>Returns:</B><DD>a new member value pair with the given name and value.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createTypeMemberValuePair(org.eclipse.jdt.core.dom.AST, java.lang.String, java.lang.Object)"><!-- --></A><H3> |
| createTypeMemberValuePair</H3> |
| <PRE> |
| public static org.eclipse.jdt.core.dom.MemberValuePair <B>createTypeMemberValuePair</B>(org.eclipse.jdt.core.dom.AST ast, |
| java.lang.String name, |
| java.lang.Object value)</PRE> |
| <DL> |
| <DD>Creates a new <CODE>MemberValuePair</CODE> with a <CODE>TypeLiteral</CODE> value. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>ast</CODE> - the <CODE>AST</CODE> that will be used to create the member value pair.<DD><CODE>name</CODE> - the member value pair "name".<DD><CODE>value</CODE> - an object representing the type value. |
| <DT><B>Returns:</B><DD>a new member value pair with the given name and value.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createArrayMemberValuePair(org.eclipse.jdt.core.dom.AST, java.lang.String, java.lang.Object[])"><!-- --></A><H3> |
| createArrayMemberValuePair</H3> |
| <PRE> |
| public static org.eclipse.jdt.core.dom.MemberValuePair <B>createArrayMemberValuePair</B>(org.eclipse.jdt.core.dom.AST ast, |
| java.lang.String name, |
| java.lang.Object[] values)</PRE> |
| <DL> |
| <DD>Creates a new <CODE>MemberValuePair</CODE> with an <CODE>ArrayInitializer</CODE> value. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>ast</CODE> - the <CODE>AST</CODE> that will be used to create the member value pair.<DD><CODE>name</CODE> - the member value pair "name".<DD><CODE>values</CODE> - an array of <code>Object</code> values. Supports <CODE>String</CODE>, <CODE>Boolean</CODE>, <CODE>Class</CODE> values. |
| <DT><B>Returns:</B><DD>a new member value pair with the given name and array of values.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createArrayValueLiteral(org.eclipse.jdt.core.dom.AST, java.lang.Object[])"><!-- --></A><H3> |
| createArrayValueLiteral</H3> |
| <PRE> |
| public static org.eclipse.jdt.core.dom.ArrayInitializer <B>createArrayValueLiteral</B>(org.eclipse.jdt.core.dom.AST ast, |
| java.lang.Object[] values)</PRE> |
| <DL> |
| <DD>Creates a new <CODE>ArrayInitializer</CODE>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>ast</CODE> - the <CODE>AST</CODE> that will be used to create the <CODE>ArrayInitializer</CODE>.<DD><CODE>values</CODE> - an array of <code>Object</code> values. Supports <CODE>String</CODE>, <CODE>Boolean</CODE>, <CODE>Class</CODE> values. |
| <DT><B>Returns:</B><DD>a new srray initializer.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createEnumLiteral(org.eclipse.jdt.core.dom.AST, java.lang.String, java.lang.Object)"><!-- --></A><H3> |
| createEnumLiteral</H3> |
| <PRE> |
| public static org.eclipse.jdt.core.dom.QualifiedName <B>createEnumLiteral</B>(org.eclipse.jdt.core.dom.AST ast, |
| java.lang.String className, |
| java.lang.Object value)</PRE> |
| <DL> |
| <DD>Creates a new <CODE>QualifiedName</CODE> to represent an <code>enum</code> literal value. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>ast</CODE> - the <CODE>AST</CODE> that will be used to create the qualified name.<DD><CODE>className</CODE> - the fully qualified name of the enclosing class.<DD><CODE>value</CODE> - sn object representing the <code>enum</code> value. |
| <DT><B>Returns:</B><DD>a new qualified name.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createTypeLiteral(org.eclipse.jdt.core.dom.AST, java.lang.Object)"><!-- --></A><H3> |
| createTypeLiteral</H3> |
| <PRE> |
| public static org.eclipse.jdt.core.dom.TypeLiteral <B>createTypeLiteral</B>(org.eclipse.jdt.core.dom.AST ast, |
| java.lang.Object value)</PRE> |
| <DL> |
| <DD>Creates a new <CODE>TypeLiteral</CODE>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>ast</CODE> - the <CODE>AST</CODE> that will be used to create the <CODE>TypeLiteral</CODE>.<DD><CODE>value</CODE> - a <code>Class</code> or a <code>String</code> from which to create the type literal. |
| <DT><B>Returns:</B><DD>a new type literal or null it the value is not of type <code>Class</code> or <code>String</code>.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createTypeLiteral(org.eclipse.jdt.core.dom.AST, java.lang.Class)"><!-- --></A><H3> |
| createTypeLiteral</H3> |
| <PRE> |
| public static org.eclipse.jdt.core.dom.TypeLiteral <B>createTypeLiteral</B>(org.eclipse.jdt.core.dom.AST ast, |
| java.lang.Class<?> value)</PRE> |
| <DL> |
| <DD>Creates a new <CODE>TypeLiteral</CODE>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>ast</CODE> - the <CODE>AST</CODE> that will be used to create the type literal.<DD><CODE>value</CODE> - the class value. |
| <DT><B>Returns:</B><DD>a new type literal.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createTypeLiteral(org.eclipse.jdt.core.dom.AST, java.lang.String)"><!-- --></A><H3> |
| createTypeLiteral</H3> |
| <PRE> |
| public static org.eclipse.jdt.core.dom.TypeLiteral <B>createTypeLiteral</B>(org.eclipse.jdt.core.dom.AST ast, |
| java.lang.String value)</PRE> |
| <DL> |
| <DD>Creates a new <CODE>TypeLiteral</CODE> |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>ast</CODE> - the <CODE>AST</CODE> that will be used to create the type literal.<DD><CODE>value</CODE> - the name of the class. |
| <DT><B>Returns:</B><DD>a new type literal.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createStringLiteral(org.eclipse.jdt.core.dom.AST, java.lang.String)"><!-- --></A><H3> |
| createStringLiteral</H3> |
| <PRE> |
| public static org.eclipse.jdt.core.dom.StringLiteral <B>createStringLiteral</B>(org.eclipse.jdt.core.dom.AST ast, |
| java.lang.String literalValue)</PRE> |
| <DL> |
| <DD>Creates a new <CODE>StringLiteral</CODE>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>ast</CODE> - the <CODE>AST</CODE> that will be used to create the string literal.<DD><CODE>literalValue</CODE> - the string value. |
| <DT><B>Returns:</B><DD>a new string literal.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createBooleanLiteral(org.eclipse.jdt.core.dom.AST, boolean)"><!-- --></A><H3> |
| createBooleanLiteral</H3> |
| <PRE> |
| public static org.eclipse.jdt.core.dom.BooleanLiteral <B>createBooleanLiteral</B>(org.eclipse.jdt.core.dom.AST ast, |
| boolean value)</PRE> |
| <DL> |
| <DD>Creates a new <CODE>BooleanLiteral</CODE>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>ast</CODE> - the <CODE>AST</CODE> that will be used to create the boolean literal.<DD><CODE>value</CODE> - the boolean value. |
| <DT><B>Returns:</B><DD>a new boolean literal.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createNumberLiteral(org.eclipse.jdt.core.dom.AST, java.lang.String)"><!-- --></A><H3> |
| createNumberLiteral</H3> |
| <PRE> |
| public static org.eclipse.jdt.core.dom.NumberLiteral <B>createNumberLiteral</B>(org.eclipse.jdt.core.dom.AST ast, |
| java.lang.String value)</PRE> |
| <DL> |
| <DD>Creates a new <CODE>NumberLiteral</CODE>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>ast</CODE> - the <CODE>AST</CODE> that will be used to create the <CODE>NumberLiteral</CODE>.<DD><CODE>value</CODE> - the number value. |
| <DT><B>Returns:</B><DD>a new number literal.</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/AnnotationsCore.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/jst/ws/annotations/core/AnnotationDefinition.html" title="class in org.eclipse.jst.ws.annotations.core"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationsCorePlugin.html" title="class in org.eclipse.jst.ws.annotations.core"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../index.html?org/eclipse/jst/ws/annotations/core/AnnotationsCore.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="AnnotationsCore.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> |