File tree Expand file tree Collapse file tree 3 files changed +33
-35
lines changed
compiler/frontend/src/org/jetbrains/kotlin/config Expand file tree Collapse file tree 3 files changed +33
-35
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2010-2015 JetBrains s.r.o.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ package org.jetbrains.kotlin.config
18
+
19
+ object CommonConfigurationKeys {
20
+ @JvmField
21
+ val LANGUAGE_VERSION_SETTINGS = CompilerConfigurationKey <LanguageVersionSettings >(" language version settings" )
22
+
23
+ @JvmField
24
+ val SKIP_METADATA_VERSION_CHECK = CompilerConfigurationKey <Boolean >(" skip metadata version check" )
25
+
26
+ @JvmField
27
+ val DISABLE_INLINE = CompilerConfigurationKey <Boolean >(" disable inline" )
28
+
29
+ @JvmField
30
+ val MODULE_NAME = CompilerConfigurationKey <String >(" module name" )
31
+ }
Original file line number Diff line number Diff line change 23
23
public class CompilerConfigurationKey <T > {
24
24
Key <T > ideaKey ;
25
25
26
- private CompilerConfigurationKey (@ NotNull @ NonNls String name ) {
26
+ public CompilerConfigurationKey (@ NotNull @ NonNls String name ) {
27
27
ideaKey = Key .create (name );
28
28
}
29
29
30
+ @ NotNull
30
31
public static <T > CompilerConfigurationKey <T > create (@ NotNull @ NonNls String name ) {
31
32
return new CompilerConfigurationKey <T >(name );
32
33
}
You can’t perform that action at this time.
0 commit comments