blob: 7b6c932705935e06edb4941aed55b151fa8975c9 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Sun Apr 03 11:19:13 IST 2011 -->
<TITLE>
AnnotationsManager
</TITLE>
<META NAME="date" CONTENT="2011-04-03">
<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="AnnotationsManager";
}
}
</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>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AnnotationsManager.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationsCore.html" title="class in org.eclipse.jst.ws.annotations.core"><B>PREV CLASS</B></A>&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../../index.html?org/eclipse/jst/ws/annotations/core/AnnotationsManager.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="AnnotationsManager.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.eclipse.jst.ws.annotations.core</FONT>
<BR>
Class AnnotationsManager</H2>
<PRE>
java.lang.Object
<IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><B>org.eclipse.jst.ws.annotations.core.AnnotationsManager</B>
</PRE>
<HR>
<DL>
<DT><PRE>public final class <B>AnnotationsManager</B><DT>extends java.lang.Object</DL>
</PRE>
<P>
Manages the annotation categories, definitions, processors and initializers contributed through the
<code>org.eclipse.jst.ws.annotations.core.annotationDefinition</code>,
<code>org.eclipse.jst.ws.annotations.core.annotationCategory</code>,
<code>org.eclipse.jst.ws.annotations.core.annotationInitializer</code> and
<code>org.eclipse.jst.ws.annotations.core.annotationProcessor</code> extension points.
<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&nbsp;<A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/initialization/IAnnotationAttributeInitializer.html" title="interface in org.eclipse.jst.ws.annotations.core.initialization">IAnnotationAttributeInitializer</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationsManager.html#getAnnotationAttributeInitializerForName(org.eclipse.jdt.core.dom.Name)">getAnnotationAttributeInitializerForName</A></B>(org.eclipse.jdt.core.dom.Name&nbsp;name)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the <A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/initialization/IAnnotationAttributeInitializer.html" title="interface in org.eclipse.jst.ws.annotations.core.initialization"><CODE>IAnnotationAttributeInitializer</CODE></A> for the given <CODE>Name</CODE>
or null if none can be found.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.util.List&lt;java.lang.String&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationsManager.html#getAnnotationCategories()">getAnnotationCategories</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a list of the annotation categories.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationDefinition.html" title="class in org.eclipse.jst.ws.annotations.core">AnnotationDefinition</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationsManager.html#getAnnotationDefinitionForClass(java.lang.Class)">getAnnotationDefinitionForClass</A></B>(java.lang.Class&lt;? extends java.lang.annotation.Annotation&gt;&nbsp;annotationClass)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the <A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationDefinition.html" title="class in org.eclipse.jst.ws.annotations.core"><CODE>AnnotationDefinition</CODE></A> for the given <CODE>Annotation</CODE> class
or null if no annotation definition can be found.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationDefinition.html" title="class in org.eclipse.jst.ws.annotations.core">AnnotationDefinition</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationsManager.html#getAnnotationDefinitionForClass(java.lang.String)">getAnnotationDefinitionForClass</A></B>(java.lang.String&nbsp;canonicalName)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the <A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationDefinition.html" title="class in org.eclipse.jst.ws.annotations.core"><CODE>AnnotationDefinition</CODE></A> for the given fully qualified <CODE>Annotation</CODE> class
name or null if no annotation definition can be found.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationDefinition.html" title="class in org.eclipse.jst.ws.annotations.core">AnnotationDefinition</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationsManager.html#getAnnotationDefinitionForType(org.eclipse.jdt.core.IType)">getAnnotationDefinitionForType</A></B>(org.eclipse.jdt.core.IType&nbsp;annotationType)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the <A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationDefinition.html" title="class in org.eclipse.jst.ws.annotations.core"><CODE>AnnotationDefinition</CODE></A> for the given <CODE>IType</CODE>
or null if no annotation definition can be found.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.util.Map&lt;java.lang.String,java.util.List&lt;org.eclipse.core.runtime.IConfigurationElement&gt;&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationsManager.html#getAnnotationProcessorsCache()">getAnnotationProcessorsCache</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.util.List&lt;<A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationDefinition.html" title="class in org.eclipse.jst.ws.annotations.core">AnnotationDefinition</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationsManager.html#getAnnotations()">getAnnotations</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a list of <A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationDefinition.html" title="class in org.eclipse.jst.ws.annotations.core"><CODE>AnnotationDefinition</CODE></A> constructed from contributions to the
<code>org.eclipse.jst.ws.annotations.core.annotationDefinition</code> extension point.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.util.List&lt;java.lang.Class&lt;? extends java.lang.annotation.Annotation&gt;&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationsManager.html#getAnnotations(org.eclipse.jdt.core.IJavaElement)">getAnnotations</A></B>(org.eclipse.jdt.core.IJavaElement&nbsp;javaElement)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>As of 1.1 replaced by <A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationsManager.html#getAnnotationTypes(org.eclipse.jdt.core.IJavaElement)"><CODE>getAnnotationTypes(IJavaElement)</CODE></A></I></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.util.List&lt;<A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationDefinition.html" title="class in org.eclipse.jst.ws.annotations.core">AnnotationDefinition</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationsManager.html#getAnnotationsByCategory(java.lang.String)">getAnnotationsByCategory</A></B>(java.lang.String&nbsp;categoryName)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a list of all the <A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationDefinition.html" title="class in org.eclipse.jst.ws.annotations.core"><CODE>AnnotationDefinition</CODE></A> with the given annotation category name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.util.List&lt;org.eclipse.jdt.core.IType&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationsManager.html#getAnnotationTypes(org.eclipse.jdt.core.IJavaElement)">getAnnotationTypes</A></B>(org.eclipse.jdt.core.IJavaElement&nbsp;javaElement)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a list of all the contributed annotations that target the given <CODE>IJavaElement</CODE>.</TD>
</TR>
</TABLE>
&nbsp;<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>
&nbsp;
<P>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="getAnnotations()"><!-- --></A><H3>
getAnnotations</H3>
<PRE>
public static java.util.List&lt;<A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationDefinition.html" title="class in org.eclipse.jst.ws.annotations.core">AnnotationDefinition</A>&gt; <B>getAnnotations</B>()</PRE>
<DL>
<DD>Returns a list of <A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationDefinition.html" title="class in org.eclipse.jst.ws.annotations.core"><CODE>AnnotationDefinition</CODE></A> constructed from contributions to the
<code>org.eclipse.jst.ws.annotations.core.annotationDefinition</code> extension point.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>a list of annotation definitions.</DL>
</DD>
</DL>
<HR>
<A NAME="getAnnotationTypes(org.eclipse.jdt.core.IJavaElement)"><!-- --></A><H3>
getAnnotationTypes</H3>
<PRE>
public static java.util.List&lt;org.eclipse.jdt.core.IType&gt; <B>getAnnotationTypes</B>(org.eclipse.jdt.core.IJavaElement&nbsp;javaElement)</PRE>
<DL>
<DD>Returns a list of all the contributed annotations that target the given <CODE>IJavaElement</CODE>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>javaElement</CODE> - one of
<li>org.eclipse.jdt.core.IPackageDeclaration</li>
<li>org.eclipse.jdt.core.IType</li>
<li>org.eclipse.jdt.core.IField</li>
<li>org.eclipse.jdt.core.IMethod</li>
<li>org.eclipse.jdt.core.ILocalVariable</li>
<DT><B>Returns:</B><DD>a list of types which represent annotation types.<DT><B>Since:</B></DT>
<DD>1.1</DD>
</DL>
</DD>
</DL>
<HR>
<A NAME="getAnnotations(org.eclipse.jdt.core.IJavaElement)"><!-- --></A><H3>
getAnnotations</H3>
<PRE>
<FONT SIZE="-1">@Deprecated
</FONT>public static java.util.List&lt;java.lang.Class&lt;? extends java.lang.annotation.Annotation&gt;&gt; <B>getAnnotations</B>(org.eclipse.jdt.core.IJavaElement&nbsp;javaElement)</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<I>As of 1.1 replaced by <A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationsManager.html#getAnnotationTypes(org.eclipse.jdt.core.IJavaElement)"><CODE>getAnnotationTypes(IJavaElement)</CODE></A></I>
<P>
<DD>Returns a list of all the contributed <CODE>Annotation</CODE> that target the given java element type.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>javaElement</CODE> - one of
<li>org.eclipse.jdt.core.IPackageDeclaration</li>
<li>org.eclipse.jdt.core.IType</li>
<li>org.eclipse.jdt.core.IField</li>
<li>org.eclipse.jdt.core.IMethod</li>
<li>org.eclipse.jdt.core.ILocalVariable</li>
<DT><B>Returns:</B><DD>a list of annotations.</DL>
</DD>
</DL>
<HR>
<A NAME="getAnnotationDefinitionForClass(java.lang.Class)"><!-- --></A><H3>
getAnnotationDefinitionForClass</H3>
<PRE>
public static <A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationDefinition.html" title="class in org.eclipse.jst.ws.annotations.core">AnnotationDefinition</A> <B>getAnnotationDefinitionForClass</B>(java.lang.Class&lt;? extends java.lang.annotation.Annotation&gt;&nbsp;annotationClass)</PRE>
<DL>
<DD>Returns the <A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationDefinition.html" title="class in org.eclipse.jst.ws.annotations.core"><CODE>AnnotationDefinition</CODE></A> for the given <CODE>Annotation</CODE> class
or null if no annotation definition can be found.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>annotationClass</CODE> - the <code>java.lang.annotation.Annotation</code> class.
<DT><B>Returns:</B><DD>the annotation definition for the <code>java.lang.annotation.Annotation</code> class.</DL>
</DD>
</DL>
<HR>
<A NAME="getAnnotationDefinitionForClass(java.lang.String)"><!-- --></A><H3>
getAnnotationDefinitionForClass</H3>
<PRE>
public static <A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationDefinition.html" title="class in org.eclipse.jst.ws.annotations.core">AnnotationDefinition</A> <B>getAnnotationDefinitionForClass</B>(java.lang.String&nbsp;canonicalName)</PRE>
<DL>
<DD>Returns the <A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationDefinition.html" title="class in org.eclipse.jst.ws.annotations.core"><CODE>AnnotationDefinition</CODE></A> for the given fully qualified <CODE>Annotation</CODE> class
name or null if no annotation definition can be found.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>canonicalName</CODE> - the fully qualified name of the <code>java.lang.annotation.Annotation</code> class.
<DT><B>Returns:</B><DD>the annotation definition for the fully qualified <code>java.lang.annotation.Annotation</code> class name.</DL>
</DD>
</DL>
<HR>
<A NAME="getAnnotationDefinitionForType(org.eclipse.jdt.core.IType)"><!-- --></A><H3>
getAnnotationDefinitionForType</H3>
<PRE>
public static <A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationDefinition.html" title="class in org.eclipse.jst.ws.annotations.core">AnnotationDefinition</A> <B>getAnnotationDefinitionForType</B>(org.eclipse.jdt.core.IType&nbsp;annotationType)</PRE>
<DL>
<DD>Returns the <A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationDefinition.html" title="class in org.eclipse.jst.ws.annotations.core"><CODE>AnnotationDefinition</CODE></A> for the given <CODE>IType</CODE>
or null if no annotation definition can be found.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>annotationType</CODE> - an <code>org.eclipse.jdt.core.IType</code> which represents an annotation type.
<DT><B>Returns:</B><DD>the annotation definition for the <code>org.eclipse.jdt.core.IType</code>.<DT><B>Since:</B></DT>
<DD>1.1</DD>
</DL>
</DD>
</DL>
<HR>
<A NAME="getAnnotationAttributeInitializerForName(org.eclipse.jdt.core.dom.Name)"><!-- --></A><H3>
getAnnotationAttributeInitializerForName</H3>
<PRE>
public static <A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/initialization/IAnnotationAttributeInitializer.html" title="interface in org.eclipse.jst.ws.annotations.core.initialization">IAnnotationAttributeInitializer</A> <B>getAnnotationAttributeInitializerForName</B>(org.eclipse.jdt.core.dom.Name&nbsp;name)</PRE>
<DL>
<DD>Returns the <A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/initialization/IAnnotationAttributeInitializer.html" title="interface in org.eclipse.jst.ws.annotations.core.initialization"><CODE>IAnnotationAttributeInitializer</CODE></A> for the given <CODE>Name</CODE>
or null if none can be found.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - a <CODE>SimpleName</CODE> or <CODE>QualifiedName</CODE> for the annotation to search for.
<DT><B>Returns:</B><DD>an <code>IAnnotationAttributeInitializer</code> for the given name.</DL>
</DD>
</DL>
<HR>
<A NAME="getAnnotationsByCategory(java.lang.String)"><!-- --></A><H3>
getAnnotationsByCategory</H3>
<PRE>
public static java.util.List&lt;<A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationDefinition.html" title="class in org.eclipse.jst.ws.annotations.core">AnnotationDefinition</A>&gt; <B>getAnnotationsByCategory</B>(java.lang.String&nbsp;categoryName)</PRE>
<DL>
<DD>Returns a list of all the <A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationDefinition.html" title="class in org.eclipse.jst.ws.annotations.core"><CODE>AnnotationDefinition</CODE></A> with the given annotation category name.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>categoryName</CODE> - the annotation category name.
<DT><B>Returns:</B><DD>a list of annotation definitions.</DL>
</DD>
</DL>
<HR>
<A NAME="getAnnotationCategories()"><!-- --></A><H3>
getAnnotationCategories</H3>
<PRE>
public static java.util.List&lt;java.lang.String&gt; <B>getAnnotationCategories</B>()</PRE>
<DL>
<DD>Returns a list of the annotation categories.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>a list of annotation categories.</DL>
</DD>
</DL>
<HR>
<A NAME="getAnnotationProcessorsCache()"><!-- --></A><H3>
getAnnotationProcessorsCache</H3>
<PRE>
public static java.util.Map&lt;java.lang.String,java.util.List&lt;org.eclipse.core.runtime.IConfigurationElement&gt;&gt; <B>getAnnotationProcessorsCache</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AnnotationsManager.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../../org/eclipse/jst/ws/annotations/core/AnnotationsCore.html" title="class in org.eclipse.jst.ws.annotations.core"><B>PREV CLASS</B></A>&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../../index.html?org/eclipse/jst/ws/annotations/core/AnnotationsManager.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="AnnotationsManager.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>