Class ConflictingDefaultOperation
- java.lang.Object
-
- org.eclipse.xtext.xbase.typesystem.override.AbstractResolvedFeature<T>
-
- org.eclipse.xtext.xbase.typesystem.override.AbstractResolvedExecutable<org.eclipse.xtext.common.types.JvmOperation>
-
- org.eclipse.xtext.xbase.typesystem.override.AbstractResolvedOperation
-
- org.eclipse.xtext.xbase.typesystem.override.BottomResolvedOperation
-
- org.eclipse.xtext.xbase.typesystem.override.ConflictingDefaultOperation
-
- All Implemented Interfaces:
IResolvedExecutable
,IResolvedFeature
,IResolvedOperation
public class ConflictingDefaultOperation extends BottomResolvedOperation
A resolved representation of aJvmOperation
with a conflict between two or more independent declarations of default interface implementations (Java 8) with equal raw signature.
-
-
Constructor Summary
Constructors Constructor Description ConflictingDefaultOperation(org.eclipse.xtext.common.types.JvmOperation declaration, LightweightTypeReference contextType, OverrideTester overrideTester, IResolvedOperation... conflictingOperations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<IResolvedOperation>
getConflictingOperations()
Returns the operations that are in conflict with the receiver.-
Methods inherited from class org.eclipse.xtext.xbase.typesystem.override.BottomResolvedOperation
getAsBottom, getBottom, getOverrideCheckResult, getOverrideTester, isBottomInContext
-
Methods inherited from class org.eclipse.xtext.xbase.typesystem.override.AbstractResolvedOperation
createResolvedOperationInHierarchy, getIllegallyDeclaredExceptions, getOverriddenAndImplementedMethodCandidates, getOverriddenAndImplementedMethods, getOverriddenMethod, getResolvedReturnType, getResolvedTypeParameterConstraints, getResolvedTypeParameters, isIllegallyDeclaredException, isOverridingOrImplementing, isRawTypeInheritance, isResolvedTypeParameter
-
Methods inherited from class org.eclipse.xtext.xbase.typesystem.override.AbstractResolvedExecutable
getResolvedErasureSignature, getResolvedExceptions, getResolvedParameterTypes, getResolvedSignature, getSimpleSignature, getTypeParameters, toString
-
Methods inherited from class org.eclipse.xtext.xbase.typesystem.override.AbstractResolvedFeature
computeContextTypeParameterMapping, getContextType, getContextTypeParameterMapping, getDeclaration, getResolvedDeclarator, getResolvedReference, getResolvedReferences, getSubstitutor, isResolvedTypeParameter
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.xtext.xbase.typesystem.override.IResolvedExecutable
getResolvedExceptions, getResolvedParameterTypes, getTypeParameters
-
Methods inherited from interface org.eclipse.xtext.xbase.typesystem.override.IResolvedFeature
getContextType, getResolvedDeclarator, getResolvedErasureSignature, getResolvedSignature, getSimpleSignature
-
Methods inherited from interface org.eclipse.xtext.xbase.typesystem.override.IResolvedOperation
getDeclaration
-
-
-
-
Constructor Detail
-
ConflictingDefaultOperation
public ConflictingDefaultOperation(org.eclipse.xtext.common.types.JvmOperation declaration, LightweightTypeReference contextType, OverrideTester overrideTester, IResolvedOperation... conflictingOperations)
-
-
Method Detail
-
getConflictingOperations
public java.util.List<IResolvedOperation> getConflictingOperations()
Returns the operations that are in conflict with the receiver. This does not include the receiver itself. The elements in the returned list are not necessarily in conflict with each other: the receiver is usually non-abstract, but the conflicting operations can be abstract.
-
-