Open
Description
Hi,
I wrote this template:
${result:newName(Class)} ${newField} = (${result}) Factory.CreateObject(${result}.class);
I wasn't able to use it because I had this exception:
class org.eclipse.jdt.internal.corext.template.java.JavaContext cannot be cast to class org.eclipse.jdt.internal.corext.template.java.JavaPostfixContext (org.eclipse.jdt.internal.corext.template.java.JavaContext and org.eclipse.jdt.internal.corext.template.java.JavaPostfixContext are in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @4d097a89)
I think it could be easier to use if the error explained the situation better.
Thank you
Metadata
Metadata
Assignees
Labels
No labels