Java Question Is B4A trying to find object properties in Java classes?

cheese

Member
Licensed User
Longtime User
What I've found in my tests is B4A will fail to provide code completion (failing integration?) of a Java class if it is coded similar to the following:

B4X:
public class Test {
    int i;
    public void getTotal()
    {
         this.i = 4+6;
    }
}

I think the problem here is that I named my "void" method starting with "get". B4A may be thinking Total is a property but gets confused. When I rename getTotal to xxxTotal it seems to work, i.e. I get code completion as expected.
 
Top