Example usage for Java org.eclipse.jdt.internal.compiler.ast Expression fields, constructors, methods, implement or subclass
The text is from its open source code.
FlowInfo | analyseCode(BlockScope currentScope, FlowContext flowContext, FlowInfo flowInfo, boolean valueRequired) More sophisticated for of the flow analysis used for analyzing expressions, and be able to optimize out portions of expressions where no actual value is required. |
void | computeConversion(Scope scope, TypeBinding runtimeType, TypeBinding compileTimeType) Base types need that the widening is explicitly done by the compiler using some bytecode like i2f. |
void | generateCode(BlockScope currentScope, CodeStream codeStream, boolean valueRequired) Every expression is responsible for generating its implicit conversion when necessary. |
boolean | isTypeReference() |
Constant | optimizedBooleanConstant() Constant usable for bytecode pattern optimizations, but cannot be inlined since it is not strictly equivalent to the definition of constant expressions. |
StringBuffer | print(int indent, StringBuffer output) |
void | resolve(BlockScope scope) |
TypeBinding | resolveType(BlockScope scope) Resolve the type of this expression in the context of a blockScope |
TypeBinding | resolveType(ClassScope scope) Resolve the type of this expression in the context of a classScope |
void | traverse(ASTVisitor visitor, BlockScope scope) Traverse an expression in the context of a blockScope |
void | traverse(ASTVisitor visitor, ClassScope scope) Traverse an expression in the context of a classScope |