The convention says: "Non-public, non-static field names start with m. Other fields start with a lower case letter". Does it refer to class field only (like in example 1) or to all field (like in example 2)?
Example 1
public class One {
private int mFieldOne;
private int mFieldTwo;
public void someMethod(){
int methodFieldOne;
int methodFieldTwo;
}
}
Example 2
public class Two {
private int mFieldOne;
private int mFieldTwo;
public void someMethod(){
int mMethodFieldOne; //see m here
int mMethodFieldTwo; //see m here
}
}