| java.lang.Object javassist.compiler.ast.Visitor javassist.compiler.TypeChecker javassist.compiler.JvstTypeChecker
Method Summary | |
public void | addNullIfVoid() | public void | atCallExpr(CallExpr expr) | public void | atCastExpr(CastExpr expr) | protected void | atCastToRtype(CastExpr expr) Inserts a cast operator to the return type. | protected void | atCastToWrapper(CastExpr expr) | protected void | atCflow(ASTList cname) | protected void | atFieldAssign(Expr expr, int op, ASTree left, ASTree right) | public void | atMember(Member mem) | public void | atMethodArgs(ASTList args, int[] types, int[] dims, String[] cnames) | void | compileInvokeSpecial(ASTree target, String classname, String methodname, String descriptor, ASTList args) | protected void | compileUnwrapValue(CtClass type) | public int | getMethodArgsLength(ASTList args) | public boolean | isParamListName(ASTList args) | public void | setType(CtClass type) |
addNullIfVoid | public void addNullIfVoid()(Code) | | |
atCastToRtype | protected void atCastToRtype(CastExpr expr) throws CompileError(Code) | | Inserts a cast operator to the return type.
If the return type is void, this does nothing.
|
getMethodArgsLength | public int getMethodArgsLength(ASTList args)(Code) | | |
isParamListName | public boolean isParamListName(ASTList args)(Code) | | |
Methods inherited from javassist.compiler.TypeChecker | protected static String argTypesToString(int[] types, int[] dims, String[] cnames)(Code)(Java Doc) public void atArrayInit(ArrayInit init) throws CompileError(Code)(Java Doc) public void atArrayLength(Expr expr) throws CompileError(Code)(Java Doc) public void atArrayRead(ASTree array, ASTree index) throws CompileError(Code)(Java Doc) public void atAssignExpr(AssignExpr expr) throws CompileError(Code)(Java Doc) public void atBinExpr(BinExpr expr) throws CompileError(Code)(Java Doc) public void atCallExpr(CallExpr expr) throws CompileError(Code)(Java Doc) public void atCastExpr(CastExpr expr) throws CompileError(Code)(Java Doc) public void atClassObject(Expr expr) throws CompileError(Code)(Java Doc) public void atCondExpr(CondExpr expr) throws CompileError(Code)(Java Doc) public void atDoubleConst(DoubleConst d) throws CompileError(Code)(Java Doc) public void atExpr(Expr expr) throws CompileError(Code)(Java Doc) protected void atFieldAssign(Expr expr, int op, ASTree left, ASTree right) throws CompileError(Code)(Java Doc) protected void atFieldPlusPlus(ASTree oprand) throws CompileError(Code)(Java Doc) public void atInstanceOfExpr(InstanceOfExpr expr) throws CompileError(Code)(Java Doc) public void atIntConst(IntConst i) throws CompileError(Code)(Java Doc) public void atKeyword(Keyword k) throws CompileError(Code)(Java Doc) public void atMember(Member mem) throws CompileError(Code)(Java Doc) public void atMethodArgs(ASTList args, int[] types, int[] dims, String[] cnames) throws CompileError(Code)(Java Doc) public MemberResolver.Method atMethodCallCore(CtClass targetClass, String mname, ASTList args) throws CompileError(Code)(Java Doc) protected void atMultiNewArray(int type, ASTList classname, ASTList size) throws CompileError(Code)(Java Doc) public void atNewArrayExpr(NewExpr expr) throws CompileError(Code)(Java Doc) public void atNewExpr(NewExpr expr) throws CompileError(Code)(Java Doc) public void atStringL(StringL s) throws CompileError(Code)(Java Doc) public void atVariable(Variable v) throws CompileError(Code)(Java Doc) protected static void fatal() throws CompileError(Code)(Java Doc) protected CtField fieldAccess(ASTree expr) throws CompileError(Code)(Java Doc) public static ASTree getConstantFieldValue(CtField f)(Code)(Java Doc) public int getMethodArgsLength(ASTList args)(Code)(Java Doc) protected String getSuperName() throws CompileError(Code)(Java Doc) protected String getThisName()(Code)(Java Doc) protected String resolveClassName(ASTList name) throws CompileError(Code)(Java Doc) protected String resolveClassName(String jvmName) throws CompileError(Code)(Java Doc) void setReturnType(String desc) throws CompileError(Code)(Java Doc) public void setThisMethod(MethodInfo m)(Code)(Java Doc) static ASTree stripPlusExpr(ASTree expr)(Code)(Java Doc) protected static StringBuffer typeToString(StringBuffer sbuf, int type, int dim, String cname)(Code)(Java Doc)
|
|
|