< prev index next >

src/jdk.compiler/share/classes/com/sun/tools/javac/util/Names.java

Print this page




 156     public final Name Varargs;
 157 
 158     // members of java.lang.annotation.ElementType
 159     public final Name ANNOTATION_TYPE;
 160     public final Name CONSTRUCTOR;
 161     public final Name FIELD;
 162     public final Name LOCAL_VARIABLE;
 163     public final Name METHOD;
 164     public final Name MODULE;
 165     public final Name PACKAGE;
 166     public final Name PARAMETER;
 167     public final Name TYPE;
 168     public final Name TYPE_PARAMETER;
 169     public final Name TYPE_USE;
 170 
 171     // members of java.lang.annotation.RetentionPolicy
 172     public final Name CLASS;
 173     public final Name RUNTIME;
 174     public final Name SOURCE;
 175 




 176     // other identifiers
 177     public final Name T;
 178     public final Name ex;
 179     public final Name module_info;
 180     public final Name package_info;
 181     public final Name requireNonNull;
 182 
 183     // lambda-related
 184     public final Name lambda;
 185     public final Name metafactory;
 186     public final Name altMetafactory;
 187     public final Name dollarThis;
 188 
 189     // string concat
 190     public final Name makeConcat;
 191     public final Name makeConcatWithConstants;
 192 
 193     public final Name.Table table;
 194 
 195     public Names(Context context) {


 305         Value = fromString("Value");
 306         Varargs = fromString("Varargs");
 307 
 308         // members of java.lang.annotation.ElementType
 309         ANNOTATION_TYPE = fromString("ANNOTATION_TYPE");
 310         CONSTRUCTOR = fromString("CONSTRUCTOR");
 311         FIELD = fromString("FIELD");
 312         LOCAL_VARIABLE = fromString("LOCAL_VARIABLE");
 313         METHOD = fromString("METHOD");
 314         MODULE = fromString("MODULE");
 315         PACKAGE = fromString("PACKAGE");
 316         PARAMETER = fromString("PARAMETER");
 317         TYPE = fromString("TYPE");
 318         TYPE_PARAMETER = fromString("TYPE_PARAMETER");
 319         TYPE_USE = fromString("TYPE_USE");
 320 
 321         // members of java.lang.annotation.RetentionPolicy
 322         CLASS = fromString("CLASS");
 323         RUNTIME = fromString("RUNTIME");
 324         SOURCE = fromString("SOURCE");




 325 
 326         // other identifiers
 327         T = fromString("T");
 328         ex = fromString("ex");
 329         module_info = fromString("module-info");
 330         package_info = fromString("package-info");
 331         requireNonNull = fromString("requireNonNull");
 332 
 333         //lambda-related
 334         lambda = fromString("lambda$");
 335         metafactory = fromString("metafactory");
 336         altMetafactory = fromString("altMetafactory");
 337 
 338         // string concat
 339         makeConcat = fromString("makeConcat");
 340         makeConcatWithConstants = fromString("makeConcatWithConstants");
 341     }
 342 
 343     protected Name.Table createTable(Options options) {
 344         boolean useUnsharedTable = options.isSet("useUnsharedTable");




 156     public final Name Varargs;
 157 
 158     // members of java.lang.annotation.ElementType
 159     public final Name ANNOTATION_TYPE;
 160     public final Name CONSTRUCTOR;
 161     public final Name FIELD;
 162     public final Name LOCAL_VARIABLE;
 163     public final Name METHOD;
 164     public final Name MODULE;
 165     public final Name PACKAGE;
 166     public final Name PARAMETER;
 167     public final Name TYPE;
 168     public final Name TYPE_PARAMETER;
 169     public final Name TYPE_USE;
 170 
 171     // members of java.lang.annotation.RetentionPolicy
 172     public final Name CLASS;
 173     public final Name RUNTIME;
 174     public final Name SOURCE;
 175 
 176     // condy names
 177     public final Name invokedynamic;
 178     public final Name ldc;
 179 
 180     // other identifiers
 181     public final Name T;
 182     public final Name ex;
 183     public final Name module_info;
 184     public final Name package_info;
 185     public final Name requireNonNull;
 186 
 187     // lambda-related
 188     public final Name lambda;
 189     public final Name metafactory;
 190     public final Name altMetafactory;
 191     public final Name dollarThis;
 192 
 193     // string concat
 194     public final Name makeConcat;
 195     public final Name makeConcatWithConstants;
 196 
 197     public final Name.Table table;
 198 
 199     public Names(Context context) {


 309         Value = fromString("Value");
 310         Varargs = fromString("Varargs");
 311 
 312         // members of java.lang.annotation.ElementType
 313         ANNOTATION_TYPE = fromString("ANNOTATION_TYPE");
 314         CONSTRUCTOR = fromString("CONSTRUCTOR");
 315         FIELD = fromString("FIELD");
 316         LOCAL_VARIABLE = fromString("LOCAL_VARIABLE");
 317         METHOD = fromString("METHOD");
 318         MODULE = fromString("MODULE");
 319         PACKAGE = fromString("PACKAGE");
 320         PARAMETER = fromString("PARAMETER");
 321         TYPE = fromString("TYPE");
 322         TYPE_PARAMETER = fromString("TYPE_PARAMETER");
 323         TYPE_USE = fromString("TYPE_USE");
 324 
 325         // members of java.lang.annotation.RetentionPolicy
 326         CLASS = fromString("CLASS");
 327         RUNTIME = fromString("RUNTIME");
 328         SOURCE = fromString("SOURCE");
 329 
 330         // condy names
 331         invokedynamic = fromString("invokedynamic");
 332         ldc = fromString("ldc");
 333 
 334         // other identifiers
 335         T = fromString("T");
 336         ex = fromString("ex");
 337         module_info = fromString("module-info");
 338         package_info = fromString("package-info");
 339         requireNonNull = fromString("requireNonNull");
 340 
 341         //lambda-related
 342         lambda = fromString("lambda$");
 343         metafactory = fromString("metafactory");
 344         altMetafactory = fromString("altMetafactory");
 345 
 346         // string concat
 347         makeConcat = fromString("makeConcat");
 348         makeConcatWithConstants = fromString("makeConcatWithConstants");
 349     }
 350 
 351     protected Name.Table createTable(Options options) {
 352         boolean useUnsharedTable = options.isSet("useUnsharedTable");


< prev index next >