Java Doc for ConstPool.java in  » Byte-Code » Javassist » javassist » bytecode » 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 » Byte Code » Javassist » javassist.bytecode 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   javassist.bytecode.ConstPool

ConstPool
final public class ConstPool (Code)
Constant pool table.


Field Summary
final public static  intCONST_Class
    
final public static  intCONST_Double
    
final public static  intCONST_Fieldref
    
final public static  intCONST_Float
    
final public static  intCONST_Integer
    
final public static  intCONST_InterfaceMethodref
    
final public static  intCONST_Long
    
final public static  intCONST_Methodref
    
final public static  intCONST_NameAndType
    
final public static  intCONST_String
    
final public static  intCONST_Utf8
    
final public static  CtClassTHIS
     Represents the class using this constant pool table.
 HashMapclasses
    
 LongVectoritems
    
 intnumOfItems
    
 HashMapstrings
    
 intthisClassInfo
    

Constructor Summary
public  ConstPool(String thisclass)
     Constructs a constant pool table.
public  ConstPool(DataInputStream in)
     Constructs a constant pool table from the given byte stream.

Method Summary
public  intaddClassInfo(CtClass c)
     Adds a new CONSTANT_Class_info structure.
public  intaddClassInfo(String qname)
     Adds a new CONSTANT_Class_info structure.

This also adds a CONSTANT_Utf8_info structure for storing the class name.
Parameters:
  qname - a fully-qualified class name(or the JVM-internal representation of that name).

 intaddConstInfoPadding()
    
public  intaddDoubleInfo(double d)
     Adds a new CONSTANT_Double_info structure.
public  intaddFieldrefInfo(int classInfo, String name, String type)
     Adds a new CONSTANT_Fieldref_info structure.

This also adds a new CONSTANT_NameAndType_info structure.
Parameters:
  classInfo - class_index
Parameters:
  name - name_indexof CONSTANT_NameAndType_info.
Parameters:
  type - descriptor_indexof CONSTANT_NameAndType_info.

public  intaddFieldrefInfo(int classInfo, int nameAndTypeInfo)
     Adds a new CONSTANT_Fieldref_info structure.
Parameters:
  classInfo - class_index
Parameters:
  nameAndTypeInfo - name_and_type_index.
public  intaddFloatInfo(float f)
     Adds a new CONSTANT_Float_info structure.
public  intaddIntegerInfo(int i)
     Adds a new CONSTANT_Integer_info structure.
public  intaddInterfaceMethodrefInfo(int classInfo, String name, String type)
     Adds a new CONSTANT_InterfaceMethodref_info structure.

This also adds a new CONSTANT_NameAndType_info structure.
Parameters:
  classInfo - class_index
Parameters:
  name - name_indexof CONSTANT_NameAndType_info.
Parameters:
  type - descriptor_indexof CONSTANT_NameAndType_info.

public  intaddInterfaceMethodrefInfo(int classInfo, int nameAndTypeInfo)
     Adds a new CONSTANT_InterfaceMethodref_info structure.
Parameters:
  classInfo - class_index
Parameters:
  nameAndTypeInfo - name_and_type_index.
public  intaddLongInfo(long l)
     Adds a new CONSTANT_Long_info structure.
public  intaddMethodrefInfo(int classInfo, String name, String type)
     Adds a new CONSTANT_Methodref_info structure.

This also adds a new CONSTANT_NameAndType_info structure.
Parameters:
  classInfo - class_index
Parameters:
  name - name_indexof CONSTANT_NameAndType_info.
Parameters:
  type - descriptor_indexof CONSTANT_NameAndType_info.

public  intaddMethodrefInfo(int classInfo, int nameAndTypeInfo)
     Adds a new CONSTANT_Methodref_info structure.
Parameters:
  classInfo - class_index
Parameters:
  nameAndTypeInfo - name_and_type_index.
public  intaddNameAndTypeInfo(String name, String type)
     Adds a new CONSTANT_NameAndType_info structure.
public  intaddNameAndTypeInfo(int name, int type)
     Adds a new CONSTANT_NameAndType_info structure.
public  intaddStringInfo(String str)
     Adds a new CONSTANT_String_info structure.
public  intaddUtf8Info(String utf8)
     Adds a new CONSTANT_Utf8_info structure.
public  intcopy(int n, ConstPool dest, Map classnames)
     Copies the n-th item in this ConstPool object into the destination ConstPool object. The class names that the item refers to are renamed according to the given map.
Parameters:
  n - the n-th item
Parameters:
  dest - destination constant pool table
Parameters:
  classnames - the map or null.
public  StringgetClassInfo(int index)
     Reads CONSTANT_Class_info structure at the given index.
public  StringgetClassName()
     Returns the name of the class using this constant pool table.
public  SetgetClassNames()
     Get all the class names.
public  doublegetDoubleInfo(int index)
     Reads CONSTANT_Double_info structure at the given index.
public  intgetFieldrefClass(int index)
     Reads the class_index field of the CONSTANT_Fieldref_info structure at the given index.
public  StringgetFieldrefClassName(int index)
     Reads the class_index field of the CONSTANT_Fieldref_info structure at the given index.
public  StringgetFieldrefName(int index)
     Reads the name_index field of the CONSTANT_NameAndType_info structure indirectly specified by the given index.
Parameters:
  index - an index to a CONSTANT_Fieldref_info.
public  intgetFieldrefNameAndType(int index)
     Reads the name_and_type_index field of the CONSTANT_Fieldref_info structure at the given index.
public  StringgetFieldrefType(int index)
     Reads the descriptor_index field of the CONSTANT_NameAndType_info structure indirectly specified by the given index.
Parameters:
  index - an index to a CONSTANT_Fieldref_info.
public  floatgetFloatInfo(int index)
     Reads CONSTANT_Float_info structure at the given index.
public  intgetIntegerInfo(int index)
     Reads CONSTANT_Integer_info structure at the given index.
public  intgetInterfaceMethodrefClass(int index)
     Reads the class_index field of the CONSTANT_InterfaceMethodref_info structure at the given index.
public  StringgetInterfaceMethodrefClassName(int index)
     Reads the class_index field of the CONSTANT_InterfaceMethodref_info structure at the given index.
public  StringgetInterfaceMethodrefName(int index)
     Reads the name_index field of the CONSTANT_NameAndType_info structure indirectly specified by the given index.
Parameters:
  index - an index toa CONSTANT_InterfaceMethodref_info.
public  intgetInterfaceMethodrefNameAndType(int index)
     Reads the name_and_type_index field of the CONSTANT_InterfaceMethodref_info structure at the given index.
public  StringgetInterfaceMethodrefType(int index)
     Reads the descriptor_index field of the CONSTANT_NameAndType_info structure indirectly specified by the given index.
Parameters:
  index - an index toa CONSTANT_InterfaceMethodref_info.
 ConstInfogetItem(int n)
    
public  ObjectgetLdcValue(int index)
     Reads CONSTANT_Integer_info, _Float_info, _Long_info, _Double_info, or _String_info structure.
public  longgetLongInfo(int index)
     Reads CONSTANT_Long_info structure at the given index.
public  intgetMethodrefClass(int index)
     Reads the class_index field of the CONSTANT_Methodref_info structure at the given index.
public  StringgetMethodrefClassName(int index)
     Reads the class_index field of the CONSTANT_Methodref_info structure at the given index.
public  StringgetMethodrefName(int index)
     Reads the name_index field of the CONSTANT_NameAndType_info structure indirectly specified by the given index.
Parameters:
  index - an index to a CONSTANT_Methodref_info.
public  intgetMethodrefNameAndType(int index)
     Reads the name_and_type_index field of the CONSTANT_Methodref_info structure at the given index.
public  StringgetMethodrefType(int index)
     Reads the descriptor_index field of the CONSTANT_NameAndType_info structure indirectly specified by the given index.
Parameters:
  index - an index to a CONSTANT_Methodref_info.
public  intgetNameAndTypeDescriptor(int index)
     Reads the descriptor_index field of the CONSTANT_NameAndType_info structure at the given index.
public  intgetNameAndTypeName(int index)
     Reads the name_index field of the CONSTANT_NameAndType_info structure at the given index.
public  intgetSize()
     Returns the number of entries in this table.
public  StringgetStringInfo(int index)
     Reads CONSTANT_String_info structure at the given index.
public  intgetTag(int index)
     Returns the tag field of the constant pool table entry at the given index.
public  intgetThisClassInfo()
     Returns the index of CONSTANT_Class_info structure specifying the class using this constant pool table.
public  StringgetUtf8Info(int index)
     Reads CONSTANT_utf8_info structure at the given index.
public  intisConstructor(String classname, int index)
     Determines whether CONSTANT_Methodref_info structure at the given index represents the constructor of the given class.
public  intisMember(String classname, String membername, int index)
     Determines whether CONSTANT_Methodref_info, CONSTANT_Fieldref_info, or CONSTANT_InterfaceMethodref_info structure at the given index represents the member with the specified name and declaring class.
public  voidprint()
     Prints the contents of the constant pool table.
public  voidprint(PrintWriter out)
     Prints the contents of the constant pool table.
 voidprune()
    
public  voidrenameClass(String oldName, String newName)
     Replaces all occurrences of a class name.
public  voidrenameClass(Map classnames)
     Replaces all occurrences of class names.
 voidsetThisClassInfo(int i)
    
public  voidwrite(DataOutputStream out)
     Writes the contents of the constant pool table.

Field Detail
CONST_Class
final public static int CONST_Class(Code)
CONSTANT_Class



CONST_Double
final public static int CONST_Double(Code)
CONSTANT_Double



CONST_Fieldref
final public static int CONST_Fieldref(Code)
CONSTANT_Fieldref



CONST_Float
final public static int CONST_Float(Code)
CONSTANT_Float



CONST_Integer
final public static int CONST_Integer(Code)
CONSTANT_Integer



CONST_InterfaceMethodref
final public static int CONST_InterfaceMethodref(Code)
CONSTANT_InterfaceMethodref



CONST_Long
final public static int CONST_Long(Code)
CONSTANT_Long



CONST_Methodref
final public static int CONST_Methodref(Code)
CONSTANT_Methodref



CONST_NameAndType
final public static int CONST_NameAndType(Code)
CONSTANT_NameAndType



CONST_String
final public static int CONST_String(Code)
CONSTANT_String



CONST_Utf8
final public static int CONST_Utf8(Code)
CONSTANT_Utf8



THIS
final public static CtClass THIS(Code)
Represents the class using this constant pool table.



classes
HashMap classes(Code)



items
LongVector items(Code)



numOfItems
int numOfItems(Code)



strings
HashMap strings(Code)



thisClassInfo
int thisClassInfo(Code)




Constructor Detail
ConstPool
public ConstPool(String thisclass)(Code)
Constructs a constant pool table.
Parameters:
  thisclass - the name of the class using this constantpool table



ConstPool
public ConstPool(DataInputStream in) throws IOException(Code)
Constructs a constant pool table from the given byte stream.
Parameters:
  in - byte stream.




Method Detail
addClassInfo
public int addClassInfo(CtClass c)(Code)
Adds a new CONSTANT_Class_info structure.

This also adds a CONSTANT_Utf8_info structure for storing the class name. the index of the added entry.




addClassInfo
public int addClassInfo(String qname)(Code)
Adds a new CONSTANT_Class_info structure.

This also adds a CONSTANT_Utf8_info structure for storing the class name.
Parameters:
  qname - a fully-qualified class name(or the JVM-internal representation of that name). the index of the added entry.




addConstInfoPadding
int addConstInfoPadding()(Code)



addDoubleInfo
public int addDoubleInfo(double d)(Code)
Adds a new CONSTANT_Double_info structure. the index of the added entry.



addFieldrefInfo
public int addFieldrefInfo(int classInfo, String name, String type)(Code)
Adds a new CONSTANT_Fieldref_info structure.

This also adds a new CONSTANT_NameAndType_info structure.
Parameters:
  classInfo - class_index
Parameters:
  name - name_indexof CONSTANT_NameAndType_info.
Parameters:
  type - descriptor_indexof CONSTANT_NameAndType_info. the index of the added entry.




addFieldrefInfo
public int addFieldrefInfo(int classInfo, int nameAndTypeInfo)(Code)
Adds a new CONSTANT_Fieldref_info structure.
Parameters:
  classInfo - class_index
Parameters:
  nameAndTypeInfo - name_and_type_index. the index of the added entry.



addFloatInfo
public int addFloatInfo(float f)(Code)
Adds a new CONSTANT_Float_info structure. the index of the added entry.



addIntegerInfo
public int addIntegerInfo(int i)(Code)
Adds a new CONSTANT_Integer_info structure. the index of the added entry.



addInterfaceMethodrefInfo
public int addInterfaceMethodrefInfo(int classInfo, String name, String type)(Code)
Adds a new CONSTANT_InterfaceMethodref_info structure.

This also adds a new CONSTANT_NameAndType_info structure.
Parameters:
  classInfo - class_index
Parameters:
  name - name_indexof CONSTANT_NameAndType_info.
Parameters:
  type - descriptor_indexof CONSTANT_NameAndType_info. the index of the added entry.




addInterfaceMethodrefInfo
public int addInterfaceMethodrefInfo(int classInfo, int nameAndTypeInfo)(Code)
Adds a new CONSTANT_InterfaceMethodref_info structure.
Parameters:
  classInfo - class_index
Parameters:
  nameAndTypeInfo - name_and_type_index. the index of the added entry.



addLongInfo
public int addLongInfo(long l)(Code)
Adds a new CONSTANT_Long_info structure. the index of the added entry.



addMethodrefInfo
public int addMethodrefInfo(int classInfo, String name, String type)(Code)
Adds a new CONSTANT_Methodref_info structure.

This also adds a new CONSTANT_NameAndType_info structure.
Parameters:
  classInfo - class_index
Parameters:
  name - name_indexof CONSTANT_NameAndType_info.
Parameters:
  type - descriptor_indexof CONSTANT_NameAndType_info. the index of the added entry.




addMethodrefInfo
public int addMethodrefInfo(int classInfo, int nameAndTypeInfo)(Code)
Adds a new CONSTANT_Methodref_info structure.
Parameters:
  classInfo - class_index
Parameters:
  nameAndTypeInfo - name_and_type_index. the index of the added entry.



addNameAndTypeInfo
public int addNameAndTypeInfo(String name, String type)(Code)
Adds a new CONSTANT_NameAndType_info structure.

This also adds CONSTANT_Utf8_info structures.
Parameters:
  name - name_index
Parameters:
  type - descriptor_index the index of the added entry.




addNameAndTypeInfo
public int addNameAndTypeInfo(int name, int type)(Code)
Adds a new CONSTANT_NameAndType_info structure.
Parameters:
  name - name_index
Parameters:
  type - descriptor_index the index of the added entry.



addStringInfo
public int addStringInfo(String str)(Code)
Adds a new CONSTANT_String_info structure.

This also adds a new CONSTANT_Utf8_info structure. the index of the added entry.




addUtf8Info
public int addUtf8Info(String utf8)(Code)
Adds a new CONSTANT_Utf8_info structure.

If the given utf8 string has been already recorded in the table, then this method does not add a new entry to avoid adding a duplicated entry. Instead, it returns the index of the entry already recorded. the index of the added entry.




copy
public int copy(int n, ConstPool dest, Map classnames)(Code)
Copies the n-th item in this ConstPool object into the destination ConstPool object. The class names that the item refers to are renamed according to the given map.
Parameters:
  n - the n-th item
Parameters:
  dest - destination constant pool table
Parameters:
  classnames - the map or null. the index of the copied item into the destination ClassPool.



getClassInfo
public String getClassInfo(int index)(Code)
Reads CONSTANT_Class_info structure at the given index. a fully-qualified class or interface name specifiedby name_index.



getClassName
public String getClassName()(Code)
Returns the name of the class using this constant pool table.



getClassNames
public Set getClassNames()(Code)
Get all the class names. a set of class names



getDoubleInfo
public double getDoubleInfo(int index)(Code)
Reads CONSTANT_Double_info structure at the given index. the value specified by this entry.



getFieldrefClass
public int getFieldrefClass(int index)(Code)
Reads the class_index field of the CONSTANT_Fieldref_info structure at the given index.



getFieldrefClassName
public String getFieldrefClassName(int index)(Code)
Reads the class_index field of the CONSTANT_Fieldref_info structure at the given index. the name of the class at that class_index.



getFieldrefName
public String getFieldrefName(int index)(Code)
Reads the name_index field of the CONSTANT_NameAndType_info structure indirectly specified by the given index.
Parameters:
  index - an index to a CONSTANT_Fieldref_info. the name of the field.



getFieldrefNameAndType
public int getFieldrefNameAndType(int index)(Code)
Reads the name_and_type_index field of the CONSTANT_Fieldref_info structure at the given index.



getFieldrefType
public String getFieldrefType(int index)(Code)
Reads the descriptor_index field of the CONSTANT_NameAndType_info structure indirectly specified by the given index.
Parameters:
  index - an index to a CONSTANT_Fieldref_info. the type descriptor of the field.



getFloatInfo
public float getFloatInfo(int index)(Code)
Reads CONSTANT_Float_info structure at the given index. the value specified by this entry.



getIntegerInfo
public int getIntegerInfo(int index)(Code)
Reads CONSTANT_Integer_info structure at the given index. the value specified by this entry.



getInterfaceMethodrefClass
public int getInterfaceMethodrefClass(int index)(Code)
Reads the class_index field of the CONSTANT_InterfaceMethodref_info structure at the given index.



getInterfaceMethodrefClassName
public String getInterfaceMethodrefClassName(int index)(Code)
Reads the class_index field of the CONSTANT_InterfaceMethodref_info structure at the given index. the name of the class at that class_index.



getInterfaceMethodrefName
public String getInterfaceMethodrefName(int index)(Code)
Reads the name_index field of the CONSTANT_NameAndType_info structure indirectly specified by the given index.
Parameters:
  index - an index toa CONSTANT_InterfaceMethodref_info. the name of the method.



getInterfaceMethodrefNameAndType
public int getInterfaceMethodrefNameAndType(int index)(Code)
Reads the name_and_type_index field of the CONSTANT_InterfaceMethodref_info structure at the given index.



getInterfaceMethodrefType
public String getInterfaceMethodrefType(int index)(Code)
Reads the descriptor_index field of the CONSTANT_NameAndType_info structure indirectly specified by the given index.
Parameters:
  index - an index toa CONSTANT_InterfaceMethodref_info. the descriptor of the method.



getItem
ConstInfo getItem(int n)(Code)



getLdcValue
public Object getLdcValue(int index)(Code)
Reads CONSTANT_Integer_info, _Float_info, _Long_info, _Double_info, or _String_info structure. These are used with the LDC instruction. a String value or a wrapped primitive-typevalue.



getLongInfo
public long getLongInfo(int index)(Code)
Reads CONSTANT_Long_info structure at the given index. the value specified by this entry.



getMethodrefClass
public int getMethodrefClass(int index)(Code)
Reads the class_index field of the CONSTANT_Methodref_info structure at the given index.



getMethodrefClassName
public String getMethodrefClassName(int index)(Code)
Reads the class_index field of the CONSTANT_Methodref_info structure at the given index. the name of the class at that class_index.



getMethodrefName
public String getMethodrefName(int index)(Code)
Reads the name_index field of the CONSTANT_NameAndType_info structure indirectly specified by the given index.
Parameters:
  index - an index to a CONSTANT_Methodref_info. the name of the method.



getMethodrefNameAndType
public int getMethodrefNameAndType(int index)(Code)
Reads the name_and_type_index field of the CONSTANT_Methodref_info structure at the given index.



getMethodrefType
public String getMethodrefType(int index)(Code)
Reads the descriptor_index field of the CONSTANT_NameAndType_info structure indirectly specified by the given index.
Parameters:
  index - an index to a CONSTANT_Methodref_info. the descriptor of the method.



getNameAndTypeDescriptor
public int getNameAndTypeDescriptor(int index)(Code)
Reads the descriptor_index field of the CONSTANT_NameAndType_info structure at the given index.



getNameAndTypeName
public int getNameAndTypeName(int index)(Code)
Reads the name_index field of the CONSTANT_NameAndType_info structure at the given index.



getSize
public int getSize()(Code)
Returns the number of entries in this table.



getStringInfo
public String getStringInfo(int index)(Code)
Reads CONSTANT_String_info structure at the given index. the string specified by string_index.



getTag
public int getTag(int index)(Code)
Returns the tag field of the constant pool table entry at the given index.



getThisClassInfo
public int getThisClassInfo()(Code)
Returns the index of CONSTANT_Class_info structure specifying the class using this constant pool table.



getUtf8Info
public String getUtf8Info(int index)(Code)
Reads CONSTANT_utf8_info structure at the given index. the string specified by this entry.



isConstructor
public int isConstructor(String classname, int index)(Code)
Determines whether CONSTANT_Methodref_info structure at the given index represents the constructor of the given class. the descriptor_index specifyingthe type descriptor of the that constructor.If it is not that constructor,isConstructor() returns 0.



isMember
public int isMember(String classname, String membername, int index)(Code)
Determines whether CONSTANT_Methodref_info, CONSTANT_Fieldref_info, or CONSTANT_InterfaceMethodref_info structure at the given index represents the member with the specified name and declaring class.
Parameters:
  classname - the class declaring the member
Parameters:
  membername - the member name
Parameters:
  index - the index into the constant pool table the descriptor_index specifyingthe type descriptor of that member.If it is not that member,isMember() returns 0.



print
public void print()(Code)
Prints the contents of the constant pool table.



print
public void print(PrintWriter out)(Code)
Prints the contents of the constant pool table.



prune
void prune()(Code)



renameClass
public void renameClass(String oldName, String newName)(Code)
Replaces all occurrences of a class name.
Parameters:
  oldName - the replaced name (JVM-internal representation).
Parameters:
  newName - the substituted name (JVM-internal representation).



renameClass
public void renameClass(Map classnames)(Code)
Replaces all occurrences of class names.
Parameters:
  classnames - specifies pairs of replaced and substitutedname.



setThisClassInfo
void setThisClassInfo(int i)(Code)



write
public void write(DataOutputStream out) throws IOException(Code)
Writes the contents of the constant pool table.



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.