Package jetbrains.mps.errors
Class NullErrorReporter
- java.lang.Object
 - 
- jetbrains.mps.errors.NullErrorReporter
 
 
- 
- All Implemented Interfaces:
 IErrorReporter
@Deprecated public class NullErrorReporter extends Object implements IErrorReporter
Deprecated. 
- 
- 
Constructor Summary
Constructors Constructor Description NullErrorReporter()Deprecated. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddIntentionProvider(QuickFixProvider intentionProvider)Deprecated.voidadditionalRule(SNodeReference rulePointer)Deprecated.List<SNodeReference>getAdditionalRulesIds()Deprecated.MessageTargetgetErrorTarget()Deprecated.List<QuickFixProvider>getIntentionProviders()Deprecated.MessageStatusgetMessageStatus()Deprecated.SNodeReferencegetRuleNode()Deprecated.SNodegetSNode()Deprecated.There's no guarantee this method returns a valid node if used in a model read different from the one this reporter originates from.StringreportError()Deprecated. 
 - 
 
- 
- 
Method Detail
- 
reportError
public String reportError()
Deprecated.- Specified by:
 reportErrorin interfaceIErrorReporter
 
- 
getRuleNode
@Nullable public SNodeReference getRuleNode()
Deprecated.- Specified by:
 getRuleNodein interfaceIErrorReporter
 
- 
additionalRule
public void additionalRule(@NotNull SNodeReference rulePointer)
Deprecated.- Specified by:
 additionalRulein interfaceIErrorReporter- Parameters:
 rulePointer- pointer to a rule that adds extra meaning to reported error
 
- 
getAdditionalRulesIds
public List<SNodeReference> getAdditionalRulesIds()
Deprecated.- Specified by:
 getAdditionalRulesIdsin interfaceIErrorReporter
 
- 
getMessageStatus
public MessageStatus getMessageStatus()
Deprecated.- Specified by:
 getMessageStatusin interfaceIErrorReporter
 
- 
getIntentionProviders
public List<QuickFixProvider> getIntentionProviders()
Deprecated.- Specified by:
 getIntentionProvidersin interfaceIErrorReporter
 
- 
addIntentionProvider
public void addIntentionProvider(QuickFixProvider intentionProvider)
Deprecated.- Specified by:
 addIntentionProviderin interfaceIErrorReporter
 
- 
getErrorTarget
public MessageTarget getErrorTarget()
Deprecated.- Specified by:
 getErrorTargetin interfaceIErrorReporter
 
- 
getSNode
@NotNull public SNode getSNode()
Deprecated.Description copied from interface:IErrorReporterThere's no guarantee this method returns a valid node if used in a model read different from the one this reporter originates from. IOW, you are safe to access this node provided you're in the same read. If you need to pass node value to another read, please useSNodeReferenceinstead.- Specified by:
 getSNodein interfaceIErrorReporter
 
 - 
 
 -