mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
added clarifying comment
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user