From bd632639eb7326ef8613c24621a070adb2f040e6 Mon Sep 17 00:00:00 2001 From: Yaroslav Lepenkin Date: Tue, 5 Sep 2017 12:54:22 +0300 Subject: [PATCH] added clarifying comment --- .../lang-impl/src/com/intellij/formatting/BlockEx.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/platform/lang-impl/src/com/intellij/formatting/BlockEx.java b/platform/lang-impl/src/com/intellij/formatting/BlockEx.java index 9a5825dac249..b250b373d8b0 100644 --- a/platform/lang-impl/src/com/intellij/formatting/BlockEx.java +++ b/platform/lang-impl/src/com/intellij/formatting/BlockEx.java @@ -19,14 +19,13 @@ import com.intellij.lang.Language; import org.jetbrains.annotations.Nullable; /** - * @author Denis Zhdanov - * @since 6/26/12 11:22 AM + * Marker interface defining that code style settings for language returned by #getLanguage should be used when formatting block + * implementing this interface. + * + * E.g you have injected code which should be formatted accordingly to it's own language */ public interface BlockEx extends Block { - /** - * @return current block's language (is used to decide on what code style settings should be used for it) - */ @Nullable Language getLanguage(); }