test_class.file: sandbox/dominio/src/test/java/br/ufg/inf/es/saep/sandbox/dominio/regra/RegraTest.java
test_class.identifier: RegraTest
test_case.body: @Test
      public void ajustaLimitesCorretamente() {
          RegraParaTeste r = new RegraParaTeste("v", "d", 1, 0);
          assertEquals(1f, r.ajustaLimites(1.001f), 0.0001f);
          assertEquals(0f, r.ajustaLimites(-0.0001f), 0.0001f);
          assertEquals(0.5f, r.ajustaLimites(0.5f), 0.0001f);
      }
test_case.class_method_signature: RegraTest.ajustaLimitesCorretamente()
test_case.full_signature: @Test public void ajustaLimitesCorretamente()
test_case.identifier: ajustaLimitesCorretamente
test_case.invocations: assertEquals ajustaLimites assertEquals ajustaLimites assertEquals ajustaLimites
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void ajustaLimitesCorretamente()
focal_class.declarator: descricao
focal_class.modifier: private
focal_class.original_string: private String descricao;
focal_class.type: String
focal_class.var_name: descricao
focal_class.declarator: valorMaximo
focal_class.modifier: private
focal_class.original_string: private float valorMaximo;
focal_class.type: float
focal_class.var_name: valorMaximo
focal_class.declarator: valorMinimo
focal_class.modifier: private
focal_class.original_string: private float valorMinimo;
focal_class.type: float
focal_class.var_name: valorMinimo
focal_class.declarator: variavel
focal_class.modifier: private
focal_class.original_string: private String variavel;
focal_class.type: String
focal_class.var_name: variavel
focal_class.declarator: dependeDe
focal_class.modifier: private
focal_class.original_string: private List<String> dependeDe;
focal_class.type: List<String>
focal_class.var_name: dependeDe
focal_class.file: sandbox/dominio/src/main/java/br/ufg/inf/es/saep/sandbox/dominio/regra/Regra.java
focal_class.identifier: Regra
focal_class.class_method_signature: Regra.Regra(final String resultado,
                   final String detalhes,
                   final float maximo,
                   final float minimo)
focal_class.full_signature: public  Regra(final String resultado,
                   final String detalhes,
                   final float maximo,
                   final float minimo)
focal_class.identifier: Regra
focal_class.modifiers: public
focal_class.parameters: (final String resultado,
                   final String detalhes,
                   final float maximo,
                   final float minimo)
focal_class.signature:  Regra(final String resultado,
                   final String detalhes,
                   final float maximo,
                   final float minimo)
focal_class.class_method_signature: Regra.getDescricao()
focal_class.full_signature: public final String getDescricao()
focal_class.identifier: getDescricao
focal_class.modifiers: public final
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getDescricao()
focal_class.class_method_signature: Regra.getValorMaximo()
focal_class.full_signature: public final float getValorMaximo()
focal_class.identifier: getValorMaximo
focal_class.modifiers: public final
focal_class.parameters: ()
focal_class.return: float
focal_class.signature: float getValorMaximo()
focal_class.class_method_signature: Regra.getValorMinimo()
focal_class.full_signature: public final float getValorMinimo()
focal_class.identifier: getValorMinimo
focal_class.modifiers: public final
focal_class.parameters: ()
focal_class.return: float
focal_class.signature: float getValorMinimo()
focal_class.class_method_signature: Regra.getVariavel()
focal_class.full_signature: public final String getVariavel()
focal_class.identifier: getVariavel
focal_class.modifiers: public final
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getVariavel()
focal_class.class_method_signature: Regra.getDependeDe()
focal_class.full_signature: public final List<String> getDependeDe()
focal_class.identifier: getDependeDe
focal_class.modifiers: public final
focal_class.parameters: ()
focal_class.return: List<String>
focal_class.signature: List<String> getDependeDe()
focal_class.class_method_signature: Regra.setDependeDe(final List<String> dependencias)
focal_class.full_signature: public final void setDependeDe(final List<String> dependencias)
focal_class.identifier: setDependeDe
focal_class.modifiers: public final
focal_class.parameters: (final List<String> dependencias)
focal_class.return: void
focal_class.signature: void setDependeDe(final List<String> dependencias)
focal_class.class_method_signature: Regra.equals(final Object outro)
focal_class.full_signature: @Override public final boolean equals(final Object outro)
focal_class.identifier: equals
focal_class.modifiers: @Override public final
focal_class.parameters: (final Object outro)
focal_class.return: boolean
focal_class.signature: boolean equals(final Object outro)
focal_class.class_method_signature: Regra.hashCode()
focal_class.full_signature: @Override public final int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public final
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: Regra.ajustaLimites(final float valor)
focal_class.full_signature: public final float ajustaLimites(final float valor)
focal_class.identifier: ajustaLimites
focal_class.modifiers: public final
focal_class.parameters: (final float valor)
focal_class.return: float
focal_class.signature: float ajustaLimites(final float valor)
focal_class.class_method_signature: Regra.preparacao(final Parser parser)
focal_class.full_signature: public void preparacao(final Parser parser)
focal_class.identifier: preparacao
focal_class.modifiers: public
focal_class.parameters: (final Parser parser)
focal_class.return: void
focal_class.signature: void preparacao(final Parser parser)
focal_class.class_method_signature: Regra.avalie(List<Avaliavel> avaliaveis,
                                   Map<String, Valor> contexto)
focal_class.full_signature: public abstract Valor avalie(List<Avaliavel> avaliaveis,
                                   Map<String, Valor> contexto)
focal_class.identifier: avalie
focal_class.modifiers: public abstract
focal_class.parameters: (List<Avaliavel> avaliaveis,
                                   Map<String, Valor> contexto)
focal_class.return: Valor
focal_class.signature: Valor avalie(List<Avaliavel> avaliaveis,
                                   Map<String, Valor> contexto)
focal_method.body: public final float ajustaLimites(final float valor) {
          if (valor < getValorMinimo()) {
              return getValorMinimo();
          }
  
          if (valor > getValorMaximo()) {
              return getValorMaximo();
          }
  
          return valor;
      }
focal_method.class_method_signature: Regra.ajustaLimites(final float valor)
focal_method.full_signature: public final float ajustaLimites(final float valor)
focal_method.identifier: ajustaLimites
focal_method.invocations: getValorMinimo getValorMinimo getValorMaximo getValorMaximo
focal_method.modifiers: public final
focal_method.parameters: (final float valor)
focal_method.return: float
focal_method.signature: float ajustaLimites(final float valor)