Interface IOverrideCheckResult
-
- All Known Implementing Classes:
LazyOverrideCheckResult
public interface IOverrideCheckResultThe result of a check for a method override relationship.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIOverrideCheckResult.OverrideCheckDetails
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.EnumSet<IOverrideCheckResult.OverrideCheckDetails>getDetails()Obtain details on the override check.org.eclipse.xtext.common.types.JvmOperationgetGivenOperation()The checked operation.IResolvedOperationgetThisOperation()The overriding candidate.booleanhasProblems()Returnstrueif there are problems in the checked method hierarchy, e.g.booleanisOverridingOrImplementing()Returnstrueif the current operation successfully overrides or implements the given operation.
-
-
-
Method Detail
-
isOverridingOrImplementing
boolean isOverridingOrImplementing()
Returnstrueif the current operation successfully overrides or implements the given operation. Override state that is considered to be valid is:
-
hasProblems
boolean hasProblems()
Returnstrueif there are problems in the checked method hierarchy, e.g. the return type needs unchecked conversion.
-
getDetails
java.util.EnumSet<IOverrideCheckResult.OverrideCheckDetails> getDetails()
Obtain details on the override check.
-
getThisOperation
IResolvedOperation getThisOperation()
The overriding candidate.
-
getGivenOperation
org.eclipse.xtext.common.types.JvmOperation getGivenOperation()
The checked operation.
-
-