MethodId.html revision a270a1837963dffb153c1d0cf40f2497e3ca9615
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 Fri Jan 06 14:58:31 EST 2012 -->
6<TITLE>
7MethodId (dexmaker)
8</TITLE>
9
10<META NAME="date" CONTENT="2012-01-06">
11
12<LINK REL ="stylesheet" TYPE="text/css" HREF="/stylesheet.css" TITLE="Style">
13
14<SCRIPT type="text/javascript">
15function 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>&nbsp;</TD>
41  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="/deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="/index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="/help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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&nbsp;<A HREF="/com/google/dexmaker/Local.html" title="class in com.google.dexmaker"><B>PREV CLASS</B></A>&nbsp;
58&nbsp;<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>  &nbsp;
61&nbsp;<A HREF="MethodId.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
62&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
79<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
80DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<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">
90com.google.dexmaker</FONT>
91<BR>
92Class MethodId&lt;D,R&gt;</H2>
93<PRE>
94java.lang.Object
95  <IMG SRC="/resources/inherit.gif" ALT="extended by "><B>com.google.dexmaker.MethodId&lt;D,R&gt;</B>
96</PRE>
97<HR>
98<DL>
99<DT><PRE>public final class <B>MethodId&lt;D,R&gt;</B><DT>extends java.lang.Object</DL>
100</PRE>
101
102<P>
103Identifies a method or constructor.
104<P>
105
106<P>
107<HR>
108
109<P>
110
111<!-- ========== METHOD SUMMARY =========== -->
112
113<A NAME="method_summary"><!-- --></A>
114<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
115<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
116<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
117<B>Method Summary</B></FONT></TH>
118</TR>
119<TR BGCOLOR="white" CLASS="TableRowColor">
120<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
121<CODE>&nbsp;boolean</CODE></FONT></TD>
122<TD><CODE><B><A HREF="/com/google/dexmaker/MethodId.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object&nbsp;o)</CODE>
123
124<BR>
125&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
126</TR>
127<TR BGCOLOR="white" CLASS="TableRowColor">
128<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
129<CODE>&nbsp;<A HREF="/com/google/dexmaker/TypeId.html" title="class in com.google.dexmaker">TypeId</A>&lt;<A HREF="/com/google/dexmaker/MethodId.html" title="type parameter in MethodId">D</A>&gt;</CODE></FONT></TD>
130<TD><CODE><B><A HREF="/com/google/dexmaker/MethodId.html#getDeclaringType()">getDeclaringType</A></B>()</CODE>
131
132<BR>
133&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
134</TR>
135<TR BGCOLOR="white" CLASS="TableRowColor">
136<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
137<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
138<TD><CODE><B><A HREF="/com/google/dexmaker/MethodId.html#getName()">getName</A></B>()</CODE>
139
140<BR>
141&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the method's name.</TD>
142</TR>
143<TR BGCOLOR="white" CLASS="TableRowColor">
144<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
145<CODE>&nbsp;java.util.List&lt;<A HREF="/com/google/dexmaker/TypeId.html" title="class in com.google.dexmaker">TypeId</A>&lt;?&gt;&gt;</CODE></FONT></TD>
146<TD><CODE><B><A HREF="/com/google/dexmaker/MethodId.html#getParameters()">getParameters</A></B>()</CODE>
147
148<BR>
149&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
150</TR>
151<TR BGCOLOR="white" CLASS="TableRowColor">
152<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
153<CODE>&nbsp;<A HREF="/com/google/dexmaker/TypeId.html" title="class in com.google.dexmaker">TypeId</A>&lt;<A HREF="/com/google/dexmaker/MethodId.html" title="type parameter in MethodId">R</A>&gt;</CODE></FONT></TD>
154<TD><CODE><B><A HREF="/com/google/dexmaker/MethodId.html#getReturnType()">getReturnType</A></B>()</CODE>
155
156<BR>
157&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
158</TR>
159<TR BGCOLOR="white" CLASS="TableRowColor">
160<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
161<CODE>&nbsp;int</CODE></FONT></TD>
162<TD><CODE><B><A HREF="/com/google/dexmaker/MethodId.html#hashCode()">hashCode</A></B>()</CODE>
163
164<BR>
165&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
166</TR>
167<TR BGCOLOR="white" CLASS="TableRowColor">
168<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
169<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
170<TD><CODE><B><A HREF="/com/google/dexmaker/MethodId.html#toString()">toString</A></B>()</CODE>
171
172<BR>
173&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
174</TR>
175</TABLE>
176&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
177<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
178<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
179<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
180</TR>
181<TR BGCOLOR="white" CLASS="TableRowColor">
182<TD><CODE>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</CODE></TD>
183</TR>
184</TABLE>
185&nbsp;
186<P>
187
188<!-- ============ METHOD DETAIL ========== -->
189
190<A NAME="method_detail"><!-- --></A>
191<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
192<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
193<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
194<B>Method Detail</B></FONT></TH>
195</TR>
196</TABLE>
197
198<A NAME="getDeclaringType()"><!-- --></A><H3>
199getDeclaringType</H3>
200<PRE>
201public <A HREF="/com/google/dexmaker/TypeId.html" title="class in com.google.dexmaker">TypeId</A>&lt;<A HREF="/com/google/dexmaker/MethodId.html" title="type parameter in MethodId">D</A>&gt; <B>getDeclaringType</B>()</PRE>
202<DL>
203<DD><DL>
204</DL>
205</DD>
206</DL>
207<HR>
208
209<A NAME="getReturnType()"><!-- --></A><H3>
210getReturnType</H3>
211<PRE>
212public <A HREF="/com/google/dexmaker/TypeId.html" title="class in com.google.dexmaker">TypeId</A>&lt;<A HREF="/com/google/dexmaker/MethodId.html" title="type parameter in MethodId">R</A>&gt; <B>getReturnType</B>()</PRE>
213<DL>
214<DD><DL>
215</DL>
216</DD>
217</DL>
218<HR>
219
220<A NAME="getName()"><!-- --></A><H3>
221getName</H3>
222<PRE>
223public java.lang.String <B>getName</B>()</PRE>
224<DL>
225<DD>Returns the method's name. This is "<init>" if this is a constructor.
226<P>
227<DD><DL>
228</DL>
229</DD>
230</DL>
231<HR>
232
233<A NAME="getParameters()"><!-- --></A><H3>
234getParameters</H3>
235<PRE>
236public java.util.List&lt;<A HREF="/com/google/dexmaker/TypeId.html" title="class in com.google.dexmaker">TypeId</A>&lt;?&gt;&gt; <B>getParameters</B>()</PRE>
237<DL>
238<DD><DL>
239</DL>
240</DD>
241</DL>
242<HR>
243
244<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
245equals</H3>
246<PRE>
247public boolean <B>equals</B>(java.lang.Object&nbsp;o)</PRE>
248<DL>
249<DD><DL>
250<DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL>
251</DD>
252<DD><DL>
253</DL>
254</DD>
255</DL>
256<HR>
257
258<A NAME="hashCode()"><!-- --></A><H3>
259hashCode</H3>
260<PRE>
261public int <B>hashCode</B>()</PRE>
262<DL>
263<DD><DL>
264<DT><B>Overrides:</B><DD><CODE>hashCode</CODE> in class <CODE>java.lang.Object</CODE></DL>
265</DD>
266<DD><DL>
267</DL>
268</DD>
269</DL>
270<HR>
271
272<A NAME="toString()"><!-- --></A><H3>
273toString</H3>
274<PRE>
275public java.lang.String <B>toString</B>()</PRE>
276<DL>
277<DD><DL>
278<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
279</DD>
280<DD><DL>
281</DL>
282</DD>
283</DL>
284<!-- ========= END OF CLASS DATA ========= -->
285<HR>
286
287
288<!-- ======= START OF BOTTOM NAVBAR ====== -->
289<A NAME="navbar_bottom"><!-- --></A>
290<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
291<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
292<TR>
293<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
294<A NAME="navbar_bottom_firstrow"><!-- --></A>
295<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
296  <TR ALIGN="center" VALIGN="top">
297  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="/overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
298  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
299  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
300  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
301  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="/deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
302  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="/index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
303  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="/help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
304  </TR>
305</TABLE>
306</TD>
307<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
308</EM>
309</TD>
310</TR>
311
312<TR>
313<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
314&nbsp;<A HREF="/com/google/dexmaker/Local.html" title="class in com.google.dexmaker"><B>PREV CLASS</B></A>&nbsp;
315&nbsp;<A HREF="/com/google/dexmaker/TypeId.html" title="class in com.google.dexmaker"><B>NEXT CLASS</B></A></FONT></TD>
316<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
317  <A HREF="/index.html?com/google/dexmaker/MethodId.html" target="_top"><B>FRAMES</B></A>  &nbsp;
318&nbsp;<A HREF="MethodId.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
319&nbsp;<SCRIPT type="text/javascript">
320  <!--
321  if(window==top) {
322    document.writeln('<A HREF="/allclasses-noframe.html"><B>All Classes</B></A>');
323  }
324  //-->
325</SCRIPT>
326<NOSCRIPT>
327  <A HREF="/allclasses-noframe.html"><B>All Classes</B></A>
328</NOSCRIPT>
329
330
331</FONT></TD>
332</TR>
333<TR>
334<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
335  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
336<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
337DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
338</TR>
339</TABLE>
340<A NAME="skip-navbar_bottom"></A>
341<!-- ======== END OF BOTTOM NAVBAR ======= -->
342
343<HR>
344
345</BODY>
346</HTML>
347