public abstract class AbstractOperationMatcher
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected EnvironmentFactoryInternal |
environmentFactory |
protected PivotMetamodelManager |
metamodelManager |
protected Type |
sourceType |
protected Type |
sourceTypeValue |
Modifier | Constructor and Description |
---|---|
protected |
AbstractOperationMatcher(EnvironmentFactoryInternal environmentFactory,
Type sourceType,
Type sourceTypeValue) |
Modifier and Type | Method and Description |
---|---|
protected int |
compareMatches(java.lang.Object match1,
TemplateParameterSubstitutions referenceBindings,
java.lang.Object match2,
TemplateParameterSubstitutions candidateBindings,
boolean useCoercions) |
java.util.List<Operation> |
getAmbiguities() |
protected abstract OCLExpression |
getArgument(int i) |
protected abstract int |
getArgumentCount() |
Operation |
getBestOperation(EssentialOCLCSLeft2RightVisitor.Invocations invocations,
boolean useCoercions) |
protected boolean |
isRedefinitionOf(Operation operation1,
Operation operation2) |
protected TemplateParameterSubstitutions |
matches(Operation candidateOperation,
boolean useCoercions) |
@NonNull protected final EnvironmentFactoryInternal environmentFactory
@NonNull protected final PivotMetamodelManager metamodelManager
protected int compareMatches(@NonNull java.lang.Object match1, @NonNull TemplateParameterSubstitutions referenceBindings, @NonNull java.lang.Object match2, @NonNull TemplateParameterSubstitutions candidateBindings, boolean useCoercions)
protected abstract OCLExpression getArgument(int i)
protected abstract int getArgumentCount()
@Nullable public Operation getBestOperation(@NonNull EssentialOCLCSLeft2RightVisitor.Invocations invocations, boolean useCoercions)
protected boolean isRedefinitionOf(@NonNull Operation operation1, @NonNull Operation operation2)
@Nullable protected TemplateParameterSubstitutions matches(@NonNull Operation candidateOperation, boolean useCoercions)