1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2 <!--NewPage--> 3 <HTML> 4 <HEAD> 5 <!-- Generated by javadoc (build 1.6.0_26) on Tue Jan 10 12:29:36 EST 2012 --> 6 <TITLE> 7 MethodId (dexmaker) 8 </TITLE> 9 10 <META NAME="date" CONTENT="2012-01-10"> 11 12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> 13 14 <SCRIPT type="text/javascript"> 15 function windowTitle() 16 { 17 if (location.href.indexOf('is-external=true') == -1) { 18 parent.document.title="MethodId (dexmaker)"; 19 } 20 } 21 </SCRIPT> 22 <NOSCRIPT> 23 </NOSCRIPT> 24 25 </HEAD> 26 27 <BODY BGCOLOR="white" onload="windowTitle();"> 28 <HR> 29 30 31 <!-- ========= START OF TOP NAVBAR ======= --> 32 <A NAME="navbar_top"><!-- --></A> 33 <A HREF="#skip-navbar_top" title="Skip navigation links"></A> 34 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 35 <TR> 36 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 37 <A NAME="navbar_top_firstrow"><!-- --></A> 38 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 39 <TR ALIGN="center" VALIGN="top"> 40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 42 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 47 </TR> 48 </TABLE> 49 </TD> 50 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 51 </EM> 52 </TD> 53 </TR> 54 55 <TR> 56 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 57 <A HREF="../../../com/google/dexmaker/Local.html" title="class in com.google.dexmaker"><B>PREV CLASS</B></A> 58 <A HREF="../../../com/google/dexmaker/TypeId.html" title="class in com.google.dexmaker"><B>NEXT CLASS</B></A></FONT></TD> 59 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 60 <A HREF="../../../index.html?com/google/dexmaker/MethodId.html" target="_top"><B>FRAMES</B></A> 61 <A HREF="MethodId.html" target="_top"><B>NO FRAMES</B></A> 62 <SCRIPT type="text/javascript"> 63 <!-- 64 if(window==top) { 65 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); 66 } 67 //--> 68 </SCRIPT> 69 <NOSCRIPT> 70 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> 71 </NOSCRIPT> 72 73 74 </FONT></TD> 75 </TR> 76 <TR> 77 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 78 SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> 79 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 80 DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> 81 </TR> 82 </TABLE> 83 <A NAME="skip-navbar_top"></A> 84 <!-- ========= END OF TOP NAVBAR ========= --> 85 86 <HR> 87 <!-- ======== START OF CLASS DATA ======== --> 88 <H2> 89 <FONT SIZE="-1"> 90 com.google.dexmaker</FONT> 91 <BR> 92 Class MethodId<D,R></H2> 93 <PRE> 94 <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> 95 <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.google.dexmaker.MethodId<D,R></B> 96 </PRE> 97 <DL> 98 <DT><DT><B>Type Parameters:</B><DD><CODE>D</CODE> - the type declaring this field<DD><CODE>R</CODE> - the return type of this method</DL> 99 <HR> 100 <DL> 101 <DT><PRE>public final class <B>MethodId<D,R></B><DT>extends <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL> 102 </PRE> 103 104 <P> 105 Identifies a method or constructor. 106 <P> 107 108 <P> 109 <HR> 110 111 <P> 112 113 <!-- ========== METHOD SUMMARY =========== --> 114 115 <A NAME="method_summary"><!-- --></A> 116 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 117 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 118 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 119 <B>Method Summary</B></FONT></TH> 120 </TR> 121 <TR BGCOLOR="white" CLASS="TableRowColor"> 122 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 123 <CODE> boolean</CODE></FONT></TD> 124 <TD><CODE><B><A HREF="../../../com/google/dexmaker/MethodId.html#equals(java.lang.Object)">equals</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> o)</CODE> 125 126 <BR> 127 </TD> 128 </TR> 129 <TR BGCOLOR="white" CLASS="TableRowColor"> 130 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 131 <CODE> <A HREF="../../../com/google/dexmaker/TypeId.html" title="class in com.google.dexmaker">TypeId</A><<A HREF="../../../com/google/dexmaker/MethodId.html" title="type parameter in MethodId">D</A>></CODE></FONT></TD> 132 <TD><CODE><B><A HREF="../../../com/google/dexmaker/MethodId.html#getDeclaringType()">getDeclaringType</A></B>()</CODE> 133 134 <BR> 135 </TD> 136 </TR> 137 <TR BGCOLOR="white" CLASS="TableRowColor"> 138 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 139 <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> 140 <TD><CODE><B><A HREF="../../../com/google/dexmaker/MethodId.html#getName()">getName</A></B>()</CODE> 141 142 <BR> 143 Returns the method's name.</TD> 144 </TR> 145 <TR BGCOLOR="white" CLASS="TableRowColor"> 146 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 147 <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../com/google/dexmaker/TypeId.html" title="class in com.google.dexmaker">TypeId</A><?>></CODE></FONT></TD> 148 <TD><CODE><B><A HREF="../../../com/google/dexmaker/MethodId.html#getParameters()">getParameters</A></B>()</CODE> 149 150 <BR> 151 </TD> 152 </TR> 153 <TR BGCOLOR="white" CLASS="TableRowColor"> 154 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 155 <CODE> <A HREF="../../../com/google/dexmaker/TypeId.html" title="class in com.google.dexmaker">TypeId</A><<A HREF="../../../com/google/dexmaker/MethodId.html" title="type parameter in MethodId">R</A>></CODE></FONT></TD> 156 <TD><CODE><B><A HREF="../../../com/google/dexmaker/MethodId.html#getReturnType()">getReturnType</A></B>()</CODE> 157 158 <BR> 159 </TD> 160 </TR> 161 <TR BGCOLOR="white" CLASS="TableRowColor"> 162 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 163 <CODE> int</CODE></FONT></TD> 164 <TD><CODE><B><A HREF="../../../com/google/dexmaker/MethodId.html#hashCode()">hashCode</A></B>()</CODE> 165 166 <BR> 167 </TD> 168 </TR> 169 <TR BGCOLOR="white" CLASS="TableRowColor"> 170 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 171 <CODE> boolean</CODE></FONT></TD> 172 <TD><CODE><B><A HREF="../../../com/google/dexmaker/MethodId.html#isConstructor()">isConstructor</A></B>()</CODE> 173 174 <BR> 175 Returns true if this method is a constructor for its declaring class.</TD> 176 </TR> 177 <TR BGCOLOR="white" CLASS="TableRowColor"> 178 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 179 <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> 180 <TD><CODE><B><A HREF="../../../com/google/dexmaker/MethodId.html#toString()">toString</A></B>()</CODE> 181 182 <BR> 183 </TD> 184 </TR> 185 </TABLE> 186 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> 187 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 188 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 189 <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> 190 </TR> 191 <TR BGCOLOR="white" CLASS="TableRowColor"> 192 <TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> 193 </TR> 194 </TABLE> 195 196 <P> 197 198 <!-- ============ METHOD DETAIL ========== --> 199 200 <A NAME="method_detail"><!-- --></A> 201 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 202 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 203 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 204 <B>Method Detail</B></FONT></TH> 205 </TR> 206 </TABLE> 207 208 <A NAME="getDeclaringType()"><!-- --></A><H3> 209 getDeclaringType</H3> 210 <PRE> 211 public <A HREF="../../../com/google/dexmaker/TypeId.html" title="class in com.google.dexmaker">TypeId</A><<A HREF="../../../com/google/dexmaker/MethodId.html" title="type parameter in MethodId">D</A>> <B>getDeclaringType</B>()</PRE> 212 <DL> 213 <DD><DL> 214 </DL> 215 </DD> 216 </DL> 217 <HR> 218 219 <A NAME="getReturnType()"><!-- --></A><H3> 220 getReturnType</H3> 221 <PRE> 222 public <A HREF="../../../com/google/dexmaker/TypeId.html" title="class in com.google.dexmaker">TypeId</A><<A HREF="../../../com/google/dexmaker/MethodId.html" title="type parameter in MethodId">R</A>> <B>getReturnType</B>()</PRE> 223 <DL> 224 <DD><DL> 225 </DL> 226 </DD> 227 </DL> 228 <HR> 229 230 <A NAME="isConstructor()"><!-- --></A><H3> 231 isConstructor</H3> 232 <PRE> 233 public boolean <B>isConstructor</B>()</PRE> 234 <DL> 235 <DD>Returns true if this method is a constructor for its declaring class. 236 <P> 237 <DD><DL> 238 </DL> 239 </DD> 240 </DL> 241 <HR> 242 243 <A NAME="getName()"><!-- --></A><H3> 244 getName</H3> 245 <PRE> 246 public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getName</B>()</PRE> 247 <DL> 248 <DD>Returns the method's name. This is "<init>" if this is a constructor. 249 <P> 250 <DD><DL> 251 </DL> 252 </DD> 253 </DL> 254 <HR> 255 256 <A NAME="getParameters()"><!-- --></A><H3> 257 getParameters</H3> 258 <PRE> 259 public <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../com/google/dexmaker/TypeId.html" title="class in com.google.dexmaker">TypeId</A><?>> <B>getParameters</B>()</PRE> 260 <DL> 261 <DD><DL> 262 </DL> 263 </DD> 264 </DL> 265 <HR> 266 267 <A NAME="equals(java.lang.Object)"><!-- --></A><H3> 268 equals</H3> 269 <PRE> 270 public boolean <B>equals</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> o)</PRE> 271 <DL> 272 <DD><DL> 273 <DT><B>Overrides:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL> 274 </DD> 275 <DD><DL> 276 </DL> 277 </DD> 278 </DL> 279 <HR> 280 281 <A NAME="hashCode()"><!-- --></A><H3> 282 hashCode</H3> 283 <PRE> 284 public int <B>hashCode</B>()</PRE> 285 <DL> 286 <DD><DL> 287 <DT><B>Overrides:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL> 288 </DD> 289 <DD><DL> 290 </DL> 291 </DD> 292 </DL> 293 <HR> 294 295 <A NAME="toString()"><!-- --></A><H3> 296 toString</H3> 297 <PRE> 298 public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE> 299 <DL> 300 <DD><DL> 301 <DT><B>Overrides:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL> 302 </DD> 303 <DD><DL> 304 </DL> 305 </DD> 306 </DL> 307 <!-- ========= END OF CLASS DATA ========= --> 308 <HR> 309 310 311 <!-- ======= START OF BOTTOM NAVBAR ====== --> 312 <A NAME="navbar_bottom"><!-- --></A> 313 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 314 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 315 <TR> 316 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 317 <A NAME="navbar_bottom_firstrow"><!-- --></A> 318 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 319 <TR ALIGN="center" VALIGN="top"> 320 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 321 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 322 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 323 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 324 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 325 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 326 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 327 </TR> 328 </TABLE> 329 </TD> 330 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 331 </EM> 332 </TD> 333 </TR> 334 335 <TR> 336 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 337 <A HREF="../../../com/google/dexmaker/Local.html" title="class in com.google.dexmaker"><B>PREV CLASS</B></A> 338 <A HREF="../../../com/google/dexmaker/TypeId.html" title="class in com.google.dexmaker"><B>NEXT CLASS</B></A></FONT></TD> 339 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 340 <A HREF="../../../index.html?com/google/dexmaker/MethodId.html" target="_top"><B>FRAMES</B></A> 341 <A HREF="MethodId.html" target="_top"><B>NO FRAMES</B></A> 342 <SCRIPT type="text/javascript"> 343 <!-- 344 if(window==top) { 345 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); 346 } 347 //--> 348 </SCRIPT> 349 <NOSCRIPT> 350 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> 351 </NOSCRIPT> 352 353 354 </FONT></TD> 355 </TR> 356 <TR> 357 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 358 SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> 359 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 360 DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> 361 </TR> 362 </TABLE> 363 <A NAME="skip-navbar_bottom"></A> 364 <!-- ======== END OF BOTTOM NAVBAR ======= --> 365 366 <HR> 367 368 </BODY> 369 </HTML> 370