public class Clase {

	public static final int CONSTANTE_A = 0;
	public static final int CONSTANTE_B = 1;
	private int resultado;
	private static int resultadoGlobal;
	public static final int CONSTANTE_C = 2, CONSTANTE_D = 3;
	public static final String C_1 = "A", C_2 = "B", C_3 = "C", C_4 = "D"; // Noncompliant
	public static final String C_5 = "E";

	public static final void nuevoMetodo() {
		int var1 = 0;
		int var2, var3, var4, var5;
	}

	private static final class ClasePrivada {
		public static final int CONSTANTE_M = 0; // Noncompliant
		public static final int CONSTANTE_N = 1;
		public static final int CONSTANTE_O = 2, CONSTANTE_P = 3;
		public static final int CONSTANTE_Q = 4;
	}

	private static final class ClasePrivadaConDIferentesTipos {
		public static final int CONSTANTE_A1 = 0, CONSTANTE_A2 = 5;
		public static final int CONSTANTE_A3 = 15, CONSTANTE_A4 = 25;
		public static final String CONSTANTE_B1 = "B1";
	}
}

class OtraClase {
	public static final int CONSTANTE_Z = 0; // Noncompliant
	public static final int CONSTANTE_Y = 1;
	public static final int CONSTANTE_X = 2;
	public static final int CONSTANTE_W = 3;
	public static final double CONSTANTE_A1 = 1.0; // Noncompliant
	public static final double CONSTANTE_A2 = 1.1;
	public static final double CONSTANTE_A3 = 1.2;
	public static final double CONSTANTE_A4 = 1.3;
	public static final double CONSTANTE_A5 = 1.4;
	public static final int CONSTANTE_V = 4;
}

class OtraClaseCorrecta {
	public static final int CONSTANTE_Z = 1;
	public static final int CONSTANTE_Y = 5;
	public static final int CONSTANTE_X = 25;
	public static final double CONSTANTE_Z2 = 1.0;
	public static final double CONSTANTE_Z3 = 1.1;
}