for (int ${index} = 0; ${index} < ${array}.length; ${index}++) {
${line_selection}${cursor}
}
for (int ${index} = 0; ${index} < ${array}.length; ${index}++) {
${array_type} ${array_element} = ${array}[${index}];
${cursor}
}
for (Iterator ${iterator} = ${collection}.iterator(); ${iterator}.hasNext(); ) {
${type} ${element} = (${type}) ${iterator}.next();
${cursor}
}
while (${enumeration}.hasMoreElements()) {
${type} ${element} = (${type}) ${enumeration}.nextElement();
${cursor}
}
while (${iterator}.hasNext()) {
${type} ${element} = (${type}) ${iterator}.next();
${cursor}
}
do {
${line_selection}${cursor}
} while (${condition});
switch (${key}) {
case ${value}:
${cursor}
break;
default:
break;
}
if (${condition}) {
${line_selection}${cursor}
}
if (${condition}) {
${cursor}
} else {
}
else if (${condition}) {
${cursor}
}
else {
${cursor}
}
try {
${line_selection}${cursor}
} catch (${Exception} e) {
// ${todo}: handle exception
}
catch (${Exception} e) {
${cursor}// ${todo}: handle exception
}
public static void main(String[] args) {
${cursor}
}
public ${return_type} ${name}(${}) {
${cursor}
}
protected ${return_type} ${name}(${}) {
${cursor}
}
private ${return_type} ${name}(${}) {
${cursor}
}
private static ${return_type} ${name}(${}) {
${cursor}
}
if (${name} instanceof ${type}) {
${type} ${new_name} = (${type})${name};
${cursor}
}
${type} ${new_name} = (${type}) ${name};
${type} ${name} = new ${type}(${arguments});
if (${name} == null) {
${name} = new ${type}(${arguments});
${cursor}
}
return ${name};
(${type}[]) ${collection}.toArray(new ${type}[${collection}.size()])
System.out.println(${word_selection}${});${cursor}
System.err.println(${word_selection}${});${cursor}
System.out.println("${enclosing_type}.${enclosing_method}()");
<code>${word_selection}${}</code>${cursor}
<code>null</code>
<code>true</code>
<code>false</code>
<pre>${word_selection}${}</pre>${cursor}
<b>${word_selection}${}</b>${cursor}
<i>${word_selection}${}</i>${cursor}
@author ${user}
while (${condition}) {
${line_selection}${cursor}
}
public void test${name}() {
${cursor}
}
//$$NON-NLS-${N}$$
synchronized (${mutex}) {
${line_selection}
}
new Runnable() {
public void run() {
${line_selection}
}
}