Commits

Jan Lahoda committed d60236b

Adding a reasonable toString.

Comments (0)

Files changed (1)

api/src/org/netbeans/modules/jackpot30/spi/HintDescription.java

     static HintDescription create(String displayName, Kind triggerKind, Worker worker) {
         return new HintDescription(displayName, triggerKind, null, worker);
     }
-    
+
+    @Override
+    public String toString() {
+        return "[HintDescription:" + getTriggerPattern().getPattern()+ "]";
+    }
+
     public static final class PatternDescription {
         
         private final String pattern;