src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symtab.java

1 /*
2 * Copyright (c) 1999, 2019, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any

155 public final ClassSymbol methodClass;
156
157 /** A symbol for the java.base module.
158 */
159 public final ModuleSymbol java_base;
160
161 /** Predefined types.
162 */
163 public final Type objectType;
164 public final Type objectsType;
165 public final Type classType;
166 public final Type classLoaderType;
167 public final Type stringType;
168 public final Type stringBufferType;
169 public final Type stringBuilderType;
170 public final Type cloneableType;
171 public final Type serializableType;
172 public final Type serializedLambdaType;
173 public final Type varHandleType;
174 public final Type methodHandleType;
175 public final Type methodHandleLookupType;
176 public final Type methodTypeType;
177 public final Type nativeHeaderType;
178 public final Type throwableType;
179 public final Type errorType;
180 public final Type interruptedExceptionType;
181 public final Type illegalArgumentExceptionType;
182 public final Type exceptionType;
183 public final Type runtimeExceptionType;
184 public final Type classNotFoundExceptionType;
185 public final Type noClassDefFoundErrorType;
186 public final Type noSuchFieldErrorType;
187 public final Type assertionErrorType;
188 public final Type incompatibleClassChangeErrorType;
189 public final Type cloneNotSupportedExceptionType;
190 public final Type annotationType;
191 public final TypeSymbol enumSym;
192 public final Type listType;
193 public final Type collectionsType;
194 public final Type comparableType;
195 public final Type comparatorType;
196 public final Type arraysType;

1 /*
2 * Copyright (c) 1999, 2018, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any

154 public final ClassSymbol methodClass;
155
156 /** A symbol for the java.base module.
157 */
158 public final ModuleSymbol java_base;
159
160 /** Predefined types.
161 */
162 public final Type objectType;
163 public final Type objectsType;
164 public final Type classType;
165 public final Type classLoaderType;
166 public final Type stringType;
167 public final Type stringBufferType;
168 public final Type stringBuilderType;
169 public final Type cloneableType;
170 public final Type serializableType;
171 public final Type serializedLambdaType;
172 public final Type varHandleType;
173 public final Type methodHandleType;
174 public final Type methodHandlesLookupType; 175 public final Type intrinsicsType;
176 public final Type methodTypeType;
177 public final Type foldableType;
178 public final Type nativeHeaderType;
179 public final Type throwableType;
180 public final Type errorType;
181 public final Type interruptedExceptionType;
182 public final Type illegalArgumentExceptionType;
183 public final Type exceptionType;
184 public final Type runtimeExceptionType;
185 public final Type classNotFoundExceptionType;
186 public final Type noClassDefFoundErrorType;
187 public final Type noSuchFieldErrorType;
188 public final Type assertionErrorType;
189 public final Type incompatibleClassChangeErrorType;
190 public final Type cloneNotSupportedExceptionType;
191 public final Type annotationType;
192 public final TypeSymbol enumSym;
193 public final Type listType;
194 public final Type collectionsType;
195 public final Type comparableType;
196 public final Type comparatorType;
197 public final Type arraysType;