< prev index next >

make/langtools/tools/propertiesparser/parser/MessageType.java

Print this page
rev 51258 : imported patch switch.diff


  78         COLLECTION("collection", "Collection", "java.util"),
  79         FLAG("flag", "Flag", "com.sun.tools.javac.code.Flags"),
  80         FRAGMENT("fragment", "Fragment", null),
  81         DIAGNOSTIC("diagnostic", "JCDiagnostic", "com.sun.tools.javac.util"),
  82         MODIFIER("modifier", "Modifier", "javax.lang.model.element"),
  83         FILE("file", "File", "java.io"),
  84         FILE_OBJECT("file object", "JavaFileObject", "javax.tools"),
  85         PATH("path", "Path", "java.nio.file"),
  86         NAME("name", "Name", "com.sun.tools.javac.util"),
  87         NUMBER("number", "int", null),
  88         OPTION_NAME("option name", "Option", "com.sun.tools.javac.main"),
  89         PROFILE("profile", "Profile", "com.sun.tools.javac.jvm"),
  90         SOURCE("source", "Source", "com.sun.tools.javac.code"),
  91         SOURCE_VERSION("source version", "SourceVersion", "javax.lang.model"),
  92         STRING("string", "String", null),
  93         SYMBOL("symbol", "Symbol", "com.sun.tools.javac.code"),
  94         SYMBOL_KIND("symbol kind", "Kind", "com.sun.tools.javac.code.Kinds"),
  95         KIND_NAME("kind name", "KindName", "com.sun.tools.javac.code.Kinds"),
  96         TARGET("target", "Target", "com.sun.tools.javac.jvm"),
  97         TOKEN("token", "TokenKind", "com.sun.tools.javac.parser.Tokens"),

  98         TYPE("type", "Type", "com.sun.tools.javac.code"),
  99         URL("url", "URL", "java.net"),
 100         SET("set", "Set", "java.util"),
 101         LIST("list", "List", "java.util"),
 102         OBJECT("object", "Object", null),
 103         UNUSED("unused", "Void", null),
 104         UNKNOWN("<unknown>", "UnknownType", null);
 105 
 106         /** name of the predefined type as mentioned in the resource file. */
 107         public final String kindName;
 108 
 109         /** string-based representation of the type */
 110         public final String clazz;
 111 
 112         /** type qualifier (might be null) */
 113         public final String qualifier;
 114 
 115         SimpleType(String kindName, String clazz, String qualifier) {
 116             this.kindName = kindName;
 117             this.clazz = clazz;




  78         COLLECTION("collection", "Collection", "java.util"),
  79         FLAG("flag", "Flag", "com.sun.tools.javac.code.Flags"),
  80         FRAGMENT("fragment", "Fragment", null),
  81         DIAGNOSTIC("diagnostic", "JCDiagnostic", "com.sun.tools.javac.util"),
  82         MODIFIER("modifier", "Modifier", "javax.lang.model.element"),
  83         FILE("file", "File", "java.io"),
  84         FILE_OBJECT("file object", "JavaFileObject", "javax.tools"),
  85         PATH("path", "Path", "java.nio.file"),
  86         NAME("name", "Name", "com.sun.tools.javac.util"),
  87         NUMBER("number", "int", null),
  88         OPTION_NAME("option name", "Option", "com.sun.tools.javac.main"),
  89         PROFILE("profile", "Profile", "com.sun.tools.javac.jvm"),
  90         SOURCE("source", "Source", "com.sun.tools.javac.code"),
  91         SOURCE_VERSION("source version", "SourceVersion", "javax.lang.model"),
  92         STRING("string", "String", null),
  93         SYMBOL("symbol", "Symbol", "com.sun.tools.javac.code"),
  94         SYMBOL_KIND("symbol kind", "Kind", "com.sun.tools.javac.code.Kinds"),
  95         KIND_NAME("kind name", "KindName", "com.sun.tools.javac.code.Kinds"),
  96         TARGET("target", "Target", "com.sun.tools.javac.jvm"),
  97         TOKEN("token", "TokenKind", "com.sun.tools.javac.parser.Tokens"),
  98         TREE_TAG("tree tag", "Tag", "com.sun.tools.javac.tree.JCTree"),
  99         TYPE("type", "Type", "com.sun.tools.javac.code"),
 100         URL("url", "URL", "java.net"),
 101         SET("set", "Set", "java.util"),
 102         LIST("list", "List", "java.util"),
 103         OBJECT("object", "Object", null),
 104         UNUSED("unused", "Void", null),
 105         UNKNOWN("<unknown>", "UnknownType", null);
 106 
 107         /** name of the predefined type as mentioned in the resource file. */
 108         public final String kindName;
 109 
 110         /** string-based representation of the type */
 111         public final String clazz;
 112 
 113         /** type qualifier (might be null) */
 114         public final String qualifier;
 115 
 116         SimpleType(String kindName, String clazz, String qualifier) {
 117             this.kindName = kindName;
 118             this.clazz = clazz;


< prev index next >