package com.siyeh.igtest.inheritance.abstract_method_with_missing_implementations;

class Temp35 {
  public Workable quintoSmart() { return new Workable() {
    @Override public void work() { }
  }; }

  public interface <error descr="Duplicate class: 'Workable'">Workable</error> { void work(); }
  public interface <error descr="Duplicate class: 'Workable'">Workable</error> { void work(); }

  public static void main(String[] args) {
    abstract class Local { abstract void work(); }
    abstract class <error descr="Duplicate class: 'Local'">Local</error> { abstract void work(); }
    new Local() {
      @Override public void work() { }
    };
  }

}