Project: JDT
Bug 36195 [code templates] make method name available as variable
Reported: 2003-04-08 05:55:16 | Status: resolved fixed

For code generation in the preferences | java | code generation | code and comments in case of exception there seems to be available only: date, dollar, exception_type, exception_var, time, todo, user, year Is it possible to make the enclosing method name accessible the exception is generated in? Thanks Ido

Files changed in fix:
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/CodeTemplateContextType.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/surround/SurroundWithTryCatchRefactoring.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LocalCorrectionsSubProcessor.java