wolips/wolips — Issue #30: "Add key" does not generate correct java source code is second character of key is upper case [WOL-774]
Author: timcu
Created: 2011-12-20 21:33:59+00:00
State: open

This issue is WOL-774 from Jira. The behavior has changed since first described in Jira but is still wrong. I am describing the new wrong behavior below.

If my WOD file contains

```wod
MyString: WOTextField {
value = aString;
}
```

and I cmd-click on "aString" to generate the java source code, I get the source code below. Note that the setter method should be "setAString" not "setaString". This problem only occurs if the second character of the key is upper case!

```java
private String _aString;

/**
* @return the aString
*/
public String aString() {
return _aString;
}

/**
* @param aString the aString to set
*/
public void setaString(String aString) {
_aString = aString;
}
```