From 97dff8a70a7ddcda719936f30dad592dddc976dc Mon Sep 17 00:00:00 2001 From: Max Medvedev Date: Fri, 2 Aug 2024 19:00:52 +0200 Subject: [PATCH] cleanup ILazyParseableElementTypeBase GitOrigin-RevId: 148cf2104247b6a62e5bab6175b7d059547504cb --- .../tree/ILazyParseableElementTypeBase.java | 21 +++---------------- 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/platform/core-api/src/com/intellij/psi/tree/ILazyParseableElementTypeBase.java b/platform/core-api/src/com/intellij/psi/tree/ILazyParseableElementTypeBase.java index 85d5d7712fd1..ae9c551f584c 100644 --- a/platform/core-api/src/com/intellij/psi/tree/ILazyParseableElementTypeBase.java +++ b/platform/core-api/src/com/intellij/psi/tree/ILazyParseableElementTypeBase.java @@ -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-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.intellij.psi.tree; import com.intellij.lang.ASTNode; @@ -20,11 +6,10 @@ import org.jetbrains.annotations.NotNull; /** * An additional interface to be implemented by {@link IElementType} instances for tokens which should be parsed lazily, but - * for some reasons extending {@link ILazyParseableElementType} is impossible. + * for some reason extending {@link ILazyParseableElementType} is impossible. */ -@FunctionalInterface public interface ILazyParseableElementTypeBase { - + /** * Parses the contents of the specified chameleon node and returns the AST tree * representing the parsed contents.