|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
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.AllocationExpression
org.eclipse.jdt.internal.compiler.ast.QualifiedAllocationExpression
public class QualifiedAllocationExpression
Variation on allocation, where can optionally be specified any of: - leading enclosing instance - trailing anonymous type - generic type arguments for generic constructor invocation
| 字段摘要 | |
|---|---|
TypeDeclaration |
anonymousType
|
Expression |
enclosingInstance
|
| 从类 org.eclipse.jdt.internal.compiler.ast.AllocationExpression 继承的字段 |
|---|
arguments, binding, enumConstant, genericTypeArguments, inferredReturnType, type, typeArguments, typeExpected |
| 从类 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 |
| 构造方法摘要 | |
|---|---|
QualifiedAllocationExpression()
|
|
QualifiedAllocationExpression(TypeDeclaration anonymousType)
|
|
| 方法摘要 | |
|---|---|
FlowInfo |
analyseCode(BlockScope currentScope,
FlowContext flowContext,
FlowInfo flowInfo)
|
Expression |
enclosingInstance()
|
void |
generateCode(BlockScope currentScope,
CodeStream codeStream,
boolean valueRequired)
Every expression is responsible for generating its implicit conversion when necessary. |
boolean |
isSuperAccess()
|
void |
manageEnclosingInstanceAccessIfNecessary(BlockScope currentScope,
FlowInfo flowInfo)
|
StringBuffer |
printExpression(int indent,
StringBuffer output)
|
TypeBinding |
resolveType(BlockScope scope)
Resolve the type of this expression in the context of a blockScope |
void |
traverse(ASTVisitor visitor,
BlockScope scope)
Traverse an expression in the context of a blockScope |
| 从类 org.eclipse.jdt.internal.compiler.ast.AllocationExpression 继承的方法 |
|---|
checkCapturedLocalInitializationIfNecessary, checkTypeArgumentRedundancy, expectedType, genericTypeArguments, inferElidedTypes, isTypeAccess, manageSyntheticAccessIfNecessary, setActualReceiverType, setDepth, setExpectedType, setFieldIndex |
| 从类 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 enclosingInstance
public TypeDeclaration anonymousType
| 构造方法详细信息 |
|---|
public QualifiedAllocationExpression()
public QualifiedAllocationExpression(TypeDeclaration anonymousType)
| 方法详细信息 |
|---|
public FlowInfo analyseCode(BlockScope currentScope,
FlowContext flowContext,
FlowInfo flowInfo)
AllocationExpression 中的 analyseCodepublic Expression enclosingInstance()
AllocationExpression 中的 enclosingInstance
public void generateCode(BlockScope currentScope,
CodeStream codeStream,
boolean valueRequired)
Expression 复制的描述
AllocationExpression 中的 generateCodecurrentScope - org.eclipse.jdt.internal.compiler.lookup.BlockScopecodeStream - org.eclipse.jdt.internal.compiler.codegen.CodeStreamvalueRequired - booleanpublic boolean isSuperAccess()
InvocationSite 中的 isSuperAccessAllocationExpression 中的 isSuperAccess
public void manageEnclosingInstanceAccessIfNecessary(BlockScope currentScope,
FlowInfo flowInfo)
AllocationExpression 中的 manageEnclosingInstanceAccessIfNecessary
public StringBuffer printExpression(int indent,
StringBuffer output)
AllocationExpression 中的 printExpressionpublic TypeBinding resolveType(BlockScope scope)
Expression 复制的描述
AllocationExpression 中的 resolveType
public void traverse(ASTVisitor visitor,
BlockScope scope)
Expression 复制的描述
AllocationExpression 中的 traverse
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||