/www/tags/NOV_07_2009/htdocs/api/org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html
HTML | 1029 lines | 906 code | 111 blank | 12 comment | 0 complexity | ecb99a90dd7581b6db45d8afb770f016 MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
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.5.0_14) on Tue Jul 22 07:13:50 GMT-08:00 2008 -->
6<TITLE>
7Type (jEdit API)
8</TITLE>
9
10<META NAME="keywords" CONTENT="org.gjt.sp.jedit.bsh.org.objectweb.asm.Type class">
11
12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../../stylesheet.css" TITLE="Style">
13
14
15<NOSCRIPT>
16</NOSCRIPT>
17
18</HEAD>
19
20<BODY BGCOLOR="white" >
21
22
23<!-- ========= START OF TOP NAVBAR ======= -->
24<A NAME="navbar_top"><!-- --></A>
25<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
26<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
27<TR>
28<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
29<A NAME="navbar_top_firstrow"><!-- --></A>
30<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
31 <TR ALIGN="center" VALIGN="top">
32 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
33 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
34 <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
35 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Type.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
36 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
37 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
40 </TR>
41</TABLE>
42</TD>
43<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
44</EM>
45</TD>
46</TR>
47
48<TR>
49<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
50 <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Label.html" title="class in org.gjt.sp.jedit.bsh.org.objectweb.asm"><B>PREV CLASS</B></A>
51 NEXT CLASS</FONT></TD>
52<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
53 <A HREF="../../../../../../../../index.html?org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html" target="_top"><B>FRAMES</B></A>
54 <A HREF="Type.html" target="_top"><B>NO FRAMES</B></A>
55
56<NOSCRIPT>
57 <A HREF="../../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
58</NOSCRIPT>
59
60
61</FONT></TD>
62</TR>
63<TR>
64<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
65 SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
66<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
67DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
68</TR>
69</TABLE>
70<A NAME="skip-navbar_top"></A>
71<!-- ========= END OF TOP NAVBAR ========= -->
72
73<HR>
74<!-- ======== START OF CLASS DATA ======== -->
75<H2>
76<FONT SIZE="-1">
77org.gjt.sp.jedit.bsh.org.objectweb.asm</FONT>
78<BR>
79Class Type</H2>
80<PRE>
81java.lang.Object
82 <IMG SRC="../../../../../../../../resources/inherit.gif" ALT="extended by "><B>org.gjt.sp.jedit.bsh.org.objectweb.asm.Type</B>
83</PRE>
84<HR>
85<DL>
86<DT><PRE>public class <B>Type</B><DT>extends java.lang.Object</DL>
87</PRE>
88
89<P>
90A Java type. This class can be used to make it easier to manipulate type
91 and method descriptors.
92<P>
93
94<P>
95<HR>
96
97<P>
98<!-- =========== FIELD SUMMARY =========== -->
99
100<A NAME="field_summary"><!-- --></A>
101<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
102<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
103<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
104<B>Field Summary</B></FONT></TH>
105</TR>
106<TR BGCOLOR="white" CLASS="TableRowColor">
107<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
108<CODE>static int</CODE></FONT></TD>
109<TD><CODE><B><A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#ARRAY">ARRAY</A></B></CODE>
110
111<BR>
112 The sort of array reference types.</TD>
113</TR>
114<TR BGCOLOR="white" CLASS="TableRowColor">
115<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
116<CODE>static int</CODE></FONT></TD>
117<TD><CODE><B><A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#BOOLEAN">BOOLEAN</A></B></CODE>
118
119<BR>
120 The sort of the <tt>boolean</tt> type.</TD>
121</TR>
122<TR BGCOLOR="white" CLASS="TableRowColor">
123<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
124<CODE>static <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html" title="class in org.gjt.sp.jedit.bsh.org.objectweb.asm">Type</A></CODE></FONT></TD>
125<TD><CODE><B><A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#BOOLEAN_TYPE">BOOLEAN_TYPE</A></B></CODE>
126
127<BR>
128 The <tt>boolean</tt> type.</TD>
129</TR>
130<TR BGCOLOR="white" CLASS="TableRowColor">
131<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
132<CODE>static int</CODE></FONT></TD>
133<TD><CODE><B><A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#BYTE">BYTE</A></B></CODE>
134
135<BR>
136 The sort of the <tt>byte</tt> type.</TD>
137</TR>
138<TR BGCOLOR="white" CLASS="TableRowColor">
139<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
140<CODE>static <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html" title="class in org.gjt.sp.jedit.bsh.org.objectweb.asm">Type</A></CODE></FONT></TD>
141<TD><CODE><B><A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#BYTE_TYPE">BYTE_TYPE</A></B></CODE>
142
143<BR>
144 The <tt>byte</tt> type.</TD>
145</TR>
146<TR BGCOLOR="white" CLASS="TableRowColor">
147<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
148<CODE>static int</CODE></FONT></TD>
149<TD><CODE><B><A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#CHAR">CHAR</A></B></CODE>
150
151<BR>
152 The sort of the <tt>char</tt> type.</TD>
153</TR>
154<TR BGCOLOR="white" CLASS="TableRowColor">
155<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
156<CODE>static <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html" title="class in org.gjt.sp.jedit.bsh.org.objectweb.asm">Type</A></CODE></FONT></TD>
157<TD><CODE><B><A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#CHAR_TYPE">CHAR_TYPE</A></B></CODE>
158
159<BR>
160 The <tt>char</tt> type.</TD>
161</TR>
162<TR BGCOLOR="white" CLASS="TableRowColor">
163<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
164<CODE>static int</CODE></FONT></TD>
165<TD><CODE><B><A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#DOUBLE">DOUBLE</A></B></CODE>
166
167<BR>
168 The sort of the <tt>double</tt> type.</TD>
169</TR>
170<TR BGCOLOR="white" CLASS="TableRowColor">
171<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
172<CODE>static <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html" title="class in org.gjt.sp.jedit.bsh.org.objectweb.asm">Type</A></CODE></FONT></TD>
173<TD><CODE><B><A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#DOUBLE_TYPE">DOUBLE_TYPE</A></B></CODE>
174
175<BR>
176 The <tt>double</tt> type.</TD>
177</TR>
178<TR BGCOLOR="white" CLASS="TableRowColor">
179<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
180<CODE>static int</CODE></FONT></TD>
181<TD><CODE><B><A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#FLOAT">FLOAT</A></B></CODE>
182
183<BR>
184 The sort of the <tt>float</tt> type.</TD>
185</TR>
186<TR BGCOLOR="white" CLASS="TableRowColor">
187<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
188<CODE>static <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html" title="class in org.gjt.sp.jedit.bsh.org.objectweb.asm">Type</A></CODE></FONT></TD>
189<TD><CODE><B><A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#FLOAT_TYPE">FLOAT_TYPE</A></B></CODE>
190
191<BR>
192 The <tt>float</tt> type.</TD>
193</TR>
194<TR BGCOLOR="white" CLASS="TableRowColor">
195<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
196<CODE>static int</CODE></FONT></TD>
197<TD><CODE><B><A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#INT">INT</A></B></CODE>
198
199<BR>
200 The sort of the <tt>int</tt> type.</TD>
201</TR>
202<TR BGCOLOR="white" CLASS="TableRowColor">
203<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
204<CODE>static <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html" title="class in org.gjt.sp.jedit.bsh.org.objectweb.asm">Type</A></CODE></FONT></TD>
205<TD><CODE><B><A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#INT_TYPE">INT_TYPE</A></B></CODE>
206
207<BR>
208 The <tt>int</tt> type.</TD>
209</TR>
210<TR BGCOLOR="white" CLASS="TableRowColor">
211<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
212<CODE>static int</CODE></FONT></TD>
213<TD><CODE><B><A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#LONG">LONG</A></B></CODE>
214
215<BR>
216 The sort of the <tt>long</tt> type.</TD>
217</TR>
218<TR BGCOLOR="white" CLASS="TableRowColor">
219<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
220<CODE>static <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html" title="class in org.gjt.sp.jedit.bsh.org.objectweb.asm">Type</A></CODE></FONT></TD>
221<TD><CODE><B><A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#LONG_TYPE">LONG_TYPE</A></B></CODE>
222
223<BR>
224 The <tt>long</tt> type.</TD>
225</TR>
226<TR BGCOLOR="white" CLASS="TableRowColor">
227<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
228<CODE>static int</CODE></FONT></TD>
229<TD><CODE><B><A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#OBJECT">OBJECT</A></B></CODE>
230
231<BR>
232 The sort of object reference type.</TD>
233</TR>
234<TR BGCOLOR="white" CLASS="TableRowColor">
235<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
236<CODE>static int</CODE></FONT></TD>
237<TD><CODE><B><A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#SHORT">SHORT</A></B></CODE>
238
239<BR>
240 The sort of the <tt>short</tt> type.</TD>
241</TR>
242<TR BGCOLOR="white" CLASS="TableRowColor">
243<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
244<CODE>static <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html" title="class in org.gjt.sp.jedit.bsh.org.objectweb.asm">Type</A></CODE></FONT></TD>
245<TD><CODE><B><A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#SHORT_TYPE">SHORT_TYPE</A></B></CODE>
246
247<BR>
248 The <tt>short</tt> type.</TD>
249</TR>
250<TR BGCOLOR="white" CLASS="TableRowColor">
251<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
252<CODE>static int</CODE></FONT></TD>
253<TD><CODE><B><A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#VOID">VOID</A></B></CODE>
254
255<BR>
256 The sort of the <tt>void</tt> type.</TD>
257</TR>
258<TR BGCOLOR="white" CLASS="TableRowColor">
259<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
260<CODE>static <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html" title="class in org.gjt.sp.jedit.bsh.org.objectweb.asm">Type</A></CODE></FONT></TD>
261<TD><CODE><B><A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#VOID_TYPE">VOID_TYPE</A></B></CODE>
262
263<BR>
264 The <tt>void</tt> type.</TD>
265</TR>
266</TABLE>
267
268<!-- ========== METHOD SUMMARY =========== -->
269
270<A NAME="method_summary"><!-- --></A>
271<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
272<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
273<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
274<B>Method Summary</B></FONT></TH>
275</TR>
276<TR BGCOLOR="white" CLASS="TableRowColor">
277<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
278<CODE>static <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html" title="class in org.gjt.sp.jedit.bsh.org.objectweb.asm">Type</A>[]</CODE></FONT></TD>
279<TD><CODE><B><A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#getArgumentTypes(java.lang.reflect.Method)">getArgumentTypes</A></B>(java.lang.reflect.Method method)</CODE>
280
281<BR>
282 Returns the Java types corresponding to the argument types of the given
283 method.</TD>
284</TR>
285<TR BGCOLOR="white" CLASS="TableRowColor">
286<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
287<CODE>static <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html" title="class in org.gjt.sp.jedit.bsh.org.objectweb.asm">Type</A>[]</CODE></FONT></TD>
288<TD><CODE><B><A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#getArgumentTypes(java.lang.String)">getArgumentTypes</A></B>(java.lang.String methodDescriptor)</CODE>
289
290<BR>
291 Returns the Java types corresponding to the argument types of the given
292 method descriptor.</TD>
293</TR>
294<TR BGCOLOR="white" CLASS="TableRowColor">
295<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
296<CODE> java.lang.String</CODE></FONT></TD>
297<TD><CODE><B><A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#getClassName()">getClassName</A></B>()</CODE>
298
299<BR>
300 Returns the name of the class corresponding to this object type.</TD>
301</TR>
302<TR BGCOLOR="white" CLASS="TableRowColor">
303<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
304<CODE> java.lang.String</CODE></FONT></TD>
305<TD><CODE><B><A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#getDescriptor()">getDescriptor</A></B>()</CODE>
306
307<BR>
308 Returns the descriptor corresponding to this Java type.</TD>
309</TR>
310<TR BGCOLOR="white" CLASS="TableRowColor">
311<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
312<CODE>static java.lang.String</CODE></FONT></TD>
313<TD><CODE><B><A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#getDescriptor(java.lang.Class)">getDescriptor</A></B>(java.lang.Class c)</CODE>
314
315<BR>
316 Returns the descriptor corresponding to the given Java type.</TD>
317</TR>
318<TR BGCOLOR="white" CLASS="TableRowColor">
319<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
320<CODE> int</CODE></FONT></TD>
321<TD><CODE><B><A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#getDimensions()">getDimensions</A></B>()</CODE>
322
323<BR>
324 Returns the number of dimensions of this array type.</TD>
325</TR>
326<TR BGCOLOR="white" CLASS="TableRowColor">
327<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
328<CODE> <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html" title="class in org.gjt.sp.jedit.bsh.org.objectweb.asm">Type</A></CODE></FONT></TD>
329<TD><CODE><B><A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#getElementType()">getElementType</A></B>()</CODE>
330
331<BR>
332 Returns the type of the elements of this array type.</TD>
333</TR>
334<TR BGCOLOR="white" CLASS="TableRowColor">
335<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
336<CODE> java.lang.String</CODE></FONT></TD>
337<TD><CODE><B><A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#getInternalName()">getInternalName</A></B>()</CODE>
338
339<BR>
340 Returns the internal name of the class corresponding to this object type.</TD>
341</TR>
342<TR BGCOLOR="white" CLASS="TableRowColor">
343<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
344<CODE>static java.lang.String</CODE></FONT></TD>
345<TD><CODE><B><A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#getInternalName(java.lang.Class)">getInternalName</A></B>(java.lang.Class c)</CODE>
346
347<BR>
348 Returns the internal name of the given class.</TD>
349</TR>
350<TR BGCOLOR="white" CLASS="TableRowColor">
351<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
352<CODE>static java.lang.String</CODE></FONT></TD>
353<TD><CODE><B><A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#getMethodDescriptor(java.lang.reflect.Method)">getMethodDescriptor</A></B>(java.lang.reflect.Method m)</CODE>
354
355<BR>
356 Returns the descriptor corresponding to the given method.</TD>
357</TR>
358<TR BGCOLOR="white" CLASS="TableRowColor">
359<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
360<CODE>static java.lang.String</CODE></FONT></TD>
361<TD><CODE><B><A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#getMethodDescriptor(org.gjt.sp.jedit.bsh.org.objectweb.asm.Type, org.gjt.sp.jedit.bsh.org.objectweb.asm.Type[])">getMethodDescriptor</A></B>(<A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html" title="class in org.gjt.sp.jedit.bsh.org.objectweb.asm">Type</A> returnType,
362 <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html" title="class in org.gjt.sp.jedit.bsh.org.objectweb.asm">Type</A>[] argumentTypes)</CODE>
363
364<BR>
365 Returns the descriptor corresponding to the given argument and return
366 types.</TD>
367</TR>
368<TR BGCOLOR="white" CLASS="TableRowColor">
369<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
370<CODE> int</CODE></FONT></TD>
371<TD><CODE><B><A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#getOpcode(int)">getOpcode</A></B>(int opcode)</CODE>
372
373<BR>
374 Returns a JVM instruction opcode adapted to this Java type.</TD>
375</TR>
376<TR BGCOLOR="white" CLASS="TableRowColor">
377<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
378<CODE>static <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html" title="class in org.gjt.sp.jedit.bsh.org.objectweb.asm">Type</A></CODE></FONT></TD>
379<TD><CODE><B><A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#getReturnType(java.lang.reflect.Method)">getReturnType</A></B>(java.lang.reflect.Method method)</CODE>
380
381<BR>
382 Returns the Java type corresponding to the return type of the given
383 method.</TD>
384</TR>
385<TR BGCOLOR="white" CLASS="TableRowColor">
386<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
387<CODE>static <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html" title="class in org.gjt.sp.jedit.bsh.org.objectweb.asm">Type</A></CODE></FONT></TD>
388<TD><CODE><B><A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#getReturnType(java.lang.String)">getReturnType</A></B>(java.lang.String methodDescriptor)</CODE>
389
390<BR>
391 Returns the Java type corresponding to the return type of the given
392 method descriptor.</TD>
393</TR>
394<TR BGCOLOR="white" CLASS="TableRowColor">
395<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
396<CODE> int</CODE></FONT></TD>
397<TD><CODE><B><A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#getSize()">getSize</A></B>()</CODE>
398
399<BR>
400 Returns the size of values of this type.</TD>
401</TR>
402<TR BGCOLOR="white" CLASS="TableRowColor">
403<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
404<CODE> int</CODE></FONT></TD>
405<TD><CODE><B><A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#getSort()">getSort</A></B>()</CODE>
406
407<BR>
408 Returns the sort of this Java type.</TD>
409</TR>
410<TR BGCOLOR="white" CLASS="TableRowColor">
411<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
412<CODE>static <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html" title="class in org.gjt.sp.jedit.bsh.org.objectweb.asm">Type</A></CODE></FONT></TD>
413<TD><CODE><B><A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#getType(java.lang.Class)">getType</A></B>(java.lang.Class c)</CODE>
414
415<BR>
416 Returns the Java type corresponding to the given class.</TD>
417</TR>
418<TR BGCOLOR="white" CLASS="TableRowColor">
419<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
420<CODE>static <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html" title="class in org.gjt.sp.jedit.bsh.org.objectweb.asm">Type</A></CODE></FONT></TD>
421<TD><CODE><B><A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#getType(java.lang.String)">getType</A></B>(java.lang.String typeDescriptor)</CODE>
422
423<BR>
424 Returns the Java type corresponding to the given type descriptor.</TD>
425</TR>
426</TABLE>
427 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
428<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
429<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
430<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
431</TR>
432<TR BGCOLOR="white" CLASS="TableRowColor">
433<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
434</TR>
435</TABLE>
436
437<P>
438
439<!-- ============ FIELD DETAIL =========== -->
440
441<A NAME="field_detail"><!-- --></A>
442<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
443<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
444<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
445<B>Field Detail</B></FONT></TH>
446</TR>
447</TABLE>
448
449<A NAME="VOID"><!-- --></A><H3>
450VOID</H3>
451<PRE>
452public static final int <B>VOID</B></PRE>
453<DL>
454<DD>The sort of the <tt>void</tt> type. See <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#getSort()"><CODE>getSort</CODE></A>.
455<P>
456<DL>
457<DT><B>See Also:</B><DD><A HREF="../../../../../../../../constant-values.html#org.gjt.sp.jedit.bsh.org.objectweb.asm.Type.VOID">Constant Field Values</A></DL>
458</DL>
459<HR>
460
461<A NAME="BOOLEAN"><!-- --></A><H3>
462BOOLEAN</H3>
463<PRE>
464public static final int <B>BOOLEAN</B></PRE>
465<DL>
466<DD>The sort of the <tt>boolean</tt> type. See <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#getSort()"><CODE>getSort</CODE></A>.
467<P>
468<DL>
469<DT><B>See Also:</B><DD><A HREF="../../../../../../../../constant-values.html#org.gjt.sp.jedit.bsh.org.objectweb.asm.Type.BOOLEAN">Constant Field Values</A></DL>
470</DL>
471<HR>
472
473<A NAME="CHAR"><!-- --></A><H3>
474CHAR</H3>
475<PRE>
476public static final int <B>CHAR</B></PRE>
477<DL>
478<DD>The sort of the <tt>char</tt> type. See <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#getSort()"><CODE>getSort</CODE></A>.
479<P>
480<DL>
481<DT><B>See Also:</B><DD><A HREF="../../../../../../../../constant-values.html#org.gjt.sp.jedit.bsh.org.objectweb.asm.Type.CHAR">Constant Field Values</A></DL>
482</DL>
483<HR>
484
485<A NAME="BYTE"><!-- --></A><H3>
486BYTE</H3>
487<PRE>
488public static final int <B>BYTE</B></PRE>
489<DL>
490<DD>The sort of the <tt>byte</tt> type. See <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#getSort()"><CODE>getSort</CODE></A>.
491<P>
492<DL>
493<DT><B>See Also:</B><DD><A HREF="../../../../../../../../constant-values.html#org.gjt.sp.jedit.bsh.org.objectweb.asm.Type.BYTE">Constant Field Values</A></DL>
494</DL>
495<HR>
496
497<A NAME="SHORT"><!-- --></A><H3>
498SHORT</H3>
499<PRE>
500public static final int <B>SHORT</B></PRE>
501<DL>
502<DD>The sort of the <tt>short</tt> type. See <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#getSort()"><CODE>getSort</CODE></A>.
503<P>
504<DL>
505<DT><B>See Also:</B><DD><A HREF="../../../../../../../../constant-values.html#org.gjt.sp.jedit.bsh.org.objectweb.asm.Type.SHORT">Constant Field Values</A></DL>
506</DL>
507<HR>
508
509<A NAME="INT"><!-- --></A><H3>
510INT</H3>
511<PRE>
512public static final int <B>INT</B></PRE>
513<DL>
514<DD>The sort of the <tt>int</tt> type. See <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#getSort()"><CODE>getSort</CODE></A>.
515<P>
516<DL>
517<DT><B>See Also:</B><DD><A HREF="../../../../../../../../constant-values.html#org.gjt.sp.jedit.bsh.org.objectweb.asm.Type.INT">Constant Field Values</A></DL>
518</DL>
519<HR>
520
521<A NAME="FLOAT"><!-- --></A><H3>
522FLOAT</H3>
523<PRE>
524public static final int <B>FLOAT</B></PRE>
525<DL>
526<DD>The sort of the <tt>float</tt> type. See <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#getSort()"><CODE>getSort</CODE></A>.
527<P>
528<DL>
529<DT><B>See Also:</B><DD><A HREF="../../../../../../../../constant-values.html#org.gjt.sp.jedit.bsh.org.objectweb.asm.Type.FLOAT">Constant Field Values</A></DL>
530</DL>
531<HR>
532
533<A NAME="LONG"><!-- --></A><H3>
534LONG</H3>
535<PRE>
536public static final int <B>LONG</B></PRE>
537<DL>
538<DD>The sort of the <tt>long</tt> type. See <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#getSort()"><CODE>getSort</CODE></A>.
539<P>
540<DL>
541<DT><B>See Also:</B><DD><A HREF="../../../../../../../../constant-values.html#org.gjt.sp.jedit.bsh.org.objectweb.asm.Type.LONG">Constant Field Values</A></DL>
542</DL>
543<HR>
544
545<A NAME="DOUBLE"><!-- --></A><H3>
546DOUBLE</H3>
547<PRE>
548public static final int <B>DOUBLE</B></PRE>
549<DL>
550<DD>The sort of the <tt>double</tt> type. See <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#getSort()"><CODE>getSort</CODE></A>.
551<P>
552<DL>
553<DT><B>See Also:</B><DD><A HREF="../../../../../../../../constant-values.html#org.gjt.sp.jedit.bsh.org.objectweb.asm.Type.DOUBLE">Constant Field Values</A></DL>
554</DL>
555<HR>
556
557<A NAME="ARRAY"><!-- --></A><H3>
558ARRAY</H3>
559<PRE>
560public static final int <B>ARRAY</B></PRE>
561<DL>
562<DD>The sort of array reference types. See <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#getSort()"><CODE>getSort</CODE></A>.
563<P>
564<DL>
565<DT><B>See Also:</B><DD><A HREF="../../../../../../../../constant-values.html#org.gjt.sp.jedit.bsh.org.objectweb.asm.Type.ARRAY">Constant Field Values</A></DL>
566</DL>
567<HR>
568
569<A NAME="OBJECT"><!-- --></A><H3>
570OBJECT</H3>
571<PRE>
572public static final int <B>OBJECT</B></PRE>
573<DL>
574<DD>The sort of object reference type. See <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#getSort()"><CODE>getSort</CODE></A>.
575<P>
576<DL>
577<DT><B>See Also:</B><DD><A HREF="../../../../../../../../constant-values.html#org.gjt.sp.jedit.bsh.org.objectweb.asm.Type.OBJECT">Constant Field Values</A></DL>
578</DL>
579<HR>
580
581<A NAME="VOID_TYPE"><!-- --></A><H3>
582VOID_TYPE</H3>
583<PRE>
584public static final <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html" title="class in org.gjt.sp.jedit.bsh.org.objectweb.asm">Type</A> <B>VOID_TYPE</B></PRE>
585<DL>
586<DD>The <tt>void</tt> type.
587<P>
588<DL>
589</DL>
590</DL>
591<HR>
592
593<A NAME="BOOLEAN_TYPE"><!-- --></A><H3>
594BOOLEAN_TYPE</H3>
595<PRE>
596public static final <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html" title="class in org.gjt.sp.jedit.bsh.org.objectweb.asm">Type</A> <B>BOOLEAN_TYPE</B></PRE>
597<DL>
598<DD>The <tt>boolean</tt> type.
599<P>
600<DL>
601</DL>
602</DL>
603<HR>
604
605<A NAME="CHAR_TYPE"><!-- --></A><H3>
606CHAR_TYPE</H3>
607<PRE>
608public static final <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html" title="class in org.gjt.sp.jedit.bsh.org.objectweb.asm">Type</A> <B>CHAR_TYPE</B></PRE>
609<DL>
610<DD>The <tt>char</tt> type.
611<P>
612<DL>
613</DL>
614</DL>
615<HR>
616
617<A NAME="BYTE_TYPE"><!-- --></A><H3>
618BYTE_TYPE</H3>
619<PRE>
620public static final <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html" title="class in org.gjt.sp.jedit.bsh.org.objectweb.asm">Type</A> <B>BYTE_TYPE</B></PRE>
621<DL>
622<DD>The <tt>byte</tt> type.
623<P>
624<DL>
625</DL>
626</DL>
627<HR>
628
629<A NAME="SHORT_TYPE"><!-- --></A><H3>
630SHORT_TYPE</H3>
631<PRE>
632public static final <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html" title="class in org.gjt.sp.jedit.bsh.org.objectweb.asm">Type</A> <B>SHORT_TYPE</B></PRE>
633<DL>
634<DD>The <tt>short</tt> type.
635<P>
636<DL>
637</DL>
638</DL>
639<HR>
640
641<A NAME="INT_TYPE"><!-- --></A><H3>
642INT_TYPE</H3>
643<PRE>
644public static final <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html" title="class in org.gjt.sp.jedit.bsh.org.objectweb.asm">Type</A> <B>INT_TYPE</B></PRE>
645<DL>
646<DD>The <tt>int</tt> type.
647<P>
648<DL>
649</DL>
650</DL>
651<HR>
652
653<A NAME="FLOAT_TYPE"><!-- --></A><H3>
654FLOAT_TYPE</H3>
655<PRE>
656public static final <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html" title="class in org.gjt.sp.jedit.bsh.org.objectweb.asm">Type</A> <B>FLOAT_TYPE</B></PRE>
657<DL>
658<DD>The <tt>float</tt> type.
659<P>
660<DL>
661</DL>
662</DL>
663<HR>
664
665<A NAME="LONG_TYPE"><!-- --></A><H3>
666LONG_TYPE</H3>
667<PRE>
668public static final <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html" title="class in org.gjt.sp.jedit.bsh.org.objectweb.asm">Type</A> <B>LONG_TYPE</B></PRE>
669<DL>
670<DD>The <tt>long</tt> type.
671<P>
672<DL>
673</DL>
674</DL>
675<HR>
676
677<A NAME="DOUBLE_TYPE"><!-- --></A><H3>
678DOUBLE_TYPE</H3>
679<PRE>
680public static final <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html" title="class in org.gjt.sp.jedit.bsh.org.objectweb.asm">Type</A> <B>DOUBLE_TYPE</B></PRE>
681<DL>
682<DD>The <tt>double</tt> type.
683<P>
684<DL>
685</DL>
686</DL>
687
688<!-- ============ METHOD DETAIL ========== -->
689
690<A NAME="method_detail"><!-- --></A>
691<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
692<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
693<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
694<B>Method Detail</B></FONT></TH>
695</TR>
696</TABLE>
697
698<A NAME="getType(java.lang.String)"><!-- --></A><H3>
699getType</H3>
700<PRE>
701public static <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html" title="class in org.gjt.sp.jedit.bsh.org.objectweb.asm">Type</A> <B>getType</B>(java.lang.String typeDescriptor)</PRE>
702<DL>
703<DD>Returns the Java type corresponding to the given type descriptor.
704<P>
705<DD><DL>
706<DT><B>Parameters:</B><DD><CODE>typeDescriptor</CODE> - a type descriptor.
707<DT><B>Returns:</B><DD>the Java type corresponding to the given type descriptor.</DL>
708</DD>
709</DL>
710<HR>
711
712<A NAME="getType(java.lang.Class)"><!-- --></A><H3>
713getType</H3>
714<PRE>
715public static <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html" title="class in org.gjt.sp.jedit.bsh.org.objectweb.asm">Type</A> <B>getType</B>(java.lang.Class c)</PRE>
716<DL>
717<DD>Returns the Java type corresponding to the given class.
718<P>
719<DD><DL>
720<DT><B>Parameters:</B><DD><CODE>c</CODE> - a class.
721<DT><B>Returns:</B><DD>the Java type corresponding to the given class.</DL>
722</DD>
723</DL>
724<HR>
725
726<A NAME="getArgumentTypes(java.lang.String)"><!-- --></A><H3>
727getArgumentTypes</H3>
728<PRE>
729public static <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html" title="class in org.gjt.sp.jedit.bsh.org.objectweb.asm">Type</A>[] <B>getArgumentTypes</B>(java.lang.String methodDescriptor)</PRE>
730<DL>
731<DD>Returns the Java types corresponding to the argument types of the given
732 method descriptor.
733<P>
734<DD><DL>
735<DT><B>Parameters:</B><DD><CODE>methodDescriptor</CODE> - a method descriptor.
736<DT><B>Returns:</B><DD>the Java types corresponding to the argument types of the given
737 method descriptor.</DL>
738</DD>
739</DL>
740<HR>
741
742<A NAME="getArgumentTypes(java.lang.reflect.Method)"><!-- --></A><H3>
743getArgumentTypes</H3>
744<PRE>
745public static <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html" title="class in org.gjt.sp.jedit.bsh.org.objectweb.asm">Type</A>[] <B>getArgumentTypes</B>(java.lang.reflect.Method method)</PRE>
746<DL>
747<DD>Returns the Java types corresponding to the argument types of the given
748 method.
749<P>
750<DD><DL>
751<DT><B>Parameters:</B><DD><CODE>method</CODE> - a method.
752<DT><B>Returns:</B><DD>the Java types corresponding to the argument types of the given
753 method.</DL>
754</DD>
755</DL>
756<HR>
757
758<A NAME="getReturnType(java.lang.String)"><!-- --></A><H3>
759getReturnType</H3>
760<PRE>
761public static <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html" title="class in org.gjt.sp.jedit.bsh.org.objectweb.asm">Type</A> <B>getReturnType</B>(java.lang.String methodDescriptor)</PRE>
762<DL>
763<DD>Returns the Java type corresponding to the return type of the given
764 method descriptor.
765<P>
766<DD><DL>
767<DT><B>Parameters:</B><DD><CODE>methodDescriptor</CODE> - a method descriptor.
768<DT><B>Returns:</B><DD>the Java type corresponding to the return type of the given
769 method descriptor.</DL>
770</DD>
771</DL>
772<HR>
773
774<A NAME="getReturnType(java.lang.reflect.Method)"><!-- --></A><H3>
775getReturnType</H3>
776<PRE>
777public static <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html" title="class in org.gjt.sp.jedit.bsh.org.objectweb.asm">Type</A> <B>getReturnType</B>(java.lang.reflect.Method method)</PRE>
778<DL>
779<DD>Returns the Java type corresponding to the return type of the given
780 method.
781<P>
782<DD><DL>
783<DT><B>Parameters:</B><DD><CODE>method</CODE> - a method.
784<DT><B>Returns:</B><DD>the Java type corresponding to the return type of the given
785 method.</DL>
786</DD>
787</DL>
788<HR>
789
790<A NAME="getSort()"><!-- --></A><H3>
791getSort</H3>
792<PRE>
793public int <B>getSort</B>()</PRE>
794<DL>
795<DD>Returns the sort of this Java type.
796<P>
797<DD><DL>
798
799<DT><B>Returns:</B><DD><A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#VOID"><CODE>VOID</CODE></A>, <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#BOOLEAN"><CODE>BOOLEAN</CODE></A>, <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#CHAR"><CODE>CHAR</CODE></A>,
800 <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#BYTE"><CODE>BYTE</CODE></A>, <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#SHORT"><CODE>SHORT</CODE></A>, <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#INT"><CODE>INT</CODE></A>, <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#FLOAT"><CODE>FLOAT</CODE></A>, <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#LONG"><CODE>LONG</CODE></A>, <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#DOUBLE"><CODE>DOUBLE</CODE></A>, <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#ARRAY"><CODE>ARRAY</CODE></A> or <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html#OBJECT"><CODE>OBJECT</CODE></A>.</DL>
801</DD>
802</DL>
803<HR>
804
805<A NAME="getDimensions()"><!-- --></A><H3>
806getDimensions</H3>
807<PRE>
808public int <B>getDimensions</B>()</PRE>
809<DL>
810<DD>Returns the number of dimensions of this array type.
811 This method should only be used for an array type.
812<P>
813<DD><DL>
814
815<DT><B>Returns:</B><DD>the number of dimensions of this array type.</DL>
816</DD>
817</DL>
818<HR>
819
820<A NAME="getElementType()"><!-- --></A><H3>
821getElementType</H3>
822<PRE>
823public <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html" title="class in org.gjt.sp.jedit.bsh.org.objectweb.asm">Type</A> <B>getElementType</B>()</PRE>
824<DL>
825<DD>Returns the type of the elements of this array type.
826 This method should only be used for an array type.
827<P>
828<DD><DL>
829
830<DT><B>Returns:</B><DD>Returns the type of the elements of this array type.</DL>
831</DD>
832</DL>
833<HR>
834
835<A NAME="getClassName()"><!-- --></A><H3>
836getClassName</H3>
837<PRE>
838public java.lang.String <B>getClassName</B>()</PRE>
839<DL>
840<DD>Returns the name of the class corresponding to this object type.
841 This method should only be used for an object type.
842<P>
843<DD><DL>
844
845<DT><B>Returns:</B><DD>the fully qualified name of the class corresponding to this object
846 type.</DL>
847</DD>
848</DL>
849<HR>
850
851<A NAME="getInternalName()"><!-- --></A><H3>
852getInternalName</H3>
853<PRE>
854public java.lang.String <B>getInternalName</B>()</PRE>
855<DL>
856<DD>Returns the internal name of the class corresponding to this object type.
857 The internal name of a class is its fully qualified name, where '.' are
858 replaced by '/'. * This method should only be used for an object type.
859<P>
860<DD><DL>
861
862<DT><B>Returns:</B><DD>the internal name of the class corresponding to this object type.</DL>
863</DD>
864</DL>
865<HR>
866
867<A NAME="getDescriptor()"><!-- --></A><H3>
868getDescriptor</H3>
869<PRE>
870public java.lang.String <B>getDescriptor</B>()</PRE>
871<DL>
872<DD>Returns the descriptor corresponding to this Java type.
873<P>
874<DD><DL>
875
876<DT><B>Returns:</B><DD>the descriptor corresponding to this Java type.</DL>
877</DD>
878</DL>
879<HR>
880
881<A NAME="getMethodDescriptor(org.gjt.sp.jedit.bsh.org.objectweb.asm.Type, org.gjt.sp.jedit.bsh.org.objectweb.asm.Type[])"><!-- --></A><H3>
882getMethodDescriptor</H3>
883<PRE>
884public static java.lang.String <B>getMethodDescriptor</B>(<A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html" title="class in org.gjt.sp.jedit.bsh.org.objectweb.asm">Type</A> returnType,
885 <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html" title="class in org.gjt.sp.jedit.bsh.org.objectweb.asm">Type</A>[] argumentTypes)</PRE>
886<DL>
887<DD>Returns the descriptor corresponding to the given argument and return
888 types.
889<P>
890<DD><DL>
891<DT><B>Parameters:</B><DD><CODE>returnType</CODE> - the return type of the method.<DD><CODE>argumentTypes</CODE> - the argument types of the method.
892<DT><B>Returns:</B><DD>the descriptor corresponding to the given argument and return
893 types.</DL>
894</DD>
895</DL>
896<HR>
897
898<A NAME="getInternalName(java.lang.Class)"><!-- --></A><H3>
899getInternalName</H3>
900<PRE>
901public static java.lang.String <B>getInternalName</B>(java.lang.Class c)</PRE>
902<DL>
903<DD>Returns the internal name of the given class. The internal name of a class
904 is its fully qualified name, where '.' are replaced by '/'.
905<P>
906<DD><DL>
907<DT><B>Parameters:</B><DD><CODE>c</CODE> - an object class.
908<DT><B>Returns:</B><DD>the internal name of the given class.</DL>
909</DD>
910</DL>
911<HR>
912
913<A NAME="getDescriptor(java.lang.Class)"><!-- --></A><H3>
914getDescriptor</H3>
915<PRE>
916public static java.lang.String <B>getDescriptor</B>(java.lang.Class c)</PRE>
917<DL>
918<DD>Returns the descriptor corresponding to the given Java type.
919<P>
920<DD><DL>
921<DT><B>Parameters:</B><DD><CODE>c</CODE> - an object class, a primitive class or an array class.
922<DT><B>Returns:</B><DD>the descriptor corresponding to the given class.</DL>
923</DD>
924</DL>
925<HR>
926
927<A NAME="getMethodDescriptor(java.lang.reflect.Method)"><!-- --></A><H3>
928getMethodDescriptor</H3>
929<PRE>
930public static java.lang.String <B>getMethodDescriptor</B>(java.lang.reflect.Method m)</PRE>
931<DL>
932<DD>Returns the descriptor corresponding to the given method.
933<P>
934<DD><DL>
935<DT><B>Parameters:</B><DD><CODE>m</CODE> - a <CODE>Method</CODE> object.
936<DT><B>Returns:</B><DD>the descriptor of the given method.</DL>
937</DD>
938</DL>
939<HR>
940
941<A NAME="getSize()"><!-- --></A><H3>
942getSize</H3>
943<PRE>
944public int <B>getSize</B>()</PRE>
945<DL>
946<DD>Returns the size of values of this type.
947<P>
948<DD><DL>
949
950<DT><B>Returns:</B><DD>the size of values of this type, i.e., 2 for <tt>long</tt> and
951 <tt>double</tt>, and 1 otherwise.</DL>
952</DD>
953</DL>
954<HR>
955
956<A NAME="getOpcode(int)"><!-- --></A><H3>
957getOpcode</H3>
958<PRE>
959public int <B>getOpcode</B>(int opcode)</PRE>
960<DL>
961<DD>Returns a JVM instruction opcode adapted to this Java type.
962<P>
963<DD><DL>
964<DT><B>Parameters:</B><DD><CODE>opcode</CODE> - a JVM instruction opcode. This opcode must be one of ILOAD,
965 ISTORE, IALOAD, IASTORE, IADD, ISUB, IMUL, IDIV, IREM, INEG, ISHL,
966 ISHR, IUSHR, IAND, IOR, IXOR and IRETURN.
967<DT><B>Returns:</B><DD>an opcode that is similar to the given opcode, but adapted to this
968 Java type. For example, if this type is <tt>float</tt> and
969 <tt>opcode</tt> is IRETURN, this method returns FRETURN.</DL>
970</DD>
971</DL>
972<!-- ========= END OF CLASS DATA ========= -->
973<HR>
974
975
976<!-- ======= START OF BOTTOM NAVBAR ====== -->
977<A NAME="navbar_bottom"><!-- --></A>
978<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
979<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
980<TR>
981<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
982<A NAME="navbar_bottom_firstrow"><!-- --></A>
983<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
984 <TR ALIGN="center" VALIGN="top">
985 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
986 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
987 <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
988 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Type.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
989 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
990 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
991 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
992 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
993 </TR>
994</TABLE>
995</TD>
996<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
997</EM>
998</TD>
999</TR>
1000
1001<TR>
1002<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1003 <A HREF="../../../../../../../../org/gjt/sp/jedit/bsh/org/objectweb/asm/Label.html" title="class in org.gjt.sp.jedit.bsh.org.objectweb.asm"><B>PREV CLASS</B></A>
1004 NEXT CLASS</FONT></TD>
1005<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1006 <A HREF="../../../../../../../../index.html?org/gjt/sp/jedit/bsh/org/objectweb/asm/Type.html" target="_top"><B>FRAMES</B></A>
1007 <A HREF="Type.html" target="_top"><B>NO FRAMES</B></A>
1008
1009<NOSCRIPT>
1010 <A HREF="../../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
1011</NOSCRIPT>
1012
1013
1014</FONT></TD>
1015</TR>
1016<TR>
1017<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1018 SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
1019<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1020DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
1021</TR>
1022</TABLE>
1023<A NAME="skip-navbar_bottom"></A>
1024<!-- ======== END OF BOTTOM NAVBAR ======= -->
1025
1026<HR>
1027
1028</BODY>
1029</HTML>