public interface ProblemDescriptionsProcessor
Modifier and Type | Method and Description |
---|---|
default void |
addProblemElement(RefEntity refEntity,
CommonProblemDescriptor... commonProblemDescriptors)
Registers a problem or several problems, with optional quickfixes, for the specified
reference graph node.
|
default CommonProblemDescriptor [] |
getDescriptions(RefEntity refEntity)
Returns the problems which have been collected for the specified reference graph node.
|
default RefEntity |
getElement(CommonProblemDescriptor descriptor) |
default void |
ignoreElement(RefEntity refEntity)
Drops all problems which have been collected for the specified reference graph node.
|
static void |
resolveAllProblemsInElement(ProblemDescriptionsProcessor processor,
RefEntity element) |
default void |
resolveProblem(CommonProblemDescriptor descriptor) |
default CommonProblemDescriptor [] getDescriptions(RefEntity refEntity)
refEntity
- the reference graph node.default void ignoreElement(RefEntity refEntity)
refEntity
- the reference graph node.default void resolveProblem(CommonProblemDescriptor descriptor)
default void addProblemElement(RefEntity refEntity, CommonProblemDescriptor... commonProblemDescriptors)
refEntity
- the reference graph node.commonProblemDescriptors
- the descriptors for the problems to register.default RefEntity getElement(CommonProblemDescriptor descriptor)
static void resolveAllProblemsInElement(ProblemDescriptionsProcessor processor, RefEntity element)