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


java.lang.Object
   javassist.compiler.ast.Visitor
      javassist.compiler.TypeChecker

All known Subclasses:   javassist.compiler.JvstTypeChecker,
TypeChecker
public class TypeChecker extends Visitor implements Opcode,TokenId(Code)


Field Summary
protected  intarrayDim
    
protected  StringclassName
    
protected  intexprType
    
final static  StringjavaLangObject
    
final static  StringjvmJavaLangClass
    
final static  StringjvmJavaLangObject
    
final static  StringjvmJavaLangString
    
protected  MemberResolverresolver
    
protected  CtClassthisClass
    
protected  MethodInfothisMethod
    

Constructor Summary
public  TypeChecker(CtClass cc, ClassPool cp)
    

Method Summary
protected static  StringargTypesToString(int[] types, int[] dims, String[] cnames)
    
public  voidatArrayInit(ArrayInit init)
    
public  voidatArrayLength(Expr expr)
    
public  voidatArrayRead(ASTree array, ASTree index)
    
public  voidatAssignExpr(AssignExpr expr)
    
public  voidatBinExpr(BinExpr expr)
    
public  voidatCallExpr(CallExpr expr)
    
public  voidatCastExpr(CastExpr expr)
    
public  voidatClassObject(Expr expr)
    
public  voidatCondExpr(CondExpr expr)
    
public  voidatDoubleConst(DoubleConst d)
    
public  voidatExpr(Expr expr)
    
protected  voidatFieldAssign(Expr expr, int op, ASTree left, ASTree right)
    
protected  voidatFieldPlusPlus(ASTree oprand)
    
public  voidatInstanceOfExpr(InstanceOfExpr expr)
    
public  voidatIntConst(IntConst i)
    
public  voidatKeyword(Keyword k)
    
public  voidatMember(Member mem)
    
public  voidatMethodArgs(ASTList args, int[] types, int[] dims, String[] cnames)
    
public  MemberResolver.MethodatMethodCallCore(CtClass targetClass, String mname, ASTList args)
     a pair of the class declaring the invoked methodand the MethodInfo of that method.
protected  voidatMultiNewArray(int type, ASTList classname, ASTList size)
    
public  voidatNewArrayExpr(NewExpr expr)
    
public  voidatNewExpr(NewExpr expr)
    
public  voidatStringL(StringL s)
    
public  voidatVariable(Variable v)
    
protected static  voidfatal()
    
protected  CtFieldfieldAccess(ASTree expr)
    
public static  ASTreegetConstantFieldValue(CtField f)
    
public  intgetMethodArgsLength(ASTList args)
    
protected  StringgetSuperName()
     Returns the JVM-internal representation of this super class name.
protected  StringgetThisName()
     Returns the JVM-internal representation of this class name.
protected  StringresolveClassName(ASTList name)
    
protected  StringresolveClassName(String jvmName)
    
 voidsetReturnType(String desc)
    
public  voidsetThisMethod(MethodInfo m)
     Records the currently compiled method.
static  ASTreestripPlusExpr(ASTree expr)
    
protected static  StringBuffertypeToString(StringBuffer sbuf, int type, int dim, String cname)
    

Field Detail
arrayDim
protected int arrayDim(Code)



className
protected String className(Code)



exprType
protected int exprType(Code)



javaLangObject
final static String javaLangObject(Code)



jvmJavaLangClass
final static String jvmJavaLangClass(Code)



jvmJavaLangObject
final static String jvmJavaLangObject(Code)



jvmJavaLangString
final static String jvmJavaLangString(Code)



resolver
protected MemberResolver resolver(Code)



thisClass
protected CtClass thisClass(Code)



thisMethod
protected MethodInfo thisMethod(Code)




Constructor Detail
TypeChecker
public TypeChecker(CtClass cc, ClassPool cp)(Code)




Method Detail
argTypesToString
protected static String argTypesToString(int[] types, int[] dims, String[] cnames)(Code)



atArrayInit
public void atArrayInit(ArrayInit init) throws CompileError(Code)



atArrayLength
public void atArrayLength(Expr expr) throws CompileError(Code)



atArrayRead
public void atArrayRead(ASTree array, ASTree index) throws CompileError(Code)



atAssignExpr
public void atAssignExpr(AssignExpr expr) throws CompileError(Code)



atBinExpr
public void atBinExpr(BinExpr expr) throws CompileError(Code)



atCallExpr
public void atCallExpr(CallExpr expr) throws CompileError(Code)



atCastExpr
public void atCastExpr(CastExpr expr) throws CompileError(Code)



atClassObject
public void atClassObject(Expr expr) throws CompileError(Code)



atCondExpr
public void atCondExpr(CondExpr expr) throws CompileError(Code)



atDoubleConst
public void atDoubleConst(DoubleConst d) throws CompileError(Code)



atExpr
public void atExpr(Expr expr) throws CompileError(Code)



atFieldAssign
protected void atFieldAssign(Expr expr, int op, ASTree left, ASTree right) throws CompileError(Code)



atFieldPlusPlus
protected void atFieldPlusPlus(ASTree oprand) throws CompileError(Code)



atInstanceOfExpr
public void atInstanceOfExpr(InstanceOfExpr expr) throws CompileError(Code)



atIntConst
public void atIntConst(IntConst i) throws CompileError(Code)



atKeyword
public void atKeyword(Keyword k) throws CompileError(Code)



atMember
public void atMember(Member mem) throws CompileError(Code)



atMethodArgs
public void atMethodArgs(ASTList args, int[] types, int[] dims, String[] cnames) throws CompileError(Code)



atMethodCallCore
public MemberResolver.Method atMethodCallCore(CtClass targetClass, String mname, ASTList args) throws CompileError(Code)
a pair of the class declaring the invoked methodand the MethodInfo of that method. Never null.



atMultiNewArray
protected void atMultiNewArray(int type, ASTList classname, ASTList size) throws CompileError(Code)



atNewArrayExpr
public void atNewArrayExpr(NewExpr expr) throws CompileError(Code)



atNewExpr
public void atNewExpr(NewExpr expr) throws CompileError(Code)



atStringL
public void atStringL(StringL s) throws CompileError(Code)



atVariable
public void atVariable(Variable v) throws CompileError(Code)



fatal
protected static void fatal() throws CompileError(Code)



fieldAccess
protected CtField fieldAccess(ASTree expr) throws CompileError(Code)



getConstantFieldValue
public static ASTree getConstantFieldValue(CtField f)(Code)



getMethodArgsLength
public int getMethodArgsLength(ASTList args)(Code)



getSuperName
protected String getSuperName() throws CompileError(Code)
Returns the JVM-internal representation of this super class name.



getThisName
protected String getThisName()(Code)
Returns the JVM-internal representation of this class name.



resolveClassName
protected String resolveClassName(ASTList name) throws CompileError(Code)



resolveClassName
protected String resolveClassName(String jvmName) throws CompileError(Code)



setReturnType
void setReturnType(String desc) throws CompileError(Code)



setThisMethod
public void setThisMethod(MethodInfo m)(Code)
Records the currently compiled method.



stripPlusExpr
static ASTree stripPlusExpr(ASTree expr)(Code)



typeToString
protected static StringBuffer typeToString(StringBuffer sbuf, int type, int dim, String cname)(Code)



Methods inherited from javassist.compiler.ast.Visitor
public void atASTList(ASTList n) throws CompileError(Code)(Java Doc)
public void atArrayInit(ArrayInit n) throws CompileError(Code)(Java Doc)
public void atAssignExpr(AssignExpr n) throws CompileError(Code)(Java Doc)
public void atBinExpr(BinExpr n) throws CompileError(Code)(Java Doc)
public void atCallExpr(CallExpr n) throws CompileError(Code)(Java Doc)
public void atCastExpr(CastExpr n) throws CompileError(Code)(Java Doc)
public void atCondExpr(CondExpr n) throws CompileError(Code)(Java Doc)
public void atDeclarator(Declarator n) throws CompileError(Code)(Java Doc)
public void atDoubleConst(DoubleConst n) throws CompileError(Code)(Java Doc)
public void atExpr(Expr n) throws CompileError(Code)(Java Doc)
public void atFieldDecl(FieldDecl n) throws CompileError(Code)(Java Doc)
public void atInstanceOfExpr(InstanceOfExpr n) throws CompileError(Code)(Java Doc)
public void atIntConst(IntConst n) throws CompileError(Code)(Java Doc)
public void atKeyword(Keyword n) throws CompileError(Code)(Java Doc)
public void atMember(Member n) throws CompileError(Code)(Java Doc)
public void atMethodDecl(MethodDecl n) throws CompileError(Code)(Java Doc)
public void atNewExpr(NewExpr n) throws CompileError(Code)(Java Doc)
public void atPair(Pair n) throws CompileError(Code)(Java Doc)
public void atStmnt(Stmnt n) throws CompileError(Code)(Java Doc)
public void atStringL(StringL n) throws CompileError(Code)(Java Doc)
public void atSymbol(Symbol n) throws CompileError(Code)(Java Doc)
public void atVariable(Variable n) throws CompileError(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.