1 11 package org.eclipse.jdt.core.compiler; 12 13 import org.eclipse.jdt.internal.compiler.problem.DefaultProblem; 14 15 59 public abstract class CategorizedProblem implements IProblem { 60 61 65 public static final int CAT_UNSPECIFIED = 0; 66 67 public static final int CAT_BUILDPATH = 10; 68 69 public static final int CAT_SYNTAX = 20; 70 71 public static final int CAT_IMPORT = 30; 72 73 public static final int CAT_TYPE = 40; 74 75 public static final int CAT_MEMBER = 50; 76 77 public static final int CAT_INTERNAL = 60; 78 79 public static final int CAT_JAVADOC = 70; 80 81 public static final int CAT_CODE_STYLE = 80; 82 83 public static final int CAT_POTENTIAL_PROGRAMMING_PROBLEM = 90; 84 85 public static final int CAT_NAME_SHADOWING_CONFLICT = 100; 86 87 public static final int CAT_DEPRECATION = 110; 88 89 public static final int CAT_UNNECESSARY_CODE = 120; 90 91 public static final int CAT_UNCHECKED_RAW = 130; 92 93 public static final int CAT_NLS = 140; 94 95 public static final int CAT_RESTRICTION = 150; 96 97 106 public abstract int getCategoryID(); 107 108 114 public abstract String getMarkerType(); 115 116 137 public String [] getExtraMarkerAttributeNames() { 138 return CharOperation.NO_STRINGS; 139 } 140 141 148 public Object [] getExtraMarkerAttributeValues() { 149 return DefaultProblem.EMPTY_VALUES; 150 } 151 } 152 | Popular Tags |