1*b04680f1SMatt Gilbride<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2*b04680f1SMatt Gilbride<!--NewPage--> 3*b04680f1SMatt Gilbride<HTML> 4*b04680f1SMatt Gilbride<HEAD> 5*b04680f1SMatt Gilbride<!-- Generated by javadoc (build 1.5.0_16) on Tue Feb 03 09:28:21 PST 2009 --> 6*b04680f1SMatt Gilbride<TITLE> 7*b04680f1SMatt GilbrideParametersAreNonnullByDefault 8*b04680f1SMatt Gilbride</TITLE> 9*b04680f1SMatt Gilbride 10*b04680f1SMatt Gilbride<META NAME="keywords" CONTENT="javax.annotation.ParametersAreNonnullByDefault class"> 11*b04680f1SMatt Gilbride 12*b04680f1SMatt Gilbride<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style"> 13*b04680f1SMatt Gilbride 14*b04680f1SMatt Gilbride<SCRIPT type="text/javascript"> 15*b04680f1SMatt Gilbridefunction windowTitle() 16*b04680f1SMatt Gilbride{ 17*b04680f1SMatt Gilbride parent.document.title="ParametersAreNonnullByDefault"; 18*b04680f1SMatt Gilbride} 19*b04680f1SMatt Gilbride</SCRIPT> 20*b04680f1SMatt Gilbride<NOSCRIPT> 21*b04680f1SMatt Gilbride</NOSCRIPT> 22*b04680f1SMatt Gilbride 23*b04680f1SMatt Gilbride</HEAD> 24*b04680f1SMatt Gilbride 25*b04680f1SMatt Gilbride<BODY BGCOLOR="white" onload="windowTitle();"> 26*b04680f1SMatt Gilbride 27*b04680f1SMatt Gilbride 28*b04680f1SMatt Gilbride<!-- ========= START OF TOP NAVBAR ======= --> 29*b04680f1SMatt Gilbride<A NAME="navbar_top"><!-- --></A> 30*b04680f1SMatt Gilbride<A HREF="#skip-navbar_top" title="Skip navigation links"></A> 31*b04680f1SMatt Gilbride<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 32*b04680f1SMatt Gilbride<TR> 33*b04680f1SMatt Gilbride<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 34*b04680f1SMatt Gilbride<A NAME="navbar_top_firstrow"><!-- --></A> 35*b04680f1SMatt Gilbride<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 36*b04680f1SMatt Gilbride <TR ALIGN="center" VALIGN="top"> 37*b04680f1SMatt Gilbride <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 38*b04680f1SMatt Gilbride <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 39*b04680f1SMatt Gilbride <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 40*b04680f1SMatt Gilbride <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 41*b04680f1SMatt Gilbride <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 42*b04680f1SMatt Gilbride <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 43*b04680f1SMatt Gilbride <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 44*b04680f1SMatt Gilbride </TR> 45*b04680f1SMatt Gilbride</TABLE> 46*b04680f1SMatt Gilbride</TD> 47*b04680f1SMatt Gilbride<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 48*b04680f1SMatt Gilbride</EM> 49*b04680f1SMatt Gilbride</TD> 50*b04680f1SMatt Gilbride</TR> 51*b04680f1SMatt Gilbride 52*b04680f1SMatt Gilbride<TR> 53*b04680f1SMatt Gilbride<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 54*b04680f1SMatt Gilbride <A HREF="../../javax/annotation/OverridingMethodsMustInvokeSuper.html" title="annotation in javax.annotation"><B>PREV CLASS</B></A> 55*b04680f1SMatt Gilbride <A HREF="../../javax/annotation/ParametersAreNullableByDefault.html" title="annotation in javax.annotation"><B>NEXT CLASS</B></A></FONT></TD> 56*b04680f1SMatt Gilbride<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 57*b04680f1SMatt Gilbride <A HREF="../../index.html?javax/annotation/ParametersAreNonnullByDefault.html" target="_top"><B>FRAMES</B></A> 58*b04680f1SMatt Gilbride <A HREF="ParametersAreNonnullByDefault.html" target="_top"><B>NO FRAMES</B></A> 59*b04680f1SMatt Gilbride <SCRIPT type="text/javascript"> 60*b04680f1SMatt Gilbride <!-- 61*b04680f1SMatt Gilbride if(window==top) { 62*b04680f1SMatt Gilbride document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>'); 63*b04680f1SMatt Gilbride } 64*b04680f1SMatt Gilbride //--> 65*b04680f1SMatt Gilbride</SCRIPT> 66*b04680f1SMatt Gilbride<NOSCRIPT> 67*b04680f1SMatt Gilbride <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A> 68*b04680f1SMatt Gilbride</NOSCRIPT> 69*b04680f1SMatt Gilbride 70*b04680f1SMatt Gilbride 71*b04680f1SMatt Gilbride</FONT></TD> 72*b04680f1SMatt Gilbride</TR> 73*b04680f1SMatt Gilbride<TR> 74*b04680f1SMatt Gilbride<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 75*b04680f1SMatt Gilbride SUMMARY: REQUIRED | OPTIONAL</FONT></TD> 76*b04680f1SMatt Gilbride<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 77*b04680f1SMatt GilbrideDETAIL: ELEMENT</FONT></TD> 78*b04680f1SMatt Gilbride</TR> 79*b04680f1SMatt Gilbride</TABLE> 80*b04680f1SMatt Gilbride<A NAME="skip-navbar_top"></A> 81*b04680f1SMatt Gilbride<!-- ========= END OF TOP NAVBAR ========= --> 82*b04680f1SMatt Gilbride 83*b04680f1SMatt Gilbride<HR> 84*b04680f1SMatt Gilbride<!-- ======== START OF CLASS DATA ======== --> 85*b04680f1SMatt Gilbride<H2> 86*b04680f1SMatt Gilbride<FONT SIZE="-1"> 87*b04680f1SMatt Gilbridejavax.annotation</FONT> 88*b04680f1SMatt Gilbride<BR> 89*b04680f1SMatt GilbrideAnnotation Type ParametersAreNonnullByDefault</H2> 90*b04680f1SMatt Gilbride<HR> 91*b04680f1SMatt Gilbride<DL> 92*b04680f1SMatt Gilbride<DT><PRE><FONT SIZE="-1">@Documented 93*b04680f1SMatt Gilbride<A HREF="../../javax/annotation/Nonnull.html" title="annotation in javax.annotation">@Nonnull</A> 94*b04680f1SMatt Gilbride<A HREF="../../javax/annotation/meta/TypeQualifierDefault.html" title="annotation in javax.annotation.meta">@TypeQualifierDefault</A>(<A HREF="../../javax/annotation/meta/TypeQualifierDefault.html#value()">value</A>=PARAMETER) 95*b04680f1SMatt Gilbride@Retention(value=RUNTIME) 96*b04680f1SMatt Gilbride</FONT>public @interface <B>ParametersAreNonnullByDefault</B></DL> 97*b04680f1SMatt Gilbride</PRE> 98*b04680f1SMatt Gilbride 99*b04680f1SMatt Gilbride<P> 100*b04680f1SMatt GilbrideThis annotation can be applied to a package, class or method to indicate that 101*b04680f1SMatt Gilbride the method parameters in that element are nonnull by default unless there is: 102*b04680f1SMatt Gilbride <ul> 103*b04680f1SMatt Gilbride <li>An explicit nullness annotation 104*b04680f1SMatt Gilbride <li>The method overrides a method in a superclass (in which case the 105*b04680f1SMatt Gilbride annotation of the corresponding parameter in the superclass applies) 106*b04680f1SMatt Gilbride <li> there is a default parameter annotation applied to a more tightly nested 107*b04680f1SMatt Gilbride element. 108*b04680f1SMatt Gilbride </ul> 109*b04680f1SMatt Gilbride<P> 110*b04680f1SMatt Gilbride 111*b04680f1SMatt Gilbride<P> 112*b04680f1SMatt Gilbride 113*b04680f1SMatt Gilbride<P> 114*b04680f1SMatt Gilbride 115*b04680f1SMatt Gilbride<P> 116*b04680f1SMatt Gilbride<!-- ========= END OF CLASS DATA ========= --> 117*b04680f1SMatt Gilbride<HR> 118*b04680f1SMatt Gilbride 119*b04680f1SMatt Gilbride 120*b04680f1SMatt Gilbride<!-- ======= START OF BOTTOM NAVBAR ====== --> 121*b04680f1SMatt Gilbride<A NAME="navbar_bottom"><!-- --></A> 122*b04680f1SMatt Gilbride<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 123*b04680f1SMatt Gilbride<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 124*b04680f1SMatt Gilbride<TR> 125*b04680f1SMatt Gilbride<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 126*b04680f1SMatt Gilbride<A NAME="navbar_bottom_firstrow"><!-- --></A> 127*b04680f1SMatt Gilbride<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 128*b04680f1SMatt Gilbride <TR ALIGN="center" VALIGN="top"> 129*b04680f1SMatt Gilbride <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 130*b04680f1SMatt Gilbride <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 131*b04680f1SMatt Gilbride <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 132*b04680f1SMatt Gilbride <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 133*b04680f1SMatt Gilbride <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 134*b04680f1SMatt Gilbride <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 135*b04680f1SMatt Gilbride <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 136*b04680f1SMatt Gilbride </TR> 137*b04680f1SMatt Gilbride</TABLE> 138*b04680f1SMatt Gilbride</TD> 139*b04680f1SMatt Gilbride<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 140*b04680f1SMatt Gilbride</EM> 141*b04680f1SMatt Gilbride</TD> 142*b04680f1SMatt Gilbride</TR> 143*b04680f1SMatt Gilbride 144*b04680f1SMatt Gilbride<TR> 145*b04680f1SMatt Gilbride<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 146*b04680f1SMatt Gilbride <A HREF="../../javax/annotation/OverridingMethodsMustInvokeSuper.html" title="annotation in javax.annotation"><B>PREV CLASS</B></A> 147*b04680f1SMatt Gilbride <A HREF="../../javax/annotation/ParametersAreNullableByDefault.html" title="annotation in javax.annotation"><B>NEXT CLASS</B></A></FONT></TD> 148*b04680f1SMatt Gilbride<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 149*b04680f1SMatt Gilbride <A HREF="../../index.html?javax/annotation/ParametersAreNonnullByDefault.html" target="_top"><B>FRAMES</B></A> 150*b04680f1SMatt Gilbride <A HREF="ParametersAreNonnullByDefault.html" target="_top"><B>NO FRAMES</B></A> 151*b04680f1SMatt Gilbride <SCRIPT type="text/javascript"> 152*b04680f1SMatt Gilbride <!-- 153*b04680f1SMatt Gilbride if(window==top) { 154*b04680f1SMatt Gilbride document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>'); 155*b04680f1SMatt Gilbride } 156*b04680f1SMatt Gilbride //--> 157*b04680f1SMatt Gilbride</SCRIPT> 158*b04680f1SMatt Gilbride<NOSCRIPT> 159*b04680f1SMatt Gilbride <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A> 160*b04680f1SMatt Gilbride</NOSCRIPT> 161*b04680f1SMatt Gilbride 162*b04680f1SMatt Gilbride 163*b04680f1SMatt Gilbride</FONT></TD> 164*b04680f1SMatt Gilbride</TR> 165*b04680f1SMatt Gilbride<TR> 166*b04680f1SMatt Gilbride<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 167*b04680f1SMatt Gilbride SUMMARY: REQUIRED | OPTIONAL</FONT></TD> 168*b04680f1SMatt Gilbride<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 169*b04680f1SMatt GilbrideDETAIL: ELEMENT</FONT></TD> 170*b04680f1SMatt Gilbride</TR> 171*b04680f1SMatt Gilbride</TABLE> 172*b04680f1SMatt Gilbride<A NAME="skip-navbar_bottom"></A> 173*b04680f1SMatt Gilbride<!-- ======== END OF BOTTOM NAVBAR ======= --> 174*b04680f1SMatt Gilbride 175*b04680f1SMatt Gilbride<HR> 176*b04680f1SMatt Gilbride 177*b04680f1SMatt Gilbride</BODY> 178*b04680f1SMatt Gilbride</HTML> 179