public interface IPolyExpression
Invocation and InvocationSite. For most contracts "default" implementations are furnished by
Expression or Statement or by ASTNode and the poly expression should suitably override where required.PolyTypeBinding,
ExpressionContext| Modifier and Type | Method and Description |
|---|---|
ExpressionContext |
getExpressionContext() |
Expression[] |
getPolyExpressions() |
TypeBinding |
invocationTargetType() |
boolean |
isBoxingCompatibleWith(TypeBinding targetType,
Scope scope) |
boolean |
isCompatibleWith(TypeBinding targetType,
Scope scope) |
boolean |
isFunctionalType() |
boolean |
isPertinentToApplicability(TypeBinding targetType,
MethodBinding method) |
boolean |
isPolyExpression() |
boolean |
isPolyExpression(MethodBinding candidate) |
boolean |
isPotentiallyCompatibleWith(TypeBinding targetType,
Scope scope) |
Expression |
resolveExpressionExpecting(TypeBinding targetType,
Scope scope,
InferenceContext18 inferenceContext) |
TypeBinding |
resolveType(BlockScope blockScope) |
void |
setExpectedType(TypeBinding targetType) |
void |
setExpressionContext(ExpressionContext context) |
boolean |
sIsMoreSpecific(TypeBinding s,
TypeBinding t,
Scope skope) |
void setExpressionContext(ExpressionContext context)
ExpressionContext getExpressionContext()
void setExpectedType(TypeBinding targetType)
TypeBinding invocationTargetType()
boolean isPotentiallyCompatibleWith(TypeBinding targetType, Scope scope)
boolean isCompatibleWith(TypeBinding targetType, Scope scope)
boolean isBoxingCompatibleWith(TypeBinding targetType, Scope scope)
boolean sIsMoreSpecific(TypeBinding s, TypeBinding t, Scope skope)
boolean isPertinentToApplicability(TypeBinding targetType, MethodBinding method)
boolean isPolyExpression(MethodBinding candidate)
boolean isPolyExpression()
boolean isFunctionalType()
Expression[] getPolyExpressions()
TypeBinding resolveType(BlockScope blockScope)
Expression resolveExpressionExpecting(TypeBinding targetType, Scope scope, InferenceContext18 inferenceContext)