1 19 package org.netbeans.modules.retouche.hints.infrastructure; 20 21 import java.util.ArrayList ; 22 import java.util.List ; 23 import java.util.Map ; 24 import org.netbeans.api.retouche.source.CompilationInfo; 25 import org.netbeans.modules.retouche.editor.semantic.ScanningCancellableTask; 26 import org.netbeans.modules.retouche.hints.spi.TreeRule; 27 import org.netbeans.spi.editor.hints.ErrorDescription; 28 import org.netbeans.spi.editor.hints.HintsController; 29 30 34 public class HintsTask extends ScanningCancellableTask<CompilationInfo> { 35 36 public HintsTask() { 37 } 38 39 public void run(CompilationInfo info) throws Exception { 40 46 List <ErrorDescription> result = new ArrayList <ErrorDescription>(); 47 48 51 if (isCancelled()) 52 return ; 53 54 HintsController.setErrors(info.getFileObject(), HintsTask.class.getName(), result); 55 } 56 57 113 } 114 | Popular Tags |