|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.eclipse.jdt.internal.compiler.ast.ASTNode
org.eclipse.jdt.internal.compiler.ast.Statement
org.eclipse.jdt.internal.compiler.ast.AbstractVariableDeclaration
org.eclipse.jdt.internal.compiler.ast.FieldDeclaration
org.eclipse.jdt.internal.compiler.ast.Initializer
public class Initializer
| 字段摘要 | |
|---|---|
Block |
block
|
int |
bodyEnd
|
int |
bodyStart
|
int |
lastVisibleFieldID
|
| 从类 org.eclipse.jdt.internal.compiler.ast.FieldDeclaration 继承的字段 |
|---|
binding, endPart1Position, endPart2Position, javadoc |
| 从类 org.eclipse.jdt.internal.compiler.ast.AbstractVariableDeclaration 继承的字段 |
|---|
annotations, declarationEnd, declarationSourceEnd, declarationSourceStart, ENUM_CONSTANT, FIELD, hiddenVariableDepth, initialization, INITIALIZER, LOCAL_VARIABLE, modifiers, modifiersSourceStart, name, PARAMETER, type, TYPE_PARAMETER |
| 从类 org.eclipse.jdt.internal.compiler.ast.Statement 继承的字段 |
|---|
COMPLAINED_FAKE_REACHABLE, COMPLAINED_UNREACHABLE, NOT_COMPLAINED |
| 构造方法摘要 | |
|---|---|
Initializer(Block block,
int modifiers)
|
|
| 方法摘要 | |
|---|---|
FlowInfo |
analyseCode(MethodScope currentScope,
FlowContext flowContext,
FlowInfo flowInfo)
|
void |
generateCode(BlockScope currentScope,
CodeStream codeStream)
Code generation for a non-static initializer: standard block code gen |
int |
getKind()
Returns the constant kind of this variable declaration |
boolean |
isStatic()
|
void |
parseStatements(Parser parser,
TypeDeclaration typeDeclaration,
CompilationUnitDeclaration unit)
|
StringBuffer |
printStatement(int indent,
StringBuffer output)
|
void |
resolve(MethodScope scope)
|
void |
traverse(ASTVisitor visitor,
MethodScope scope)
|
| 从类 org.eclipse.jdt.internal.compiler.ast.AbstractVariableDeclaration 继承的方法 |
|---|
analyseCode, genericTypeArguments, isSuperAccess, isTypeAccess, printAsExpression, resolve, setActualReceiverType, setDepth, setFieldIndex |
| 从类 org.eclipse.jdt.internal.compiler.ast.Statement 继承的方法 |
|---|
branchChainTo, checkAgainstNullAnnotation, complainIfUnreachable, expectedType, generateArguments, isBoxingCompatible, isEmptyBlock, isKnowDeadCodePattern, isValidJavaStatement, print, resolveCase |
| 从类 org.eclipse.jdt.internal.compiler.ast.ASTNode 继承的方法 |
|---|
checkInvocationArguments, concreteStatement, isFieldUseDeprecated, isImplicitThis, isMethodUseDeprecated, isSuper, isThis, isTypeUseDeprecated, printAnnotations, printIndent, printModifiers, resolveAnnotations, resolveDeprecatedAnnotations, sourceEnd, sourceStart, toString, traverse |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 从接口 org.eclipse.jdt.internal.compiler.lookup.InvocationSite 继承的方法 |
|---|
expectedType, sourceEnd, sourceStart |
| 字段详细信息 |
|---|
public Block block
public int lastVisibleFieldID
public int bodyStart
public int bodyEnd
| 构造方法详细信息 |
|---|
public Initializer(Block block,
int modifiers)
| 方法详细信息 |
|---|
public FlowInfo analyseCode(MethodScope currentScope,
FlowContext flowContext,
FlowInfo flowInfo)
FieldDeclaration 中的 analyseCode
public void generateCode(BlockScope currentScope,
CodeStream codeStream)
FieldDeclaration 中的 generateCodecurrentScope - org.eclipse.jdt.internal.compiler.lookup.BlockScopecodeStream - org.eclipse.jdt.internal.compiler.codegen.CodeStreampublic int getKind()
AbstractVariableDeclaration 复制的描述
FieldDeclaration 中的 getKindAbstractVariableDeclaration.getKind()public boolean isStatic()
FieldDeclaration 中的 isStatic
public void parseStatements(Parser parser,
TypeDeclaration typeDeclaration,
CompilationUnitDeclaration unit)
public StringBuffer printStatement(int indent,
StringBuffer output)
FieldDeclaration 中的 printStatementpublic void resolve(MethodScope scope)
FieldDeclaration 中的 resolve
public void traverse(ASTVisitor visitor,
MethodScope scope)
FieldDeclaration 中的 traverse
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||