Java Doc for FieldSetJoinPointCompiler.java in  » Net » Terracotta » com » tc » aspectwerkz » transform » inlining » compiler » 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 » Net » Terracotta » com.tc.aspectwerkz.transform.inlining.compiler 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.tc.aspectwerkz.transform.inlining.compiler.AbstractJoinPointCompiler
      com.tc.aspectwerkz.transform.inlining.compiler.FieldSetJoinPointCompiler

All known Subclasses:   com.tc.aspectwerkz.transform.inlining.compiler.FieldSetJoinPointRedefiner,
FieldSetJoinPointCompiler
public class FieldSetJoinPointCompiler extends AbstractJoinPointCompiler (Code)
A compiler that compiles/generates a class that represents a specific join point, a class which invokes the advices and the target join point statically.
author:
   Jonas BonŽr
author:
   Alexandre Vasseur



Constructor Summary
 FieldSetJoinPointCompiler(CompilationInfo.Model model)
     Creates a new join point compiler instance.

Method Summary
protected  voidcreateGetRttiMethod()
    
protected  voidcreateGetSignatureMethod()
     Creates the getSignature method.
protected  voidcreateInlinedJoinPointInvocation(MethodVisitor cv, CompilerInput input)
     Optimized implementation that does not retrieve the parameters from the join point instance but is passed directly to the method from the input parameters in the 'invoke' method.
protected  voidcreateJoinPointInvocation(MethodVisitor cv)
     Creates a call to the target join point, the parameter(s) to the join point are retrieved from the invocation local join point instance.
protected  voidcreateJoinPointSpecificFields()
     Creates join point specific fields.
protected  voidcreateSignature(MethodVisitor cv)
     Creates the signature for the join point.
protected  Type[]getJoinPointArgumentTypes()
     Returns the join points argument type(s).
protected  TypegetJoinPointReturnType()
     Returns the join points return type.


Constructor Detail
FieldSetJoinPointCompiler
FieldSetJoinPointCompiler(CompilationInfo.Model model)(Code)
Creates a new join point compiler instance.
Parameters:
  model -




Method Detail
createGetRttiMethod
protected void createGetRttiMethod()(Code)
Creates the getRtti method



createGetSignatureMethod
protected void createGetSignatureMethod()(Code)
Creates the getSignature method.



createInlinedJoinPointInvocation
protected void createInlinedJoinPointInvocation(MethodVisitor cv, CompilerInput input)(Code)
Optimized implementation that does not retrieve the parameters from the join point instance but is passed directly to the method from the input parameters in the 'invoke' method. Can only be used if no around advice exists.
Parameters:
  cv -
Parameters:
  input -



createJoinPointInvocation
protected void createJoinPointInvocation(MethodVisitor cv)(Code)
Creates a call to the target join point, the parameter(s) to the join point are retrieved from the invocation local join point instance.
Parameters:
  cv -



createJoinPointSpecificFields
protected void createJoinPointSpecificFields()(Code)
Creates join point specific fields.



createSignature
protected void createSignature(MethodVisitor cv)(Code)
Creates the signature for the join point.

FIXME signature field should NOT be of type Signature but of the specific type (update all refs as well)
Parameters:
  cv -




getJoinPointArgumentTypes
protected Type[] getJoinPointArgumentTypes()(Code)
Returns the join points argument type(s).



getJoinPointReturnType
protected Type getJoinPointReturnType()(Code)
Returns the join points return type.



Fields inherited from com.tc.aspectwerkz.transform.inlining.compiler.AbstractJoinPointCompiler
final public static boolean DUMP_JP_CLASSES(Code)(Java Doc)
protected AdviceMethodInfo[] m_afterFinallyAdviceMethodInfos(Code)(Java Doc)
protected AdviceMethodInfo[] m_afterReturningAdviceMethodInfos(Code)(Java Doc)
protected AdviceMethodInfo[] m_afterThrowingAdviceMethodInfos(Code)(Java Doc)
public Type[] m_argumentTypes(Code)(Java Doc)
protected AdviceMethodInfo[] m_aroundAdviceMethodInfos(Code)(Java Doc)
protected AspectInfo[] m_aspectInfos(Code)(Java Doc)
protected AspectModel[] m_aspectModels(Code)(Java Doc)
protected AdviceMethodInfo[] m_beforeAdviceMethodInfos(Code)(Java Doc)
final protected String m_calleeClassName(Code)(Java Doc)
final public String m_calleeClassSignature(Code)(Java Doc)
final protected String m_calleeMemberDesc(Code)(Java Doc)
final protected int m_calleeMemberModifiers(Code)(Java Doc)
final protected String m_calleeMemberName(Code)(Java Doc)
final protected String m_callerClassName(Code)(Java Doc)
final public String m_callerClassSignature(Code)(Java Doc)
final protected String m_callerMethodDesc(Code)(Java Doc)
final protected int m_callerMethodModifiers(Code)(Java Doc)
final protected String m_callerMethodName(Code)(Java Doc)
protected ClassWriter m_cw(Code)(Java Doc)
public String[] m_fieldNames(Code)(Java Doc)
protected boolean m_hasAroundAdvices(Code)(Java Doc)
protected boolean m_isThisAdvisable(Code)(Java Doc)
final public String m_joinPointClassName(Code)(Java Doc)
final protected int m_joinPointHash(Code)(Java Doc)
final protected int m_joinPointType(Code)(Java Doc)
protected boolean m_requiresJoinPoint(Code)(Java Doc)
protected boolean m_requiresProceedMethod(Code)(Java Doc)
protected boolean m_requiresThisOrTarget(Code)(Java Doc)
protected Type m_returnType(Code)(Java Doc)

Methods inherited from com.tc.aspectwerkz.transform.inlining.compiler.AbstractJoinPointCompiler
protected String buildInvokeMethodSignature()(Code)(Java Doc)
final public byte[] compile()(Code)(Java Doc)
final public void createArgumentArrayAt(MethodVisitor cv, int stackFreeIndex)(Code)(Java Doc)
abstract protected void createGetRttiMethod()(Code)(Java Doc)
abstract protected void createGetSignatureMethod()(Code)(Java Doc)
abstract protected void createInlinedJoinPointInvocation(MethodVisitor cv, CompilerInput input)(Code)(Java Doc)
protected void createInvokeMethod()(Code)(Java Doc)
abstract protected void createJoinPointInvocation(MethodVisitor cv)(Code)(Java Doc)
abstract protected void createJoinPointSpecificFields()(Code)(Java Doc)
abstract protected void createSignature(MethodVisitor cv)(Code)(Java Doc)
final public AspectModel[] getAspectModels()(Code)(Java Doc)
public String getCalleeClassName()(Code)(Java Doc)
public String getCalleeClassSignature()(Code)(Java Doc)
public String getCallerClassName()(Code)(Java Doc)
public String getCallerClassSignature()(Code)(Java Doc)
abstract protected Type[] getJoinPointArgumentTypes()(Code)(Java Doc)
public String getJoinPointClassName()(Code)(Java Doc)
abstract protected Type getJoinPointReturnType()(Code)(Java Doc)
final protected void loadArgumentMemberFields(MethodVisitor cv, int argStartIndex)(Code)(Java Doc)
final protected void loadArguments(MethodVisitor cv)(Code)(Java Doc)
public static void loadCallee(MethodVisitor cv, CompilerInput input)(Code)(Java Doc)
public static void loadCaller(MethodVisitor cv, CompilerInput input)(Code)(Java Doc)
public static void loadJoinPointInstance(MethodVisitor cv, CompilerInput input)(Code)(Java Doc)
public static boolean requiresCalleeInstance(DeploymentModel deployModel)(Code)(Java Doc)
public static boolean requiresCallerInstance(DeploymentModel deployModel)(Code)(Java Doc)
public static boolean requiresCallerOrCallee(DeploymentModel deploymentModel)(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.