|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Expression in org.eclipse.jdt.internal.compiler.ast |
---|
Methods in org.eclipse.jdt.internal.compiler.ast that return Expression | |
---|---|
Expression |
QualifiedAllocationExpression.enclosingInstance()
|
Expression |
AllocationExpression.enclosingInstance()
|
Expression |
CastExpression.innermostCastedExpression()
|
Expression |
Expression.toTypeReference()
|
Methods in org.eclipse.jdt.internal.compiler.ast with parameters of type Expression | |
---|---|
boolean |
Expression.checkCastTypesCompatibility(Scope scope,
TypeBinding castType,
TypeBinding expressionType,
Expression expression)
Returns false if cast is not legal. |
static boolean |
ASTNode.checkInvocationArguments(BlockScope scope,
Expression receiver,
TypeBinding receiverType,
MethodBinding method,
Expression[] arguments,
TypeBinding[] argumentTypes,
boolean argsContainCast,
InvocationSite invocationSite)
|
static boolean |
ASTNode.checkInvocationArguments(BlockScope scope,
Expression receiver,
TypeBinding receiverType,
MethodBinding method,
Expression[] arguments,
TypeBinding[] argumentTypes,
boolean argsContainCast,
InvocationSite invocationSite)
|
static void |
CastExpression.checkNeedForArgumentCast(BlockScope scope,
int operator,
int operatorSignature,
Expression expression,
int expressionTypeId)
Only complain for identity cast, since other type of casts may be useful: e.g. |
static void |
CastExpression.checkNeedForArgumentCasts(BlockScope scope,
Expression receiver,
TypeBinding receiverType,
MethodBinding binding,
Expression[] arguments,
TypeBinding[] argumentTypes,
InvocationSite invocationSite)
Cast expressions will considered as useful if removing them all would actually bind to a different method (no fine grain analysis on per casted argument basis, simply separate widening cast from narrowing ones) |
static void |
CastExpression.checkNeedForArgumentCasts(BlockScope scope,
Expression receiver,
TypeBinding receiverType,
MethodBinding binding,
Expression[] arguments,
TypeBinding[] argumentTypes,
InvocationSite invocationSite)
Cast expressions will considered as useful if removing them all would actually bind to a different method (no fine grain analysis on per casted argument basis, simply separate widening cast from narrowing ones) |
static void |
CastExpression.checkNeedForArgumentCasts(BlockScope scope,
int operator,
int operatorSignature,
Expression left,
int leftTypeId,
boolean leftIsCast,
Expression right,
int rightTypeId,
boolean rightIsCast)
Check binary operator casted arguments |
static void |
CastExpression.checkNeedForEnclosingInstanceCast(BlockScope scope,
Expression enclosingInstance,
TypeBinding enclosingInstanceType,
TypeBinding memberType)
Casting an enclosing instance will considered as useful if removing it would actually bind to a different type |
void |
Statement.generateArguments(MethodBinding binding,
Expression[] arguments,
BlockScope currentScope,
CodeStream codeStream)
Generate invocation arguments, considering varargs methods |
void |
ThisReference.generateCompoundAssignment(BlockScope currentScope,
CodeStream codeStream,
Expression expression,
int operator,
int assignmentImplicitConversion,
boolean valueRequired)
|
void |
SingleNameReference.generateCompoundAssignment(BlockScope currentScope,
CodeStream codeStream,
Expression expression,
int operator,
int assignmentImplicitConversion,
boolean valueRequired)
|
abstract void |
Reference.generateCompoundAssignment(BlockScope currentScope,
CodeStream codeStream,
Expression expression,
int operator,
int assignmentImplicitConversion,
boolean valueRequired)
|
void |
QualifiedNameReference.generateCompoundAssignment(BlockScope currentScope,
CodeStream codeStream,
Expression expression,
int operator,
int assignmentImplicitConversion,
boolean valueRequired)
|
void |
FieldReference.generateCompoundAssignment(BlockScope currentScope,
CodeStream codeStream,
Expression expression,
int operator,
int assignmentImplicitConversion,
boolean valueRequired)
|
void |
ArrayReference.generateCompoundAssignment(BlockScope currentScope,
CodeStream codeStream,
Expression expression,
int operator,
int assignmentImplicitConversion,
boolean valueRequired)
|
void |
SingleNameReference.generateCompoundAssignment(BlockScope currentScope,
CodeStream codeStream,
MethodBinding writeAccessor,
Expression expression,
int operator,
int assignmentImplicitConversion,
boolean valueRequired)
|
static Binding |
Expression.getDirectBinding(Expression someExpression)
|
protected boolean |
Statement.isBoxingCompatible(TypeBinding expressionType,
TypeBinding targetType,
Expression expression,
Scope scope)
|
protected static boolean |
Statement.isKnowDeadCodePattern(Expression expression)
Answers true if the if is identified as a known coding pattern which should be tolerated by dead code analysis. |
Constructors in org.eclipse.jdt.internal.compiler.ast with parameters of type Expression | |
---|---|
AND_AND_Expression(Expression left,
Expression right,
int operator)
|
|
ArrayReference(Expression rec,
Expression pos)
|
|
AssertStatement(Expression exceptionArgument,
Expression assertExpression,
int startPosition)
|
|
AssertStatement(Expression assertExpression,
int startPosition)
|
|
Assignment(Expression lhs,
Expression expression,
int sourceEnd)
|
|
BinaryExpression(Expression left,
Expression right,
int operator)
|
|
CaseStatement(Expression constantExpression,
int sourceEnd,
int sourceStart)
|
|
CastExpression(Expression expression,
TypeReference type)
|
|
CombinedBinaryExpression(Expression left,
Expression right,
int operator,
int arity)
Make a new CombinedBinaryExpression. |
|
CompoundAssignment(Expression lhs,
Expression expression,
int operator,
int sourceEnd)
|
|
ConditionalExpression(Expression condition,
Expression valueIfTrue,
Expression valueIfFalse)
|
|
DoStatement(Expression condition,
Statement action,
int sourceStart,
int sourceEnd)
|
|
EqualExpression(Expression left,
Expression right,
int operator)
|
|
ForStatement(Statement[] initializations,
Expression condition,
Statement[] increments,
Statement action,
boolean neededScope,
int s,
int e)
|
|
IfStatement(Expression condition,
Statement thenStatement,
int sourceStart,
int sourceEnd)
|
|
IfStatement(Expression condition,
Statement thenStatement,
Statement elseStatement,
int sourceStart,
int sourceEnd)
|
|
InstanceOfExpression(Expression expression,
TypeReference type)
|
|
MemberValuePair(char[] token,
int sourceStart,
int sourceEnd,
Expression value)
|
|
OR_OR_Expression(Expression left,
Expression right,
int operator)
|
|
PostfixExpression(Expression lhs,
Expression expression,
int operator,
int pos)
|
|
PrefixExpression(Expression lhs,
Expression expression,
int operator,
int pos)
PrefixExpression constructor comment. |
|
ReturnStatement(Expression expression,
int sourceStart,
int sourceEnd)
|
|
SynchronizedStatement(Expression expression,
Block statement,
int s,
int e)
|
|
ThrowStatement(Expression exception,
int sourceStart,
int sourceEnd)
|
|
UnaryExpression(Expression expression,
int operator)
|
|
WhileStatement(Expression condition,
Statement action,
int s,
int e)
|
Uses of Expression in org.eclipse.jdt.internal.compiler.codegen |
---|
Methods in org.eclipse.jdt.internal.compiler.codegen with parameters of type Expression | |
---|---|
void |
CodeStream.generateReturnBytecode(Expression expression)
|
void |
CodeStream.generateStringConcatenationAppend(BlockScope blockScope,
Expression oper1,
Expression oper2)
The equivalent code performs a string conversion: |
void |
CodeStream.generateSyntheticEnclosingInstanceValues(BlockScope currentScope,
ReferenceBinding targetType,
Expression enclosingInstance,
ASTNode invocationSite)
Code responsible to generate the suitable code to supply values for the synthetic enclosing instance arguments of a constructor invocation of a nested type. |
Uses of Expression in org.eclipse.jdt.internal.compiler.flow |
---|
Methods in org.eclipse.jdt.internal.compiler.flow with parameters of type Expression | |
---|---|
protected void |
LoopingFlowContext.recordNullReference(LocalVariableBinding local,
Expression expression,
int status)
|
protected void |
FlowContext.recordNullReference(LocalVariableBinding local,
Expression expression,
int status)
Record a null reference for use by deferred checks. |
protected void |
FinallyFlowContext.recordNullReference(LocalVariableBinding local,
Expression expression,
int status)
|
void |
LoopingFlowContext.recordUsingNullReference(Scope scope,
LocalVariableBinding local,
Expression reference,
int checkType,
FlowInfo flowInfo)
|
void |
FlowContext.recordUsingNullReference(Scope scope,
LocalVariableBinding local,
Expression reference,
int checkType,
FlowInfo flowInfo)
Record a null reference for use by deferred checks. |
void |
FinallyFlowContext.recordUsingNullReference(Scope scope,
LocalVariableBinding local,
Expression reference,
int checkType,
FlowInfo flowInfo)
|
Uses of Expression in org.eclipse.jdt.internal.compiler.lookup |
---|
Methods in org.eclipse.jdt.internal.compiler.lookup with parameters of type Expression | |
---|---|
static Object |
ElementValuePair.getValue(Expression expression)
|
Constructors in org.eclipse.jdt.internal.compiler.lookup with parameters of type Expression | |
---|---|
ElementValuePair(char[] name,
Expression expression,
MethodBinding binding)
|
Uses of Expression in org.eclipse.jdt.internal.compiler.parser |
---|
Fields in org.eclipse.jdt.internal.compiler.parser declared as Expression | |
---|---|
protected Expression[] |
Parser.expressionStack
|
Methods in org.eclipse.jdt.internal.compiler.parser that return Expression | |
---|---|
protected Expression |
Parser.getTypeReference(Expression exp)
|
Expression |
Parser.parseExpression(char[] source,
int offset,
int length,
CompilationUnitDeclaration unit)
|
Expression |
Parser.parseMemberValue(char[] source,
int offset,
int length,
CompilationUnitDeclaration unit)
|
Methods in org.eclipse.jdt.internal.compiler.parser with parameters of type Expression | |
---|---|
protected Expression |
Parser.getTypeReference(Expression exp)
|
protected void |
Parser.pushOnExpressionStack(Expression expr)
|
protected void |
Parser.updateSourcePosition(Expression exp)
|
Uses of Expression in org.eclipse.jdt.internal.compiler.problem |
---|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |