|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.Literal
org.eclipse.jdt.internal.compiler.ast.MagicLiteral
org.eclipse.jdt.internal.compiler.ast.NullLiteral
public class NullLiteral
Field Summary |
---|
Fields inherited from class org.eclipse.jdt.internal.compiler.ast.Expression |
---|
constant, implicitConversion, resolvedType, statementEnd |
Constructor Summary | |
---|---|
NullLiteral(int s,
int e)
|
Method Summary | |
---|---|
void |
computeConstant()
|
void |
generateCode(BlockScope currentScope,
CodeStream codeStream,
boolean valueRequired)
Code generation for the null literal |
TypeBinding |
literalType(BlockScope scope)
|
int |
nullStatus(FlowInfo flowInfo)
|
java.lang.Object |
reusableJSRTarget()
Returns an object which can be used to identify identical JSR sequence targets (see TryStatement subroutine codegen) or null if not reusable |
char[] |
source()
|
void |
traverse(ASTVisitor visitor,
BlockScope scope)
|
Methods inherited from class org.eclipse.jdt.internal.compiler.ast.MagicLiteral |
---|
isValidJavaStatement |
Methods inherited from class org.eclipse.jdt.internal.compiler.ast.Literal |
---|
analyseCode, printExpression, resolveType |
Methods inherited from class org.eclipse.jdt.internal.compiler.ast.Statement |
---|
branchChainTo, complainIfUnreachable, generateArguments, isEmptyBlock, resolveCase |
Methods inherited from class org.eclipse.jdt.internal.compiler.ast.ASTNode |
---|
checkInvocationArguments, concreteStatement, isFieldUseDeprecated, isImplicitThis, isMethodUseDeprecated, isSuper, isThis, isTypeUseDeprecated, printAnnotations, printIndent, printModifiers, resolveAnnotations, resolveDeprecatedAnnotations, sourceEnd, sourceStart, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NullLiteral(int s, int e)
Method Detail |
---|
public void computeConstant()
computeConstant
in class Literal
public void generateCode(BlockScope currentScope, CodeStream codeStream, boolean valueRequired)
generateCode
in class Expression
currentScope
- org.eclipse.jdt.internal.compiler.lookup.BlockScopecodeStream
- org.eclipse.jdt.internal.compiler.codegen.CodeStreamvalueRequired
- booleanpublic TypeBinding literalType(BlockScope scope)
literalType
in class Literal
public int nullStatus(FlowInfo flowInfo)
nullStatus
in class Expression
public java.lang.Object reusableJSRTarget()
Expression
null if not reusable
- Overrides:
reusableJSRTarget
in class Expression
public char[] source()
source
in class MagicLiteral
public void traverse(ASTVisitor visitor, BlockScope scope)
traverse
in class Expression
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |