From b68f555fc912290723211f5f11cf6a76060e3d4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20C=C3=A9bron?= Date: Thu, 29 Apr 2021 17:13:26 +0200 Subject: [PATCH] StandardResourceProvider: javadoc GitOrigin-RevId: 1280c94ae16c89d01634bcd1e869700b0f4fdff2 --- .../javaee/StandardResourceProvider.java | 26 ++++++------------- 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/xml/xml-psi-api/src/com/intellij/javaee/StandardResourceProvider.java b/xml/xml-psi-api/src/com/intellij/javaee/StandardResourceProvider.java index 8b3313201b3a..abb1d84922d5 100644 --- a/xml/xml-psi-api/src/com/intellij/javaee/StandardResourceProvider.java +++ b/xml/xml-psi-api/src/com/intellij/javaee/StandardResourceProvider.java @@ -1,30 +1,20 @@ -/* - * Copyright 2000-2012 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-2021 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.javaee; import com.intellij.openapi.extensions.ExtensionPointName; /** + * Allows adding/ignoring standard resources. + *

+ * Consider using {@link StandardResourceEP} when only adding is required. + *

+ * * @author Dmitry Avdeev - * @see StandardResourceEP + * @see ExternalResourceManager */ public interface StandardResourceProvider { ExtensionPointName EP_NAME = ExtensionPointName.create("com.intellij.standardResourceProvider"); - + void registerResources(ResourceRegistrar registrar); }