Package org.intellij.grammar.generator
Class NameShortener
java.lang.Object
org.intellij.grammar.generator.NameShortener
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddImports(Collection<String> initialImports, Collection<String> includedClasses) static voidaddTypeToImports(@Nullable String type, @NotNull List<String> typeAnnotations, @NotNull Collection<String> result) static @NotNull StringgetRawClassName(@NotNull String name) @NotNull String
-
Field Details
-
TYPE_TEXT_SEPARATORS
- See Also:
-
-
Constructor Details
-
NameShortener
-
-
Method Details
-
getImports
-
addImports
-
shorten
-
addTypeToImports
public static void addTypeToImports(@Nullable @Nullable String type, @NotNull @NotNull List<String> typeAnnotations, @NotNull @NotNull Collection<String> result) -
getRawClassName
-