]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/console/ErrorAnnotation.java
LabelDecorator.decorateLabel can return null
[simantics/platform.git] / bundles / org.simantics.scl.ui / src / org / simantics / scl / ui / console / ErrorAnnotation.java
1 package org.simantics.scl.ui.console;
2
3 public class ErrorAnnotation {
4     public static final ErrorAnnotation[] EMPTY_ARRAY = new ErrorAnnotation[0];
5     
6     public int start;
7     public int end;
8     public final String description;        
9     
10     public ErrorAnnotation(int start, int end, String description) {
11         this.start = start;
12         this.end = end;
13         this.description = description;
14     }
15 }