Java Doc for MethodInfo.java in  » Database-DBMS » db4o-6.4 » EDU » purdue » cs » bloat » reflect » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database DBMS » db4o 6.4 » EDU.purdue.cs.bloat.reflect 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


EDU.purdue.cs.bloat.reflect.MethodInfo

All known Subclasses:   EDU.purdue.cs.bloat.file.Method,
MethodInfo
public interface MethodInfo (Code)
MethodInfo provides methods for accessing and modifying a method. It is implemented by file.Method.
See Also:   EDU.purdue.cs.bloat.file.Method
author:
   Nate Nystrom (author:
   href="mailto:nystrom@cs.purdue.edu">nystrom@cs.purdue.edu)




Method Summary
public  Objectclone()
     Creates a clone of this MethodInfo except that its declaring class does not know about it.
public  byte[]code()
     Get the byte code array of the method.
public  ClassInfodeclaringClass()
     Returns the class which declared the method.
public  Catch[]exceptionHandlers()
     Get the exception handlers in the method.
public  int[]exceptionTypes()
     Get the indices into the constant pool of the types of the exceptions thrown by the method.
public  LineNumberDebugInfo[]lineNumbers()
     Get the line number debug info of the instructions in the method. The line numbers of the instructions in the method.
public  LocalDebugInfo[]locals()
     Get the local variable debug information for the method. The local variables in the method.
public  intmaxLocals()
     Get the maximum number of locals used in the method.
public  intmaxStack()
     Get the maximum height of the operand stack.
public  intmodifiers()
     Get the modifiers of the method.
public  intnameIndex()
     Returns the index into the constant pool of the name of the method.
public  voidsetCode(byte[] code)
     Set the byte code array of the method.
public  voidsetExceptionHandlers(Catch[] exceptions)
     Set the exception handlers in the method.
public  voidsetLineNumbers(LineNumberDebugInfo[] lineNumbers)
     Set the line number debug info of the instructions in the method.
Parameters:
  lineNumbers - The line numbers of the instructions in the method.
public  voidsetLocals(LocalDebugInfo[] locals)
     Set the local variables in the method.
public  voidsetMaxLocals(int maxLocals)
     Set the maximum number of locals used in the method.
public  voidsetMaxStack(int maxStack)
     Set the maximum height of the operand stack.
public  voidsetModifiers(int modifiers)
     Set the modifiers of the method.
public  voidsetNameIndex(int index)
     Sets the index into the constant pool of the name of the method.
public  voidsetTypeIndex(int index)
     Set the index into the constant pool of the type of the method.
public  inttypeIndex()
     Returns the index into the constant pool of the type of the method.



Method Detail
clone
public Object clone()(Code)
Creates a clone of this MethodInfo except that its declaring class does not know about it.



code
public byte[] code()(Code)
Get the byte code array of the method. The byte code array of the method.



declaringClass
public ClassInfo declaringClass()(Code)
Returns the class which declared the method.



exceptionHandlers
public Catch[] exceptionHandlers()(Code)
Get the exception handlers in the method. The exception handlers in the method.



exceptionTypes
public int[] exceptionTypes()(Code)
Get the indices into the constant pool of the types of the exceptions thrown by the method. The indices into the constant pool of the types of the exceptionsthrown by the method.



lineNumbers
public LineNumberDebugInfo[] lineNumbers()(Code)
Get the line number debug info of the instructions in the method. The line numbers of the instructions in the method. The arraywill be of size 0 if the method has no line number debug info.



locals
public LocalDebugInfo[] locals()(Code)
Get the local variable debug information for the method. The local variables in the method. The array will be of size 0 ifthe method has no local variable debug info.



maxLocals
public int maxLocals()(Code)
Get the maximum number of locals used in the method. The maximum number of locals used in the method.



maxStack
public int maxStack()(Code)
Get the maximum height of the operand stack. The maximum height of the operand stack.



modifiers
public int modifiers()(Code)
Get the modifiers of the method. The values correspond to the constants in the Modifiers class. A bit vector of modifier flags for the method.
See Also:   Modifiers



nameIndex
public int nameIndex()(Code)
Returns the index into the constant pool of the name of the method.



setCode
public void setCode(byte[] code)(Code)
Set the byte code array of the method.
Parameters:
  code - The byte code array of the method.



setExceptionHandlers
public void setExceptionHandlers(Catch[] exceptions)(Code)
Set the exception handlers in the method.
Parameters:
  exceptions - The exception handlers in the method.



setLineNumbers
public void setLineNumbers(LineNumberDebugInfo[] lineNumbers)(Code)
Set the line number debug info of the instructions in the method.
Parameters:
  lineNumbers - The line numbers of the instructions in the method. The arraywill be of size 0 if the method has no line number debug info.



setLocals
public void setLocals(LocalDebugInfo[] locals)(Code)
Set the local variables in the method.
Parameters:
  locals - The local variables in the method.



setMaxLocals
public void setMaxLocals(int maxLocals)(Code)
Set the maximum number of locals used in the method.
Parameters:
  maxLocals - The maximum number of locals used in the method.



setMaxStack
public void setMaxStack(int maxStack)(Code)
Set the maximum height of the operand stack.
Parameters:
  maxStack - The maximum height of the operand stack.



setModifiers
public void setModifiers(int modifiers)(Code)
Set the modifiers of the method. The values correspond to the constants in the Modifiers class.
Parameters:
  modifiers - A bit vector of modifier flags for the method.
See Also:   Modifiers



setNameIndex
public void setNameIndex(int index)(Code)
Sets the index into the constant pool of the name of the method.



setTypeIndex
public void setTypeIndex(int index)(Code)
Set the index into the constant pool of the type of the method.
Parameters:
  index - The index into the constant pool of the type of the method.



typeIndex
public int typeIndex()(Code)
Returns the index into the constant pool of the type of the method.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.