io.sarl.lang.typesystem.cast
Class SuspiciousOverloadedCastOperatorLinkingCandidate
All Superinterfaces:
ICastOperatorLinkingCandidate, org.eclipse.xtext.xbase.typesystem.computation.IApplicableCandidate, org.eclipse.xtext.xbase.typesystem.computation.ILinkingCandidate, org.eclipse.xtext.xbase.typesystem.computation.ISuspiciouslyOverloadedCandidate
class SuspiciousOverloadedCastOperatorLinkingCandidate
extends java.lang.Object
implements org.eclipse.xtext.xbase.typesystem.computation.ISuspiciouslyOverloadedCandidate, ICastOperatorLinkingCandidate
Ambiguous linking candidate for cast operator.
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
compiler
Since:
0.9
Property Summary
Modifier and type Property and description
org.eclipse.xtext.xbase.XExpression argument
CastOperatorLinkingCandidate chosenCandidate
org.eclipse.xtext.xbase.XExpression expression
org.eclipse.xtext.common.types.JvmIdentifiableElement feature
org.eclipse.xtext.common.types.JvmOperation operation
org.eclipse.xtext.xbase.XExpression receiver
CastOperatorLinkingCandidate rejectedCandidate
java.util.List<E> typeArguments
Constructor Summary
Constructor and description
new(CastOperatorLinkingCandidate,CastOperatorLinkingCandidate)
Constructor.
Action Summary
Modifier and type Action and description
void applyToComputationState
void applyToModel(IResolvedTypes)
org.eclipse.xtext.xbase.XExpression getArgument
CastOperatorLinkingCandidate getChosenCandidate
org.eclipse.xtext.xbase.XExpression getExpression
org.eclipse.xtext.common.types.JvmIdentifiableElement getFeature
org.eclipse.xtext.common.types.JvmOperation getOperation
org.eclipse.xtext.xbase.typesystem.computation.ILinkingCandidate getPreferredCandidate(ILinkingCandidate)
org.eclipse.xtext.xbase.XExpression getReceiver
CastOperatorLinkingCandidate getRejectedCandidate
java.util.List<E> getTypeArguments
boolean validate(IAcceptor<T>)
Property Details
argument
val argument : org.eclipse.xtext.xbase.XExpression

This property is an alias for the action: getArgument

chosenCandidate
val chosenCandidate : CastOperatorLinkingCandidate

This property is an alias for the action: getChosenCandidate

expression
val expression : org.eclipse.xtext.xbase.XExpression

This property is an alias for the action: getExpression

feature
val feature : org.eclipse.xtext.common.types.JvmIdentifiableElement

This property is an alias for the action: getFeature

operation
val operation : org.eclipse.xtext.common.types.JvmOperation

This property is an alias for the action: getOperation

receiver
val receiver : org.eclipse.xtext.xbase.XExpression

This property is an alias for the action: getReceiver

rejectedCandidate
val rejectedCandidate : CastOperatorLinkingCandidate

This property is an alias for the action: getRejectedCandidate

typeArguments
val typeArguments : java.util.List<E>

This property is an alias for the action: getTypeArguments

Constructor Details
new(CastOperatorLinkingCandidate,CastOperatorLinkingCandidate)
protected new(CastOperatorLinkingCandidate,CastOperatorLinkingCandidate)
Constructor.
Parameters:
chosenCandidate - the candidate that is chosen.
rejectedCandidate - the candidate that is chosen.
Action Details
applyToComputationState
def applyToComputationState
applyToModel(IResolvedTypes)
def applyToModel(IResolvedTypes)
getArgument
def getArgument : org.eclipse.xtext.xbase.XExpression
getChosenCandidate
def getChosenCandidate : CastOperatorLinkingCandidate
getExpression
def getExpression : org.eclipse.xtext.xbase.XExpression
getFeature
def getFeature : org.eclipse.xtext.common.types.JvmIdentifiableElement
getOperation
def getOperation : org.eclipse.xtext.common.types.JvmOperation
getPreferredCandidate(ILinkingCandidate)
def getPreferredCandidate(ILinkingCandidate) : org.eclipse.xtext.xbase.typesystem.computation.ILinkingCandidate
getReceiver
def getReceiver : org.eclipse.xtext.xbase.XExpression
getRejectedCandidate
def getRejectedCandidate : CastOperatorLinkingCandidate
getTypeArguments
def getTypeArguments : java.util.List<E>
validate(IAcceptor<T>)
def validate(IAcceptor<T>) : boolean