Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve generation of build method code block
- Loading branch information
Michail Plushnikov
committed
Jun 11, 2016
1 parent
f203be7
commit 890fb0f
Showing
6 changed files
with
81 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
...e/plushnikov/intellij/plugin/processor/handler/singular/SingularCollectionClassNames.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,25 @@ | |||
package de.plushnikov.intellij.plugin.processor.handler.singular; | |||
|
|||
import com.intellij.psi.CommonClassNames; | |||
|
|||
interface SingularCollectionClassNames { | |||
String GUAVA_IMMUTABLE_COLLECTION = "com.google.common.collect.ImmutableCollection"; | |||
String GUAVA_IMMUTABLE_LIST = "com.google.common.collect.ImmutableList"; | |||
String GUAVA_IMMUTABLE_SET = "com.google.common.collect.ImmutableSet"; | |||
String GUAVA_IMMUTABLE_SORTED_SET = "com.google.common.collect.ImmutableSortedSet"; | |||
String GUAVA_IMMUTABLE_MAP = "com.google.common.collect.ImmutableMap"; | |||
String GUAVA_IMMUTABLE_TABLE = "com.google.common.collect.ImmutableTable"; | |||
String GUAVA_IMMUTABLE_BI_MAP = "com.google.common.collect.ImmutableBiMap"; | |||
String GUAVA_IMMUTABLE_SORTED_MAP = "com.google.common.collect.ImmutableSortedMap"; | |||
|
|||
String JAVA_LANG_ITERABLE = CommonClassNames.JAVA_LANG_ITERABLE; | |||
String JAVA_UTIL_COLLECTION = CommonClassNames.JAVA_UTIL_COLLECTION; | |||
String JAVA_UTIL_LIST = CommonClassNames.JAVA_UTIL_LIST; | |||
|
|||
String JAVA_UTIL_MAP = CommonClassNames.JAVA_UTIL_MAP; | |||
String JAVA_UTIL_SORTED_MAP = "java.util.SortedMap"; | |||
String JAVA_UTIL_NAVIGABLE_MAP = "java.util.NavigableMap"; | |||
|
|||
String JAVA_UTIL_SORTED_SET = "java.util.SortedSet"; | |||
String JAVA_UTIL_NAVIGABLE_SET = "java.util.NavigableSet"; | |||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters