code: private List<Method> getExcludedMethods(final Class<?> cls) {
  
          final List<Method> lst = new ArrayList<Method>();
          for (final ContractExclude exclude : cls.getAnnotationsByType( ContractExclude.class )) {
              final Class<?> clazz = exclude.value();
              for (final String mthdName : exclude.methods()) {
                  try {
                      lst.add( clazz.getDeclaredMethod( mthdName ) );
                  } catch (NoSuchMethodException | SecurityException e) {
                      LOG.warn( String.format( "ContractExclude annotation on %s incorrect", cls ), e );
                  }
              }
          }
          return lst;
      }
docs: Get the ContractExclude annotation and extract the list of methods from
  it.
  
  logs error if method is not found on the class specified in the
  annotation.
  
  @param cls
  The class on which to for the annotation.
  @param errors
  The list of errors to add to if there is an error
  @return A list of methods. May be empty.
  @throws InitializationError