Java Doc for FastClass.java in  » Byte-Code » cglib » net » sf » cglib » 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 » Byte Code » cglib » net.sf.cglib.reflect 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   net.sf.cglib.reflect.FastClass

FastClass
abstract public class FastClass (Code)

Inner Class :public static class Generator extends AbstractClassGenerator


Constructor Summary
protected  FastClass()
    
protected  FastClass(Class type)
    

Method Summary
public static  FastClasscreate(Class type)
    
public static  FastClasscreate(ClassLoader loader, Class type)
    
public  booleanequals(Object o)
    
public  FastConstructorgetConstructor(Constructor constructor)
    
public  FastConstructorgetConstructor(Class[] parameterTypes)
    
abstract public  intgetIndex(String name, Class[] parameterTypes)
     Return the index of the matching method.
abstract public  intgetIndex(Class[] parameterTypes)
     Return the index of the matching constructor.
abstract public  intgetIndex(Signature sig)
    
public  ClassgetJavaClass()
    
abstract public  intgetMaxIndex()
     Returns the maximum method index for this class.
public  FastMethodgetMethod(Method method)
    
public  FastMethodgetMethod(String name, Class[] parameterTypes)
    
public  StringgetName()
    
protected static  StringgetSignatureWithoutReturnType(String name, Class[] parameterTypes)
    
public  inthashCode()
    
public  Objectinvoke(String name, Class[] parameterTypes, Object obj, Object[] args)
    
abstract public  Objectinvoke(int index, Object obj, Object[] args)
     Invoke the method with the specified index.
public  ObjectnewInstance()
    
public  ObjectnewInstance(Class[] parameterTypes, Object[] args)
    
abstract public  ObjectnewInstance(int index, Object[] args)
     Create a new instance using the specified constructor index and arguments.
public  StringtoString()
    


Constructor Detail
FastClass
protected FastClass()(Code)



FastClass
protected FastClass(Class type)(Code)




Method Detail
create
public static FastClass create(Class type)(Code)



create
public static FastClass create(ClassLoader loader, Class type)(Code)



equals
public boolean equals(Object o)(Code)



getConstructor
public FastConstructor getConstructor(Constructor constructor)(Code)



getConstructor
public FastConstructor getConstructor(Class[] parameterTypes)(Code)



getIndex
abstract public int getIndex(String name, Class[] parameterTypes)(Code)
Return the index of the matching method. The index may be used later to invoke the method with less overhead. If more than one method matches (i.e. they differ by return type only), one is chosen arbitrarily.
See Also:   FastClass.invoke(int,Object,Object[])
Parameters:
  name - the method name
Parameters:
  parameterTypes - the parameter array the index, or -1 if none is found.



getIndex
abstract public int getIndex(Class[] parameterTypes)(Code)
Return the index of the matching constructor. The index may be used later to create a new instance with less overhead.
See Also:   FastClass.newInstance(int,Object[])
Parameters:
  parameterTypes - the parameter array the constructor index, or -1 if none is found.



getIndex
abstract public int getIndex(Signature sig)(Code)



getJavaClass
public Class getJavaClass()(Code)



getMaxIndex
abstract public int getMaxIndex()(Code)
Returns the maximum method index for this class.



getMethod
public FastMethod getMethod(Method method)(Code)



getMethod
public FastMethod getMethod(String name, Class[] parameterTypes)(Code)



getName
public String getName()(Code)



getSignatureWithoutReturnType
protected static String getSignatureWithoutReturnType(String name, Class[] parameterTypes)(Code)



hashCode
public int hashCode()(Code)



invoke
public Object invoke(String name, Class[] parameterTypes, Object obj, Object[] args) throws InvocationTargetException(Code)



invoke
abstract public Object invoke(int index, Object obj, Object[] args) throws InvocationTargetException(Code)
Invoke the method with the specified index.
See Also:    getIndex(name, Class[])
Parameters:
  index - the method index
Parameters:
  obj - the object the underlying method is invoked from
Parameters:
  args - the arguments used for the method call
throws:
  java.lang.reflect.InvocationTargetException - if the underlying method throws an exception



newInstance
public Object newInstance() throws InvocationTargetException(Code)



newInstance
public Object newInstance(Class[] parameterTypes, Object[] args) throws InvocationTargetException(Code)



newInstance
abstract public Object newInstance(int index, Object[] args) throws InvocationTargetException(Code)
Create a new instance using the specified constructor index and arguments.
See Also:    getIndex(Class[])
Parameters:
  index - the constructor index
Parameters:
  args - the arguments passed to the constructor
throws:
  java.lang.reflect.InvocationTargetException - if the constructor throws an exception



toString
public String toString()(Code)



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.