|
||||||||||
| 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 |
boolean |
isDeclaredMonoNonNull()
|
boolean |
isDeclaredNonNull()
|
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)
Traverse an expression in the context of a blockScope |
| 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 |
|---|
equals, 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 ExpressioncurrentScope - org.eclipse.jdt.internal.compiler.lookup.BlockScopecodeStream - org.eclipse.jdt.internal.compiler.codegen.CodeStreamvalueRequired - booleanpublic TypeBinding literalType(BlockScope scope)
literalType in class Literalpublic int nullStatus(FlowInfo flowInfo)
nullStatus in class Expressionpublic boolean isDeclaredNonNull()
isDeclaredNonNull in class Expressionpublic boolean isDeclaredMonoNonNull()
isDeclaredMonoNonNull in class Expressionpublic java.lang.Object reusableJSRTarget()
Expressionnull if not reusable
- Overrides:
reusableJSRTarget in class Expression
public char[] source()
source in class MagicLiteral
public void traverse(ASTVisitor visitor,
BlockScope scope)
Expression
traverse in class Expression
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||