Community
Participate
Working Groups
Bean name (field name) validation is not consistent. Create Bean, RenameDialog (from RenameJavaBeanObjectActionDelegate), and FieldValidator for NameInMemberComposition (see in JavaVisualEditorPart) each use a different way to determine if the name is valid. Some use only the validInstanceVariableRule, some use the rule in combination, and some just do their own checks. This means some will require a name to be unique throughout the class, while the other says it must be unique within the block it is defined in (the class if a field, or the method if it is a local variable). They need to be changed to all use the rule, and the rule needs to be changed to handle local variables.