not null live template

This commit is contained in:
Konstantin Bulenkov
2010-09-28 17:13:47 +04:00
parent 196d8a0300
commit f11806f2ec
2 changed files with 18 additions and 0 deletions
@@ -345,6 +345,7 @@ livetemplate.description.mx=Sets greater value to a variable
livetemplate.description.psvm=main() method declaration
livetemplate.description.toar=Stores elements of java.util.Collection into array
livetemplate.description.lazy=Performs lazy initialization
livetemplate.description.notnull=Inserts '!= null'
livetemplate.description.serr=Prints a string to System.err
livetemplate.description.sout=Prints a string to System.out
livetemplate.description.souf=Prints a formatted string to System.out
+17
View File
@@ -75,4 +75,21 @@
<option name="OTHER" value="false" />
</context>
</template>
<template resource-bundle="messages.CodeInsightBundle" key="livetemplate.description.notnull"
name="nn" value="!= null" toReformat="false" toShortenFQNames="false">
<context>
<option name="JAVA_CODE" value="true" />
<option name="JAVA_COMMENT" value="false" />
<option name="JAVA_STRING" value="false" />
<option name="XML" value="false" />
<option name="HTML" value="false" />
<option name="JSP" value="true" />
<option name="COMPLETION" value="false" />
<option name="GROOVY" value="true" />
<option name="PHP" value="true" />
<option name="ACTION_SCRIPT" value="true" />
<option name="ASPECTJ" value="true" />
<option name="OTHER" value="false" />
</context>
</template>
</templateSet>