PageRenderTime 63ms CodeModel.GetById 26ms RepoModel.GetById 0ms app.codeStats 1ms

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