diff options
| author | Markus Keller | 2012-04-12 10:26:17 +0000 |
|---|---|---|
| committer | Markus Keller | 2012-04-12 10:26:17 +0000 |
| commit | 6d845a065dedbb0b6a27ed215f339d517a8e587d (patch) | |
| tree | 4e76c4e8d7019eb0cbedc788e4627da63e4c3113 | |
| parent | 5cebfb1d709a8016d876757ac33ff278dfcbd43a (diff) | |
| download | eclipse.jdt.ui-6d845a065dedbb0b6a27ed215f339d517a8e587d.tar.gz eclipse.jdt.ui-6d845a065dedbb0b6a27ed215f339d517a8e587d.tar.xz eclipse.jdt.ui-6d845a065dedbb0b6a27ed215f339d517a8e587d.zip | |
Bug 200847: [templates] Variable resolver resolves to array of specified
type
| -rw-r--r-- | org.eclipse.jdt.ui/plugin.properties | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jdt.ui/plugin.properties b/org.eclipse.jdt.ui/plugin.properties index 784220d8cc..5874bcdcc1 100644 --- a/org.eclipse.jdt.ui/plugin.properties +++ b/org.eclipse.jdt.ui/plugin.properties @@ -1064,11 +1064,11 @@ templates.swt.members.contextType.name= SWT type members templates.java.resolvers.Field.name= Field templates.java.resolvers.Field.description= <b>${<i>id</i>:field(type[,type]*)}</b><br>Evaluates to a field in the current scope that is a subtype of any of the given types. If no type is specified, any non-primitive field matches.<br><br><b>Example:</b><br><code>${counter:field(int)}</code> templates.java.resolvers.Link.name= Linked Mode -templates.java.resolvers.Link.description= <b>${<i>id</i>:link([proposal[,proposal]*])}</b><br>Evaluates to <i>id</i> if the list of proposals is empty, evaluates to the first proposal otherwise. The evaluated value is put into linked mode. A proposal window shows all the given proposals.<br><br><b>Example1:</b><br><code>java.util.Collections.${kind:link(EMPTY_SET, EMPTY_LIST, EMPTY_MAP)}</code><br><br><b>Example2:</b><br><code>int ${integer:link}; ${integer}= 0;</code> +templates.java.resolvers.Link.description= <b>${<i>id</i>:link([proposal[,proposal]*])}</b><br>Evaluates to <i>id</i> if the list of proposals is empty, evaluates to the first proposal otherwise. The evaluated value is put into linked mode. A proposal window shows all the given proposals.<br><br><b>Example1:</b><br><code>java.util.Collections.${kind:link(EMPTY_SET, EMPTY_LIST, 'EMPTY_MAP.entrySet()')}</code><br><br><b>Example2:</b><br><code>int ${integer:link}; ${integer}= 0;</code> templates.java.resolvers.Imports.name= Import templates.java.resolvers.Imports.description= <b>${:import([type[,type]*])}</b><br>Adds an import statement for each type that is not already imported. Does nothing if a conflicting import exists. Evaluates to nothing.<br><br><b>Example:</b><br><code>${:import(java.util.List, java.util.Collection)}</code> templates.java.resolvers.ImportStatic.name= Import Static -templates.java.resolvers.ImportStatic.description= <b>${:importStatic([qualifiedName[,qualifiedName]*])}</b><br>Adds a static import statement for each qualified name that is not already imported. The <code>qualifiedName</code> is the fully qualified name of a static field or method, or it is the qualified name of a type plus a '.*' suffix, enclosed in single quotes ''. Does nothing if a conflicting import exists. Evaluates to nothing.<br><br><b>Example:</b><br><code>${:importStatic(java.util.Collections.EMPTY_SET, 'java.lang.System.*')}</code> +templates.java.resolvers.ImportStatic.description= <b>${:importStatic([qualifiedName[,qualifiedName]*])}</b><br>Adds a static import statement for each qualified name that is not already imported. The <code>qualifiedName</code> is the fully qualified name of a static field or method, or it is the qualified name of a type plus a <code>.*</code> suffix, enclosed in single quotes <code>'\u0027</code>. Does nothing if a conflicting import exists. Evaluates to nothing.<br><br><b>Example:</b><br><code>${:importStatic(java.util.Collections.EMPTY_SET, 'java.lang.System.*')}</code> templates.java.resolvers.Var.name= Variable templates.java.resolvers.Var.description= <b>${<i>id</i>:var(type[,type]*)}</b><br>Evaluates to a field, local variable or parameter visible in the current scope that is a subtype of any of the given types. If no type is specified, any non-primitive variable matches.<br><br><b>Example:</b><br><code>${array:var('java.lang.Object[]')}</code> templates.java.resolvers.LocalVar.name= Local Variable |
