1 19 package org.netbeans.api.gsf; 20 21 import org.openide.filesystems.FileObject; 22 23 31 public final class ParseEvent 32 { 33 37 public enum Kind { 38 41 PARSE, 42 45 ENTER, 46 49 ANALYZE, 50 53 GENERATE, 54 57 ANNOTATION_PROCESSING, 58 61 ANNOTATION_PROCESSING_ROUND 62 } 63 64 public ParseEvent(Kind kind, ParserFile file, ParserResult result) { 81 this.kind = kind; 82 this.file = file; 83 this.result = result; 84 } 85 86 public Kind getKind() { 87 return kind; 88 } 89 90 public ParserFile getSourceFile() { 91 return file; 92 } 93 94 98 public ParserResult getResult() { 99 return result; 100 } 101 102 107 public String toString() { 108 return "TaskEvent[" 109 + kind + "," 110 + file + "," 111 ; 114 } 115 116 private final Kind kind; 117 private final ParserFile file; 118 private final ParserResult result; 119 } 120 | Popular Tags |