1 11 package org.eclipse.jdt.apt.core.util; 12 13 import org.eclipse.jdt.core.dom.ASTNode; 14 15 import com.sun.mirror.apt.Messager; 16 import com.sun.mirror.util.SourcePosition; 17 18 21 public interface EclipseMessager extends Messager 22 { 23 26 public static final int APT_PROBLEM_ID = 901; 27 28 35 public static final int APT_QUICK_FIX_PROBLEM_ID = 900; 36 37 38 46 void printError(ASTNode node, String msg); 47 48 56 void printWarning(ASTNode node, String msg); 57 58 66 void printNotice(ASTNode node, String msg); 67 68 82 void printFixableError(SourcePosition pos, String msg, String pluginId, String errorId); 83 84 98 void printFixableWarning(SourcePosition pos, String msg, String pluginId, String errorId); 99 100 114 void printFixableNotice(SourcePosition pos, String msg, String pluginId, String errorId); 115 116 129 void printFixableError(String msg, String pluginId, String errorId); 130 131 144 void printFixableWarning(String msg, String pluginId, String errorId); 145 146 159 void printFixableNotice(String msg, String pluginId, String errorId); 160 } 161 | Popular Tags |