Java org.eclipse.jdt.internal.compiler.ast Expression fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jdt.internal.compiler.ast Expression fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jdt.internal.compiler.ast Expression.

The text is from its open source code.

Subclass

org.eclipse.jdt.internal.compiler.ast.Expression has subclasses.
Click this link to see all its subclasses.

Constructor

Method

FlowInfoanalyseCode(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.
voidcomputeConversion(Scope scope, TypeBinding runtimeType, TypeBinding compileTimeType)
Base types need that the widening is explicitly done by the compiler using some bytecode like i2f.
voidgenerateCode(BlockScope currentScope, CodeStream codeStream, boolean valueRequired)
Every expression is responsible for generating its implicit conversion when necessary.
booleanisTypeReference()
ConstantoptimizedBooleanConstant()
Constant usable for bytecode pattern optimizations, but cannot be inlined since it is not strictly equivalent to the definition of constant expressions.
StringBufferprint(int indent, StringBuffer output)
voidresolve(BlockScope scope)
TypeBindingresolveType(BlockScope scope)
Resolve the type of this expression in the context of a blockScope
TypeBindingresolveType(ClassScope scope)
Resolve the type of this expression in the context of a classScope
voidtraverse(ASTVisitor visitor, BlockScope scope)
Traverse an expression in the context of a blockScope
voidtraverse(ASTVisitor visitor, ClassScope scope)
Traverse an expression in the context of a classScope