public class Clase {

	public static final int CONSTANTE_A = 0; // Noncompliant
	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 CONSTANTE_1 = "A", CONSTANTE_2 = "B"; // Noncompliant

	public static final void nuevoMetodo() {
		int var1 = 0;
		int var2;
	}

	public static final void segundoMetodo(int parametro) {
		int numero = parametro;
	}

	private static final class ClasePrivada {
		public static final int CONSTANTE_M = 0; // Noncompliant
		public static final int CONSTANTE_N = 1;
	}

	private static final class ClasePrivadaConDIferentesTipos {
		public static final int CONSTANTE_A1 = 0;
		public static final String CONSTANTE_B1 = "B1";
	}

	private static final class ClasePrivadaConDosConstantesYUnaDeclaracion {
		public static final int CONSTANTE_G = 50, CONSTANTE_H = 20; // Noncompliant
	}

	private static final class ClasePrivadaQueNoIncumpleRegla {
		public static final int CONSTANTE_S = 25;

	}
}

class OtraClase {
	public static final int CONSTANTE_Z = 0; // Noncompliant
	public static final int CONSTANTE_Y = 1;
}

class OtraClaseCorrecta {
	public static final int CONSTANTE_Z = 0;
	public static final double CONSTANTE_Z2 = 1.0;
}

class OtraClaseQueTampocoIncumpleRegla {
	public static final int CONSTANTE_Z = 100;
}
