类 org.eclipse.jdt.internal.compiler.ast.CastExpression
的使用

使用 CastExpression 的软件包
org.eclipse.jdt.internal.compiler   
org.eclipse.jdt.internal.compiler.ast   
org.eclipse.jdt.internal.compiler.problem   
 

org.eclipse.jdt.internal.compilerCastExpression 的使用
 

参数类型为 CastExpressionorg.eclipse.jdt.internal.compiler 中的方法
 void ASTVisitor.endVisit(CastExpression castExpression, BlockScope scope)
           
 boolean ASTVisitor.visit(CastExpression castExpression, BlockScope scope)
           
 

org.eclipse.jdt.internal.compiler.astCastExpression 的使用
 

参数类型为 CastExpressionorg.eclipse.jdt.internal.compiler.ast 中的方法
static void CastExpression.checkNeedForAssignedCast(BlockScope scope, TypeBinding expectedType, CastExpression rhs)
          Complain if assigned expression is cast, but not actually used as such, e.g.
static void CastExpression.checkNeedForCastCast(BlockScope scope, CastExpression enclosingCast)
          Complain if cast expression is cast, but not actually needed, int i = (int)(Integer) 12; Note that this (int) cast is however needed: Integer i = 0; char c = (char)((int) i);
 

org.eclipse.jdt.internal.compiler.problemCastExpression 的使用
 

参数类型为 CastExpressionorg.eclipse.jdt.internal.compiler.problem 中的方法
 void ProblemReporter.typeCastError(CastExpression expression, TypeBinding leftType, TypeBinding rightType)
           
 void ProblemReporter.unnecessaryCast(CastExpression castExpression)
           
 void ProblemReporter.unsafeCast(CastExpression castExpression, Scope scope)
           
 



Copyright © 2013. All Rights Reserved.