public class LazyOverrideCheckResult extends Object implements IOverrideCheckResult
IOverrideCheckResult.OverrideCheckDetails| Modifier and Type | Field and Description |
|---|---|
protected static EnumSet<IOverrideCheckResult.OverrideCheckDetails> |
overridingIfAnyOf |
protected static EnumSet<IOverrideCheckResult.OverrideCheckDetails> |
problemIfAnyOf |
| Constructor and Description |
|---|
LazyOverrideCheckResult(AbstractResolvedOperation thisOperation,
JvmOperation givenOperation,
IOverrideCheckResult.OverrideCheckDetails detail) |
| Modifier and Type | Method and Description |
|---|---|
protected EnumSet<IOverrideCheckResult.OverrideCheckDetails> |
getComputedDetails() |
EnumSet<IOverrideCheckResult.OverrideCheckDetails> |
getDetails()
Obtain details on the override check.
|
JvmOperation |
getGivenOperation()
The checked operation.
|
IResolvedOperation |
getThisOperation()
The overriding candidate.
|
boolean |
hasProblems()
Returns
true if there are problems in the checked method hierarchy, e.g. the return type needs
unchecked conversion. |
boolean |
isOverridingOrImplementing()
Returns
true if the current operation successfully overrides or implements the given operation. |
protected static final EnumSet<IOverrideCheckResult.OverrideCheckDetails> overridingIfAnyOf
protected static final EnumSet<IOverrideCheckResult.OverrideCheckDetails> problemIfAnyOf
public LazyOverrideCheckResult(AbstractResolvedOperation thisOperation, JvmOperation givenOperation, IOverrideCheckResult.OverrideCheckDetails detail)
public boolean isOverridingOrImplementing()
IOverrideCheckResulttrue if the current operation successfully overrides or implements the given operation.
Override state that is considered to be valid is:
isOverridingOrImplementing in interface IOverrideCheckResultpublic boolean hasProblems()
IOverrideCheckResulttrue if there are problems in the checked method hierarchy, e.g. the return type needs
unchecked conversion.hasProblems in interface IOverrideCheckResultpublic EnumSet<IOverrideCheckResult.OverrideCheckDetails> getDetails()
IOverrideCheckResultgetDetails in interface IOverrideCheckResultprotected EnumSet<IOverrideCheckResult.OverrideCheckDetails> getComputedDetails()
public IResolvedOperation getThisOperation()
IOverrideCheckResultgetThisOperation in interface IOverrideCheckResultpublic JvmOperation getGivenOperation()
IOverrideCheckResultgetGivenOperation in interface IOverrideCheckResultCopyright © 2015. All Rights Reserved.