PageRenderTime 45ms CodeModel.GetById 18ms RepoModel.GetById 1ms app.codeStats 0ms

/www/tags/NOV_07_2009/htdocs/api/org/gjt/sp/jedit/bsh/reflect/ReflectManagerImpl.html

#
HTML | 260 lines | 213 code | 35 blank | 12 comment | 0 complexity | 5d55908d0a3c21533284145c46726f39 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. ReflectManagerImpl (jEdit API)
  8. </TITLE>
  9. <META NAME="keywords" CONTENT="org.gjt.sp.jedit.bsh.reflect.ReflectManagerImpl 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/ReflectManagerImpl.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;PREV CLASS&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/reflect/ReflectManagerImpl.html" target="_top"><B>FRAMES</B></A> &nbsp;
  45. &nbsp;<A HREF="ReflectManagerImpl.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;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  55. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  56. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&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.reflect</FONT>
  66. <BR>
  67. Class ReflectManagerImpl</H2>
  68. <PRE>
  69. java.lang.Object
  70. <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../../org/gjt/sp/jedit/bsh/ReflectManager.html" title="class in org.gjt.sp.jedit.bsh">org.gjt.sp.jedit.bsh.ReflectManager</A>
  71. <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><B>org.gjt.sp.jedit.bsh.reflect.ReflectManagerImpl</B>
  72. </PRE>
  73. <HR>
  74. <DL>
  75. <DT><PRE>public class <B>ReflectManagerImpl</B><DT>extends <A HREF="../../../../../../org/gjt/sp/jedit/bsh/ReflectManager.html" title="class in org.gjt.sp.jedit.bsh">ReflectManager</A></DL>
  76. </PRE>
  77. <P>
  78. This is the implementation of:
  79. ReflectManager - a dynamically loaded extension that supports extended
  80. reflection features supported by JDK1.2 and greater.
  81. In particular it currently supports accessible method and field access
  82. supported by JDK1.2 and greater.
  83. <P>
  84. <P>
  85. <HR>
  86. <P>
  87. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  88. <A NAME="constructor_summary"><!-- --></A>
  89. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  90. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  91. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  92. <B>Constructor Summary</B></FONT></TH>
  93. </TR>
  94. <TR BGCOLOR="white" CLASS="TableRowColor">
  95. <TD><CODE><B><A HREF="../../../../../../org/gjt/sp/jedit/bsh/reflect/ReflectManagerImpl.html#ReflectManagerImpl()">ReflectManagerImpl</A></B>()</CODE>
  96. <BR>
  97. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  98. </TR>
  99. </TABLE>
  100. &nbsp;
  101. <!-- ========== METHOD SUMMARY =========== -->
  102. <A NAME="method_summary"><!-- --></A>
  103. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  104. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  105. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  106. <B>Method Summary</B></FONT></TH>
  107. </TR>
  108. <TR BGCOLOR="white" CLASS="TableRowColor">
  109. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  110. <CODE>&nbsp;boolean</CODE></FONT></TD>
  111. <TD><CODE><B><A HREF="../../../../../../org/gjt/sp/jedit/bsh/reflect/ReflectManagerImpl.html#setAccessible(java.lang.Object)">setAccessible</A></B>(java.lang.Object&nbsp;obj)</CODE>
  112. <BR>
  113. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set a java.lang.reflect Field, Method, Constructor, or Array of
  114. accessible objects to accessible mode.</TD>
  115. </TR>
  116. </TABLE>
  117. &nbsp;<A NAME="methods_inherited_from_class_org.gjt.sp.jedit.bsh.ReflectManager"><!-- --></A>
  118. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  119. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  120. <TH ALIGN="left"><B>Methods inherited from class org.gjt.sp.jedit.bsh.<A HREF="../../../../../../org/gjt/sp/jedit/bsh/ReflectManager.html" title="class in org.gjt.sp.jedit.bsh">ReflectManager</A></B></TH>
  121. </TR>
  122. <TR BGCOLOR="white" CLASS="TableRowColor">
  123. <TD><CODE><A HREF="../../../../../../org/gjt/sp/jedit/bsh/ReflectManager.html#getReflectManager()">getReflectManager</A>, <A HREF="../../../../../../org/gjt/sp/jedit/bsh/ReflectManager.html#RMSetAccessible(java.lang.Object)">RMSetAccessible</A></CODE></TD>
  124. </TR>
  125. </TABLE>
  126. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  127. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  128. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  129. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  130. </TR>
  131. <TR BGCOLOR="white" CLASS="TableRowColor">
  132. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  133. </TR>
  134. </TABLE>
  135. &nbsp;
  136. <P>
  137. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  138. <A NAME="constructor_detail"><!-- --></A>
  139. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  140. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  141. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  142. <B>Constructor Detail</B></FONT></TH>
  143. </TR>
  144. </TABLE>
  145. <A NAME="ReflectManagerImpl()"><!-- --></A><H3>
  146. ReflectManagerImpl</H3>
  147. <PRE>
  148. public <B>ReflectManagerImpl</B>()</PRE>
  149. <DL>
  150. </DL>
  151. <!-- ============ METHOD DETAIL ========== -->
  152. <A NAME="method_detail"><!-- --></A>
  153. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  154. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  155. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  156. <B>Method Detail</B></FONT></TH>
  157. </TR>
  158. </TABLE>
  159. <A NAME="setAccessible(java.lang.Object)"><!-- --></A><H3>
  160. setAccessible</H3>
  161. <PRE>
  162. public boolean <B>setAccessible</B>(java.lang.Object&nbsp;obj)</PRE>
  163. <DL>
  164. <DD>Set a java.lang.reflect Field, Method, Constructor, or Array of
  165. accessible objects to accessible mode.
  166. If the object is not an AccessibleObject then do nothing.
  167. <P>
  168. <DD><DL>
  169. <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/gjt/sp/jedit/bsh/ReflectManager.html#setAccessible(java.lang.Object)">setAccessible</A></CODE> in class <CODE><A HREF="../../../../../../org/gjt/sp/jedit/bsh/ReflectManager.html" title="class in org.gjt.sp.jedit.bsh">ReflectManager</A></CODE></DL>
  170. </DD>
  171. <DD><DL>
  172. <DT><B>Returns:</B><DD>true if the object was accessible or false if it was not.</DL>
  173. </DD>
  174. </DL>
  175. <!-- ========= END OF CLASS DATA ========= -->
  176. <HR>
  177. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  178. <A NAME="navbar_bottom"><!-- --></A>
  179. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  180. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  181. <TR>
  182. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  183. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  184. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  185. <TR ALIGN="center" VALIGN="top">
  186. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  187. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  188. <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  189. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ReflectManagerImpl.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  190. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  191. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  192. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  193. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  194. </TR>
  195. </TABLE>
  196. </TD>
  197. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  198. </EM>
  199. </TD>
  200. </TR>
  201. <TR>
  202. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  203. &nbsp;PREV CLASS&nbsp;
  204. &nbsp;NEXT CLASS</FONT></TD>
  205. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  206. <A HREF="../../../../../../index.html?org/gjt/sp/jedit/bsh/reflect/ReflectManagerImpl.html" target="_top"><B>FRAMES</B></A> &nbsp;
  207. &nbsp;<A HREF="ReflectManagerImpl.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  208. &nbsp;
  209. <NOSCRIPT>
  210. <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
  211. </NOSCRIPT>
  212. </FONT></TD>
  213. </TR>
  214. <TR>
  215. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  216. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  217. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  218. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  219. </TR>
  220. </TABLE>
  221. <A NAME="skip-navbar_bottom"></A>
  222. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  223. <HR>
  224. </BODY>
  225. </HTML>