Java Doc for ClassFileAssembler.java in  » 6.0-JDK-Modules-sun » reflect » sun » 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 » 6.0 JDK Modules sun » reflect » sun.reflect 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   sun.reflect.ClassFileAssembler

ClassFileAssembler
class ClassFileAssembler implements ClassFileConstants(Code)



Constructor Summary
public  ClassFileAssembler()
    
public  ClassFileAssembler(ByteVector vec)
    

Method Summary
public  voidappend(ClassFileAssembler asm)
    
public  voidappend(ByteVector vec)
    
public  shortcpi()
     Keeps track of the current (one-based) constant pool index; incremented after emitting one of the following constant pool entries.
public  voidemitByte(byte val)
    
public  voidemitConstantPoolClass(short index)
    
public  voidemitConstantPoolFieldref(short classIndex, short nameAndTypeIndex)
    
public  voidemitConstantPoolInterfaceMethodref(short classIndex, short nameAndTypeIndex)
    
public  voidemitConstantPoolMethodref(short classIndex, short nameAndTypeIndex)
    
public  voidemitConstantPoolNameAndType(short nameIndex, short typeIndex)
    
public  voidemitConstantPoolString(short utf8Index)
    
public  voidemitConstantPoolUTF8(String str)
    
public  voidemitInt(int val)
    
public  voidemitMagicAndVersion()
    
public  voidemitShort(short val)
    
 voidemitShort(short bci, short val)
    
public  ByteVectorgetData()
    
public  shortgetLength()
    
public  shortgetMaxLocals()
    
public  shortgetMaxStack()
    
public  intgetStack()
     Needed to do flow control.
public  voidopc_aaload()
    
public  voidopc_aconst_null()
    
public  voidopc_aload_0()
    
public  voidopc_aload_1()
    
public  voidopc_aload_2()
    
public  voidopc_aload_3()
    
public  voidopc_areturn()
    
public  voidopc_arraylength()
    
public  voidopc_astore_0()
    
public  voidopc_astore_1()
    
public  voidopc_astore_2()
    
public  voidopc_astore_3()
    
public  voidopc_athrow()
    
public  voidopc_checkcast(short classIndex)
    
public  voidopc_dload_0()
    
public  voidopc_dload_1()
    
public  voidopc_dload_2()
    
public  voidopc_dload_3()
    
public  voidopc_dreturn()
    
public  voidopc_dup()
    
public  voidopc_dup_x1()
    
public  voidopc_f2d()
    
public  voidopc_fload_0()
    
public  voidopc_fload_1()
    
public  voidopc_fload_2()
    
public  voidopc_fload_3()
    
public  voidopc_freturn()
    
public  voidopc_getfield(short fieldIndex, int fieldSizeInStackSlots)
    
public  voidopc_getstatic(short fieldIndex, int fieldSizeInStackSlots)
    
public  voidopc_goto(short bciOffset)
    
public  voidopc_goto(Label l)
     Control flow with forward-reference BCI.
public  voidopc_i2d()
    
public  voidopc_i2f()
    
public  voidopc_i2l()
    
public  voidopc_if_icmpeq(short bciOffset)
    
public  voidopc_if_icmpeq(Label l)
     Control flow with forward-reference BCI.
public  voidopc_ifeq(short bciOffset)
    
public  voidopc_ifeq(Label l)
     Control flow with forward-reference BCI.
public  voidopc_ifnonnull(short bciOffset)
    
public  voidopc_ifnonnull(Label l)
     Control flow with forward-reference BCI.
public  voidopc_ifnull(short bciOffset)
    
public  voidopc_ifnull(Label l)
     Control flow with forward-reference BCI.
public  voidopc_iload_0()
    
public  voidopc_iload_1()
    
public  voidopc_iload_2()
    
public  voidopc_iload_3()
    
public  voidopc_instanceof(short classIndex)
    
public  voidopc_invokeinterface(short methodIndex, int numArgs, byte count, int numReturnValues)
     Long and double arguments and return types count as 2 arguments; other values count as 1.
public  voidopc_invokespecial(short methodIndex, int numArgs, int numReturnValues)
     Long and double arguments and return types count as 2 arguments; other values count as 1.
public  voidopc_invokestatic(short methodIndex, int numArgs, int numReturnValues)
     Long and double arguments and return types count as 2 arguments; other values count as 1.
public  voidopc_invokevirtual(short methodIndex, int numArgs, int numReturnValues)
     Long and double arguments and return types count as 2 arguments; other values count as 1.
public  voidopc_ireturn()
    
public  voidopc_l2d()
    
public  voidopc_l2f()
    
public  voidopc_ldc(byte cpIdx)
    
public  voidopc_lload_0()
    
public  voidopc_lload_1()
    
public  voidopc_lload_2()
    
public  voidopc_lload_3()
    
public  voidopc_lreturn()
    
public  voidopc_new(short classIndex)
    
public  voidopc_pop()
    
public  voidopc_putfield(short fieldIndex, int fieldSizeInStackSlots)
    
public  voidopc_putstatic(short fieldIndex, int fieldSizeInStackSlots)
    
public  voidopc_return()
    
public  voidopc_sipush(short constant)
    
public  voidopc_swap()
    
public  voidsetMaxLocals(int maxLocals)
    
public  voidsetStack(int value)
     Needed to do flow control.


Constructor Detail
ClassFileAssembler
public ClassFileAssembler()(Code)



ClassFileAssembler
public ClassFileAssembler(ByteVector vec)(Code)




Method Detail
append
public void append(ClassFileAssembler asm)(Code)



append
public void append(ByteVector vec)(Code)



cpi
public short cpi()(Code)
Keeps track of the current (one-based) constant pool index; incremented after emitting one of the following constant pool entries. Can fetch the current constant pool index for use in later entries. Index points at the last valid constant pool entry; initially invalid. It is illegal to fetch the constant pool index before emitting at least one constant pool entry.



emitByte
public void emitByte(byte val)(Code)



emitConstantPoolClass
public void emitConstantPoolClass(short index)(Code)



emitConstantPoolFieldref
public void emitConstantPoolFieldref(short classIndex, short nameAndTypeIndex)(Code)



emitConstantPoolInterfaceMethodref
public void emitConstantPoolInterfaceMethodref(short classIndex, short nameAndTypeIndex)(Code)



emitConstantPoolMethodref
public void emitConstantPoolMethodref(short classIndex, short nameAndTypeIndex)(Code)



emitConstantPoolNameAndType
public void emitConstantPoolNameAndType(short nameIndex, short typeIndex)(Code)



emitConstantPoolString
public void emitConstantPoolString(short utf8Index)(Code)



emitConstantPoolUTF8
public void emitConstantPoolUTF8(String str)(Code)



emitInt
public void emitInt(int val)(Code)



emitMagicAndVersion
public void emitMagicAndVersion()(Code)



emitShort
public void emitShort(short val)(Code)



emitShort
void emitShort(short bci, short val)(Code)



getData
public ByteVector getData()(Code)



getLength
public short getLength()(Code)
Length in bytes



getMaxLocals
public short getMaxLocals()(Code)



getMaxStack
public short getMaxStack()(Code)



getStack
public int getStack()(Code)
Needed to do flow control. Returns current stack depth.



opc_aaload
public void opc_aaload()(Code)



opc_aconst_null
public void opc_aconst_null()(Code)



opc_aload_0
public void opc_aload_0()(Code)



opc_aload_1
public void opc_aload_1()(Code)



opc_aload_2
public void opc_aload_2()(Code)



opc_aload_3
public void opc_aload_3()(Code)



opc_areturn
public void opc_areturn()(Code)



opc_arraylength
public void opc_arraylength()(Code)



opc_astore_0
public void opc_astore_0()(Code)



opc_astore_1
public void opc_astore_1()(Code)



opc_astore_2
public void opc_astore_2()(Code)



opc_astore_3
public void opc_astore_3()(Code)



opc_athrow
public void opc_athrow()(Code)



opc_checkcast
public void opc_checkcast(short classIndex)(Code)
Assumes the checkcast succeeds



opc_dload_0
public void opc_dload_0()(Code)



opc_dload_1
public void opc_dload_1()(Code)



opc_dload_2
public void opc_dload_2()(Code)



opc_dload_3
public void opc_dload_3()(Code)



opc_dreturn
public void opc_dreturn()(Code)



opc_dup
public void opc_dup()(Code)



opc_dup_x1
public void opc_dup_x1()(Code)



opc_f2d
public void opc_f2d()(Code)



opc_fload_0
public void opc_fload_0()(Code)



opc_fload_1
public void opc_fload_1()(Code)



opc_fload_2
public void opc_fload_2()(Code)



opc_fload_3
public void opc_fload_3()(Code)



opc_freturn
public void opc_freturn()(Code)



opc_getfield
public void opc_getfield(short fieldIndex, int fieldSizeInStackSlots)(Code)



opc_getstatic
public void opc_getstatic(short fieldIndex, int fieldSizeInStackSlots)(Code)



opc_goto
public void opc_goto(short bciOffset)(Code)



opc_goto
public void opc_goto(Label l)(Code)
Control flow with forward-reference BCI. Stack assumes straight control flow.



opc_i2d
public void opc_i2d()(Code)



opc_i2f
public void opc_i2f()(Code)



opc_i2l
public void opc_i2l()(Code)



opc_if_icmpeq
public void opc_if_icmpeq(short bciOffset)(Code)



opc_if_icmpeq
public void opc_if_icmpeq(Label l)(Code)
Control flow with forward-reference BCI. Stack assumes straight control flow.



opc_ifeq
public void opc_ifeq(short bciOffset)(Code)



opc_ifeq
public void opc_ifeq(Label l)(Code)
Control flow with forward-reference BCI. Stack assumes straight-through control flow.



opc_ifnonnull
public void opc_ifnonnull(short bciOffset)(Code)



opc_ifnonnull
public void opc_ifnonnull(Label l)(Code)
Control flow with forward-reference BCI. Stack assumes straight control flow.



opc_ifnull
public void opc_ifnull(short bciOffset)(Code)



opc_ifnull
public void opc_ifnull(Label l)(Code)
Control flow with forward-reference BCI. Stack assumes straight control flow.



opc_iload_0
public void opc_iload_0()(Code)



opc_iload_1
public void opc_iload_1()(Code)



opc_iload_2
public void opc_iload_2()(Code)



opc_iload_3
public void opc_iload_3()(Code)



opc_instanceof
public void opc_instanceof(short classIndex)(Code)



opc_invokeinterface
public void opc_invokeinterface(short methodIndex, int numArgs, byte count, int numReturnValues)(Code)
Long and double arguments and return types count as 2 arguments; other values count as 1.



opc_invokespecial
public void opc_invokespecial(short methodIndex, int numArgs, int numReturnValues)(Code)
Long and double arguments and return types count as 2 arguments; other values count as 1.



opc_invokestatic
public void opc_invokestatic(short methodIndex, int numArgs, int numReturnValues)(Code)
Long and double arguments and return types count as 2 arguments; other values count as 1.



opc_invokevirtual
public void opc_invokevirtual(short methodIndex, int numArgs, int numReturnValues)(Code)
Long and double arguments and return types count as 2 arguments; other values count as 1.



opc_ireturn
public void opc_ireturn()(Code)



opc_l2d
public void opc_l2d()(Code)



opc_l2f
public void opc_l2f()(Code)



opc_ldc
public void opc_ldc(byte cpIdx)(Code)



opc_lload_0
public void opc_lload_0()(Code)



opc_lload_1
public void opc_lload_1()(Code)



opc_lload_2
public void opc_lload_2()(Code)



opc_lload_3
public void opc_lload_3()(Code)



opc_lreturn
public void opc_lreturn()(Code)



opc_new
public void opc_new(short classIndex)(Code)



opc_pop
public void opc_pop()(Code)



opc_putfield
public void opc_putfield(short fieldIndex, int fieldSizeInStackSlots)(Code)



opc_putstatic
public void opc_putstatic(short fieldIndex, int fieldSizeInStackSlots)(Code)



opc_return
public void opc_return()(Code)



opc_sipush
public void opc_sipush(short constant)(Code)



opc_swap
public void opc_swap()(Code)



setMaxLocals
public void setMaxLocals(int maxLocals)(Code)
It's necessary to be able to specify the number of arguments at the beginning of the method (which translates to the initial value of max locals)



setStack
public void setStack(int value)(Code)
Needed to do flow control.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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