diff --git a/platform/lang-api/src/com/intellij/codeInsight/controlflow/ConditionalInstruction.java b/platform/core-api/src/com/intellij/codeInsight/controlflow/ConditionalInstruction.java similarity index 95% rename from platform/lang-api/src/com/intellij/codeInsight/controlflow/ConditionalInstruction.java rename to platform/core-api/src/com/intellij/codeInsight/controlflow/ConditionalInstruction.java index daea33cd1e9a..3bb44937de4a 100644 --- a/platform/lang-api/src/com/intellij/codeInsight/controlflow/ConditionalInstruction.java +++ b/platform/core-api/src/com/intellij/codeInsight/controlflow/ConditionalInstruction.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2010 JetBrains s.r.o. + * Copyright 2000-2014 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/platform/core-api/src/com/intellij/codeInsight/controlflow/ControlFlow.java b/platform/core-api/src/com/intellij/codeInsight/controlflow/ControlFlow.java new file mode 100644 index 000000000000..bf72d011c6ea --- /dev/null +++ b/platform/core-api/src/com/intellij/codeInsight/controlflow/ControlFlow.java @@ -0,0 +1,23 @@ +/* + * Copyright 2000-2014 JetBrains s.r.o. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.intellij.codeInsight.controlflow; + +/** + * @author oleg + */ +public interface ControlFlow { + Instruction[] getInstructions(); +} diff --git a/platform/lang-api/src/com/intellij/codeInsight/controlflow/Instruction.java b/platform/core-api/src/com/intellij/codeInsight/controlflow/Instruction.java similarity index 95% rename from platform/lang-api/src/com/intellij/codeInsight/controlflow/Instruction.java rename to platform/core-api/src/com/intellij/codeInsight/controlflow/Instruction.java index 26ecfcca2a5d..8b0dda01d226 100644 --- a/platform/lang-api/src/com/intellij/codeInsight/controlflow/Instruction.java +++ b/platform/core-api/src/com/intellij/codeInsight/controlflow/Instruction.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2010 JetBrains s.r.o. + * Copyright 2000-2014 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/platform/lang-api/src/com/intellij/codeInsight/controlflow/ControlFlow.java b/platform/lang-api/src/com/intellij/codeInsight/controlflow/ControlFlow.java deleted file mode 100644 index 99e7c2887d01..000000000000 --- a/platform/lang-api/src/com/intellij/codeInsight/controlflow/ControlFlow.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.intellij.codeInsight.controlflow; - -/** - * @author oleg - */ -public interface ControlFlow { - Instruction[] getInstructions(); -}