Java Doc for ObjectType.java in  » Scripting » Kawa » gnu » 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 » Scripting » Kawa » gnu.bytecode 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   gnu.bytecode.Type
      gnu.bytecode.ObjectType

All known Subclasses:   gnu.kawa.reflect.OccurrenceType,  gnu.kawa.xml.NodeType,  gnu.kawa.lispexpr.LangObjType,  gnu.bytecode.ClassType,  gnu.kawa.reflect.SingletonType,  gnu.bytecode.ArrayType,
ObjectType
public class ObjectType extends Type (Code)
Semi-abstract class object reference types.

Extended by ClassType and ArrayType.



Field Summary
final static  intADD_FIELDS_DONE
    
final static  intADD_METHODS_DONE
    
final static  intEXISTING_CLASS
    
final static  intHAS_OUTER_LINK
    
public  intflags
    
static  ClassLoaderthisClassLoader
    

Constructor Summary
protected  ObjectType()
    
public  ObjectType(String name)
    

Method Summary
public  ObjectcoerceFromObject(Object obj)
     Convert an object to a value of this Type. Throw a ClassCastException when this is not possible.
public  intcompare(Type other)
    
public  voidemitCoerceFromObject(CodeAttr code)
     Compile (in given method) cast from Object to this Type.
public static  ClassgetContextClass(String cname)
     Get named class using context class loader.
public  TypegetImplementationType()
    
public  StringgetInternalName()
     Returns class name if a class type, signature if an array type.
public  intgetMethods(Filter filter, int searchSupers, Vector result, String context)
    
public  ClassgetReflectClass()
     Get the java.lang.Class object for the representation type.
final public  booleanisExisting()
    
public  booleanisInstance(Object obj)
    
public  Typepromote()
    
final public  voidsetExisting(boolean existing)
    

Field Detail
ADD_FIELDS_DONE
final static int ADD_FIELDS_DONE(Code)



ADD_METHODS_DONE
final static int ADD_METHODS_DONE(Code)



EXISTING_CLASS
final static int EXISTING_CLASS(Code)



HAS_OUTER_LINK
final static int HAS_OUTER_LINK(Code)



flags
public int flags(Code)



thisClassLoader
static ClassLoader thisClassLoader(Code)




Constructor Detail
ObjectType
protected ObjectType()(Code)



ObjectType
public ObjectType(String name)(Code)




Method Detail
coerceFromObject
public Object coerceFromObject(Object obj)(Code)
Convert an object to a value of this Type. Throw a ClassCastException when this is not possible.



compare
public int compare(Type other)(Code)



emitCoerceFromObject
public void emitCoerceFromObject(CodeAttr code)(Code)
Compile (in given method) cast from Object to this Type.



getContextClass
public static Class getContextClass(String cname) throws java.lang.ClassNotFoundException(Code)
Get named class using context class loader. If the security policy prohibits that, fall back to this class's loader.



getImplementationType
public Type getImplementationType()(Code)



getInternalName
public String getInternalName()(Code)
Returns class name if a class type, signature if an array type. In both cases, uses '/' rather than '.' after packages prefixes. Seems rather arbitrary - but that is how classes are represented in the constant pool (CONSTANT_Class constants). Also, Class.forName is the same, except using '.'.



getMethods
public int getMethods(Filter filter, int searchSupers, Vector result, String context)(Code)



getReflectClass
public Class getReflectClass()(Code)
Get the java.lang.Class object for the representation type.



isExisting
final public boolean isExisting()(Code)



isInstance
public boolean isInstance(Object obj)(Code)



promote
public Type promote()(Code)



setExisting
final public void setExisting(boolean existing)(Code)



Fields inherited from gnu.bytecode.Type
ArrayType array_type(Code)(Java Doc)
final public static Method booleanValue_method(Code)(Java Doc)
final public static ClassType boolean_ctype(Code)(Java Doc)
final public static PrimType boolean_type(Code)(Java Doc)
final public static PrimType byte_type(Code)(Java Doc)
final public static PrimType char_type(Code)(Java Doc)
final public static Method clone_method(Code)(Java Doc)
final public static Method doubleValue_method(Code)(Java Doc)
final public static PrimType double_type(Code)(Java Doc)
final public static Method floatValue_method(Code)(Java Doc)
final public static PrimType float_type(Code)(Java Doc)
final public static Method intValue_method(Code)(Java Doc)
final public static PrimType int_type(Code)(Java Doc)
final public static ClassType java_lang_Class_type(Code)(Java Doc)
final public static Method longValue_method(Code)(Java Doc)
final public static PrimType long_type(Code)(Java Doc)
static WeakHashMap mapClassToType(Code)(Java Doc)
static java.util.Hashtable mapNameToType(Code)(Java Doc)
final public static PrimType neverReturnsType(Code)(Java Doc)
final public static ObjectType nullType(Code)(Java Doc)
final public static ClassType number_type(Code)(Java Doc)
final public static ClassType pointer_type(Code)(Java Doc)
protected Class reflectClass(Code)(Java Doc)
final public static PrimType short_type(Code)(Java Doc)
String signature(Code)(Java Doc)
int size(Code)(Java Doc)
public static ClassType string_type(Code)(Java Doc)
String this_name(Code)(Java Doc)
final public static ClassType throwable_type(Code)(Java Doc)
final public static Method toString_method(Code)(Java Doc)
final public static ClassType tostring_type(Code)(Java Doc)
final public static Type[] typeArray0(Code)(Java Doc)
final public static PrimType void_type(Code)(Java Doc)

Methods inherited from gnu.bytecode.Type
abstract public Object coerceFromObject(Object obj)(Code)(Java Doc)
public Object coerceToObject(Object obj)(Code)(Java Doc)
abstract public int compare(Type other)(Code)(Java Doc)
public void emitCoerceFromObject(CodeAttr code)(Code)(Java Doc)
public void emitCoerceToObject(CodeAttr code)(Code)(Java Doc)
public void emitIsInstance(CodeAttr code)(Code)(Java Doc)
public Type getImplementationType()(Code)(Java Doc)
final public String getName()(Code)(Java Doc)
public java.lang.Class getReflectClass()(Code)(Java Doc)
final public String getSignature()(Code)(Java Doc)
final public int getSize()(Code)(Java Doc)
public int getSizeInWords()(Code)(Java Doc)
public static Type getType(String name)(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public boolean isInstance(Object obj)(Code)(Java Doc)
public static boolean isMoreSpecific(Type[] t1, Type[] t2)(Code)(Java Doc)
final public boolean isSubtype(Type other)(Code)(Java Doc)
public static boolean isValidJavaTypeName(String name)(Code)(Java Doc)
final public boolean isVoid()(Code)(Java Doc)
public static Type lookupType(String name)(Code)(Java Doc)
public static Type lowestCommonSuperType(Type t1, Type t2)(Code)(Java Doc)
public static synchronized Type make(Class reflectClass)(Code)(Java Doc)
public Type promote()(Code)(Java Doc)
public static synchronized void registerTypeForClass(Class clas, Type type)(Code)(Java Doc)
protected void setName(String name)(Code)(Java Doc)
public void setReflectClass(java.lang.Class rclass)(Code)(Java Doc)
protected void setSignature(String sig)(Code)(Java Doc)
public static int signatureLength(String sig, int pos)(Code)(Java Doc)
public static int signatureLength(String sig)(Code)(Java Doc)
public static String signatureToName(String sig)(Code)(Java Doc)
public static PrimType signatureToPrimitive(char sig)(Code)(Java Doc)
public static Type signatureToType(String sig, int off, int len)(Code)(Java Doc)
public static Type signatureToType(String sig)(Code)(Java Doc)
protected static int swappedCompareResult(int code)(Code)(Java Doc)
public String toString()(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.