This commit is contained in:
Vladimir Krivosheev
2019-01-31 19:20:21 +01:00
parent 6a7997642d
commit b07c3d8701
4 changed files with 7 additions and 38 deletions
@@ -58,8 +58,7 @@ public class ExtensionComponentAdapter implements LoadingOrder.Orderable {
}
if (instance instanceof PluginAware) {
PluginAware pluginAware = (PluginAware)instance;
pluginAware.setPluginDescriptor(myPluginDescriptor);
((PluginAware)instance).setPluginDescriptor(myPluginDescriptor);
}
return instance;
}
@@ -1,18 +1,4 @@
/*
* Copyright 2000-2009 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.
*/
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.editor.actionSystem;
import com.intellij.openapi.application.ApplicationManager;
@@ -25,9 +11,9 @@ import com.intellij.util.xmlb.annotations.Attribute;
/**
* @author yole
*/
public class EditorActionHandlerBean extends AbstractExtensionPointBean {
private static final Logger LOG = Logger.getInstance("#com.intellij.openapi.editor.actionSystem.EditorActionHandlerBean");
public final class EditorActionHandlerBean extends AbstractExtensionPointBean {
private static final Logger LOG = Logger.getInstance(EditorActionHandlerBean.class);
public static final ExtensionPointName<EditorActionHandlerBean> EP_NAME = ExtensionPointName.create("com.intellij.editorActionHandler");
// these must be public for scrambling compatibility
@@ -1,18 +1,4 @@
/*
* Copyright 2000-2016 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.
*/
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.idea.devkit.dom;
import com.intellij.ide.presentation.Presentation;
@@ -34,7 +20,6 @@ public interface ExtensionPoint extends DomElement {
IDEA_APPLICATION
}
@NotNull
@Override
XmlTag getXmlTag();
@@ -1,4 +1,4 @@
// Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.plugins.groovy.intentions.annotations
import com.intellij.openapi.editor.Editor
@@ -19,7 +19,6 @@ import org.jetbrains.plugins.groovy.lang.psi.patterns.groovyAnnotationArgumentLi
import org.jetbrains.plugins.groovy.lang.psi.patterns.groovyAnnotationArgumentValue
class AddAnnotationValueIntention : Intention() {
companion object {
private val myPredicate: PsiElementPredicate