|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.eclipse.jdt.internal.compiler.ast.ASTNode
org.eclipse.jdt.internal.compiler.ast.Statement
org.eclipse.jdt.internal.compiler.ast.Expression
org.eclipse.jdt.internal.compiler.ast.MessageSend
public class MessageSend
| 从类 org.eclipse.jdt.internal.compiler.ast.Expression 继承的字段 |
|---|
constant, implicitConversion, resolvedType, statementEnd |
| 从类 org.eclipse.jdt.internal.compiler.ast.Statement 继承的字段 |
|---|
COMPLAINED_FAKE_REACHABLE, COMPLAINED_UNREACHABLE, NOT_COMPLAINED |
| 构造方法摘要 | |
|---|---|
MessageSend()
|
|
| 方法摘要 | |
|---|---|
FlowInfo |
analyseCode(BlockScope currentScope,
FlowContext flowContext,
FlowInfo flowInfo)
|
void |
computeConversion(Scope scope,
TypeBinding runtimeTimeType,
TypeBinding compileTimeType)
Base types need that the widening is explicitly done by the compiler using some bytecode like i2f. |
TypeBinding |
expectedType()
Implementation of InvocationSite.expectedType()
suitable at this level. |
void |
generateCode(BlockScope currentScope,
CodeStream codeStream,
boolean valueRequired)
MessageSend code generation |
TypeBinding[] |
genericTypeArguments()
|
boolean |
isSuperAccess()
|
boolean |
isTypeAccess()
|
void |
manageSyntheticAccessIfNecessary(BlockScope currentScope,
FlowInfo flowInfo)
|
int |
nullStatus(FlowInfo flowInfo)
|
TypeBinding |
postConversionType(Scope scope)
Returns the type of the expression after required implicit conversions. |
StringBuffer |
printExpression(int indent,
StringBuffer output)
|
TypeBinding |
resolveType(BlockScope scope)
Resolve the type of this expression in the context of a blockScope |
void |
setActualReceiverType(ReferenceBinding receiverType)
|
void |
setDepth(int depth)
|
void |
setExpectedType(TypeBinding expectedType)
Record the type expectation before this expression is typechecked. |
void |
setFieldIndex(int depth)
|
void |
traverse(ASTVisitor visitor,
BlockScope blockScope)
Traverse an expression in the context of a blockScope |
| 从类 org.eclipse.jdt.internal.compiler.ast.Statement 继承的方法 |
|---|
branchChainTo, checkAgainstNullAnnotation, complainIfUnreachable, generateArguments, isBoxingCompatible, isEmptyBlock, isKnowDeadCodePattern, isValidJavaStatement, resolveCase |
| 从类 org.eclipse.jdt.internal.compiler.ast.ASTNode 继承的方法 |
|---|
checkInvocationArguments, concreteStatement, isFieldUseDeprecated, isImplicitThis, isMethodUseDeprecated, isSuper, isThis, isTypeUseDeprecated, printAnnotations, printIndent, printModifiers, resolveAnnotations, resolveDeprecatedAnnotations, sourceEnd, sourceStart, toString |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 从接口 org.eclipse.jdt.internal.compiler.lookup.InvocationSite 继承的方法 |
|---|
sourceEnd, sourceStart |
| 字段详细信息 |
|---|
public Expression receiver
public char[] selector
public Expression[] arguments
public MethodBinding binding
public MethodBinding syntheticAccessor
public TypeBinding expectedType
public long nameSourcePosition
public TypeBinding actualReceiverType
public TypeBinding valueCast
public TypeReference[] typeArguments
public TypeBinding[] genericTypeArguments
| 构造方法详细信息 |
|---|
public MessageSend()
| 方法详细信息 |
|---|
public FlowInfo analyseCode(BlockScope currentScope,
FlowContext flowContext,
FlowInfo flowInfo)
Expression 中的 analyseCode
public void computeConversion(Scope scope,
TypeBinding runtimeTimeType,
TypeBinding compileTimeType)
Expression 复制的描述
Expression 中的 computeConversionExpression.computeConversion(org.eclipse.jdt.internal.compiler.lookup.Scope, org.eclipse.jdt.internal.compiler.lookup.TypeBinding, org.eclipse.jdt.internal.compiler.lookup.TypeBinding)
public void generateCode(BlockScope currentScope,
CodeStream codeStream,
boolean valueRequired)
Expression 中的 generateCodecurrentScope - org.eclipse.jdt.internal.compiler.lookup.BlockScopecodeStream - org.eclipse.jdt.internal.compiler.codegen.CodeStreamvalueRequired - booleanpublic TypeBinding[] genericTypeArguments()
InvocationSite 中的 genericTypeArgumentsInvocationSite.genericTypeArguments()public boolean isSuperAccess()
InvocationSite 中的 isSuperAccesspublic boolean isTypeAccess()
InvocationSite 中的 isTypeAccess
public void manageSyntheticAccessIfNecessary(BlockScope currentScope,
FlowInfo flowInfo)
public int nullStatus(FlowInfo flowInfo)
Expression 中的 nullStatuspublic TypeBinding postConversionType(Scope scope)
Expression 复制的描述
Expression 中的 postConversionTypeExpression.postConversionType(Scope)
public StringBuffer printExpression(int indent,
StringBuffer output)
Expression 中的 printExpressionpublic TypeBinding resolveType(BlockScope scope)
Expression 复制的描述
Expression 中的 resolveTypepublic void setActualReceiverType(ReferenceBinding receiverType)
InvocationSite 中的 setActualReceiverTypepublic void setDepth(int depth)
InvocationSite 中的 setDepthpublic void setExpectedType(TypeBinding expectedType)
Expression 复制的描述
Expression 中的 setExpectedTypeexpectedType - The type denoting an expectation in the context of an assignment conversionExpression.setExpectedType(org.eclipse.jdt.internal.compiler.lookup.TypeBinding)public void setFieldIndex(int depth)
InvocationSite 中的 setFieldIndexpublic TypeBinding expectedType()
Statement 复制的描述InvocationSite.expectedType()
suitable at this level. Subclasses should override as necessary.
InvocationSite 中的 expectedTypeStatement 中的 expectedTypeInvocationSite.expectedType()
public void traverse(ASTVisitor visitor,
BlockScope blockScope)
Expression 复制的描述
Expression 中的 traverse
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||