Community
Participate
Working Groups
1. Code: package a.b; public class MyClass { public static class MyExc extends Exception {} } 2. Request: When selecting MyExc for Refactor > Rename ... (I think alike Move..., Move Member Type to New File) the upcoming dialog "Rename Type" should have the possibility to check "Update canonical name in non-Java files", and to give "File name patterns", similarly as we can do with the fully qualified name when renaming the top level class MyClass. 3. Motivation: We use an exception's canonical name as key to a .properties file containing the appropriate message texts for each exception. Actually, we use the class name as provided by java.lang.Class.getName(), that is here "a.b.MyClass$MyExc", but for us the canonical name "a.b.MyClass.MyExc" would be acceptable, too. Unfortunately, there is no exact naming of the format, which returns Class.getName().
We have this feature, but only for top-level types and fields. Makes sense to update it for inner member types.