Java Doc for JavaClass.java in  » EJB-Server-resin-3.1.5 » resin » com » caucho » 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 » EJB Server resin 3.1.5 » resin » com.caucho.bytecode 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.caucho.bytecode.JAnnotationObject
      com.caucho.bytecode.JClass
         com.caucho.bytecode.JavaClass

JavaClass
public class JavaClass extends JClass (Code)
Represents a java class.


Field Summary
final public static  intACC_FINAL
    
final public static  intACC_PRIVATE
    
final public static  intACC_PROTECTED
    
final public static  intACC_PUBLIC
    
final public static  intACC_STATIC
    
final public static  intACC_SUPER
    
final public static  intMAGIC
    

Constructor Summary
public  JavaClass(JavaClassLoader loader)
    

Method Summary
public  voidaddAttribute(Attribute attr)
    
public  voidaddField(JavaField field)
    
public  voidaddInterface(String className)
     Adds an interface.
public  voidaddMethod(JavaMethod method)
    
public  JavaFieldcreateField(String name, String descriptor)
    
public  JavaMethodcreateMethod(String name, String descriptor)
    
public  JavaMethodfindMethod(String name, String descriptor)
     Finds a method.
public  intgetAccessFlags()
     Gets the access flags.
public  JAnnotationgetAnnotation(String className)
     Returns the annotation.
public  AttributegetAttribute(String name)
     Returns the attribute.
public  ArrayList<Attribute>getAttributeList()
     Returns the methods.
public  JavaClassLoadergetClassLoader()
     Returns the loader.
public  ConstantPoolgetConstantPool()
     Returns the class's constant pool.
public  JMethod[]getConstructors()
     Returns the array of declared methods.
public  JAnnotation[]getDeclaredAnnotations()
     Returns the declared annotations.
public  JField[]getDeclaredFields()
     Returns the array of declared fields.
public  JMethod[]getDeclaredMethods()
     Returns the array of declared methods.
public  JavaFieldgetField(String name)
     Returns a fields.
public  ArrayList<JavaField>getFieldList()
     Returns the fields.
public  JField[]getFields()
     Returns the array of fields.
public  ArrayList<String>getInterfaceNames()
     Adds an interface.
public  JClass[]getInterfaces()
     Gets the interfaces.
public  intgetMajor()
     Gets the major identifier of the class file.
public  JavaMethodgetMethod(String name)
     Returns a method.
public  JMethodgetMethod(String name, JClass[] paramTypes)
    
public  ArrayList<JavaMethod>getMethodList()
     Returns the methods.
public  JMethod[]getMethods()
    
public  intgetMinor()
     Gets the minor identifier of the class file.
public  StringgetName()
     Returns the class-equivalent name.
public  JClassgetSuperClass()
     Gets the super class name.
public  StringgetSuperClassName()
     Gets the super class name.
public  StringgetThisClass()
     Gets this class name.
public  booleanisAbstract()
     Returns true for an abstract class.
public  booleanisArray()
     Returns true for an array.
public  booleanisAssignableFrom(JClass cl)
     Returns true if the class is assignable from the argument.
public  booleanisAssignableFrom(Class cl)
     Returns true if the class is assignable from the argument.
public  booleanisAssignableTo(Class cl)
     Returns true if the class is assignable from the argument.
public  booleanisFinal()
     Returns true for a final class.
public  booleanisInterface()
     Returns true for an interface.
public  booleanisPrimitive()
     Returns true for a primitive class.
public  booleanisPublic()
     Returns true for a public class.
public  voidsetAccessFlags(int flags)
     Sets the access flags.
public  voidsetMajor(int major)
     Sets the major identifier of the class file.
public  voidsetMinor(int minor)
     Sets the minor identifier of the class file.
public  voidsetSuperClass(String className)
     Sets the super class.
public  voidsetThisClass(String className)
     Sets this class.
public  voidsetURL(URL url)
     Sets the URL.
public  voidsetWrite(boolean isWrite)
    
public  StringtoString()
    
public  voidwrite(WriteStream os)
     Writes the class to the output.

Field Detail
ACC_FINAL
final public static int ACC_FINAL(Code)



ACC_PRIVATE
final public static int ACC_PRIVATE(Code)



ACC_PROTECTED
final public static int ACC_PROTECTED(Code)



ACC_PUBLIC
final public static int ACC_PUBLIC(Code)



ACC_STATIC
final public static int ACC_STATIC(Code)



ACC_SUPER
final public static int ACC_SUPER(Code)



MAGIC
final public static int MAGIC(Code)




Constructor Detail
JavaClass
public JavaClass(JavaClassLoader loader)(Code)




Method Detail
addAttribute
public void addAttribute(Attribute attr)(Code)
Adds an attribute



addField
public void addField(JavaField field)(Code)
Adds a field



addInterface
public void addInterface(String className)(Code)
Adds an interface.



addMethod
public void addMethod(JavaMethod method)(Code)
Adds a method



createField
public JavaField createField(String name, String descriptor)(Code)



createMethod
public JavaMethod createMethod(String name, String descriptor)(Code)



findMethod
public JavaMethod findMethod(String name, String descriptor)(Code)
Finds a method.



getAccessFlags
public int getAccessFlags()(Code)
Gets the access flags.



getAnnotation
public JAnnotation getAnnotation(String className)(Code)
Returns the annotation.



getAttribute
public Attribute getAttribute(String name)(Code)
Returns the attribute.



getAttributeList
public ArrayList<Attribute> getAttributeList()(Code)
Returns the methods.



getClassLoader
public JavaClassLoader getClassLoader()(Code)
Returns the loader.



getConstantPool
public ConstantPool getConstantPool()(Code)
Returns the class's constant pool.



getConstructors
public JMethod[] getConstructors()(Code)
Returns the array of declared methods.



getDeclaredAnnotations
public JAnnotation[] getDeclaredAnnotations()(Code)
Returns the declared annotations.



getDeclaredFields
public JField[] getDeclaredFields()(Code)
Returns the array of declared fields.



getDeclaredMethods
public JMethod[] getDeclaredMethods()(Code)
Returns the array of declared methods.



getField
public JavaField getField(String name)(Code)
Returns a fields.



getFieldList
public ArrayList<JavaField> getFieldList()(Code)
Returns the fields.



getFields
public JField[] getFields()(Code)
Returns the array of fields.



getInterfaceNames
public ArrayList<String> getInterfaceNames()(Code)
Adds an interface.



getInterfaces
public JClass[] getInterfaces()(Code)
Gets the interfaces.



getMajor
public int getMajor()(Code)
Gets the major identifier of the class file.



getMethod
public JavaMethod getMethod(String name)(Code)
Returns a method.



getMethod
public JMethod getMethod(String name, JClass[] paramTypes)(Code)
Returns the matching method



getMethodList
public ArrayList<JavaMethod> getMethodList()(Code)
Returns the methods.



getMethods
public JMethod[] getMethods()(Code)
Returns the matching method



getMinor
public int getMinor()(Code)
Gets the minor identifier of the class file.



getName
public String getName()(Code)
Returns the class-equivalent name.



getSuperClass
public JClass getSuperClass()(Code)
Gets the super class name.



getSuperClassName
public String getSuperClassName()(Code)
Gets the super class name.



getThisClass
public String getThisClass()(Code)
Gets this class name.



isAbstract
public boolean isAbstract()(Code)
Returns true for an abstract class.



isArray
public boolean isArray()(Code)
Returns true for an array.



isAssignableFrom
public boolean isAssignableFrom(JClass cl)(Code)
Returns true if the class is assignable from the argument.



isAssignableFrom
public boolean isAssignableFrom(Class cl)(Code)
Returns true if the class is assignable from the argument.



isAssignableTo
public boolean isAssignableTo(Class cl)(Code)
Returns true if the class is assignable from the argument.



isFinal
public boolean isFinal()(Code)
Returns true for a final class.



isInterface
public boolean isInterface()(Code)
Returns true for an interface.



isPrimitive
public boolean isPrimitive()(Code)
Returns true for a primitive class.



isPublic
public boolean isPublic()(Code)
Returns true for a public class.



setAccessFlags
public void setAccessFlags(int flags)(Code)
Sets the access flags.



setMajor
public void setMajor(int major)(Code)
Sets the major identifier of the class file.



setMinor
public void setMinor(int minor)(Code)
Sets the minor identifier of the class file.



setSuperClass
public void setSuperClass(String className)(Code)
Sets the super class.



setThisClass
public void setThisClass(String className)(Code)
Sets this class.



setURL
public void setURL(URL url)(Code)
Sets the URL.



setWrite
public void setWrite(boolean isWrite)(Code)



toString
public String toString()(Code)



write
public void write(WriteStream os) throws IOException(Code)
Writes the class to the output.



Fields inherited from com.caucho.bytecode.JClass
final public static JClass BOOLEAN(Code)(Java Doc)
final public static JClass BYTE(Code)(Java Doc)
final public static JClass CHAR(Code)(Java Doc)
final public static JClass DOUBLE(Code)(Java Doc)
final public static JClass FLOAT(Code)(Java Doc)
final public static JClass INT(Code)(Java Doc)
final public static JClass LONG(Code)(Java Doc)
final public static JClass OBJECT(Code)(Java Doc)
final public static JClass SHORT(Code)(Java Doc)
final public static JClass STRING(Code)(Java Doc)
final public static JClass VOID(Code)(Java Doc)

Methods inherited from com.caucho.bytecode.JClass
public boolean equals(Object o)(Code)(Java Doc)
public JType[] getActualTypeArguments()(Code)(Java Doc)
public JClass getComponentType()(Code)(Java Doc)
public JMethod getConstructor(JClass[] param)(Code)(Java Doc)
abstract public JMethod[] getConstructors()(Code)(Java Doc)
abstract public JField[] getDeclaredFields()(Code)(Java Doc)
abstract public JMethod[] getDeclaredMethods()(Code)(Java Doc)
abstract public JField[] getFields()(Code)(Java Doc)
abstract public JClass[] getInterfaces()(Code)(Java Doc)
public Class getJavaClass()(Code)(Java Doc)
abstract public JMethod getMethod(String name, JClass[] param)(Code)(Java Doc)
abstract public JMethod[] getMethods()(Code)(Java Doc)
abstract public String getName()(Code)(Java Doc)
public String getPrintName()(Code)(Java Doc)
public JClass getRawType()(Code)(Java Doc)
public String getShortName()(Code)(Java Doc)
abstract public JClass getSuperClass()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
abstract public boolean isAbstract()(Code)(Java Doc)
abstract public boolean isArray()(Code)(Java Doc)
abstract public boolean isAssignableFrom(Class cl)(Code)(Java Doc)
abstract public boolean isAssignableFrom(JClass cl)(Code)(Java Doc)
abstract public boolean isAssignableTo(Class cl)(Code)(Java Doc)
abstract public boolean isFinal()(Code)(Java Doc)
abstract public boolean isInterface()(Code)(Java Doc)
abstract public boolean isPrimitive()(Code)(Java Doc)
abstract public boolean isPublic()(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Methods inherited from com.caucho.bytecode.JAnnotationObject
public JAnnotation getAnnotation(String className)(Code)(Java Doc)
public JAnnotation getAnnotation(Class cl)(Code)(Java Doc)
public JAnnotation[] getDeclaredAnnotations()(Code)(Java Doc)
public boolean isAnnotationPresent(String className)(Code)(Java Doc)
public boolean isAnnotationPresent(Class cl)(Code)(Java Doc)

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.