|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 CastExpression 的软件包 | |
|---|---|
| org.eclipse.jdt.internal.compiler | |
| org.eclipse.jdt.internal.compiler.ast | |
| org.eclipse.jdt.internal.compiler.problem | |
| org.eclipse.jdt.internal.compiler 中 CastExpression 的使用 |
|---|
| 参数类型为 CastExpression 的 org.eclipse.jdt.internal.compiler 中的方法 | |
|---|---|
void |
ASTVisitor.endVisit(CastExpression castExpression,
BlockScope scope)
|
boolean |
ASTVisitor.visit(CastExpression castExpression,
BlockScope scope)
|
| org.eclipse.jdt.internal.compiler.ast 中 CastExpression 的使用 |
|---|
| 参数类型为 CastExpression 的 org.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.problem 中 CastExpression 的使用 |
|---|
| 参数类型为 CastExpression 的 org.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)
|
|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||