src.samples.java.ex.SCII_Sample Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fb-contrib Show documentation
Show all versions of fb-contrib Show documentation
An auxiliary findbugs.sourceforge.net plugin for java bug detectors that fall outside the narrow scope of detectors to be packaged with the product itself.
package ex;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.util.Comparator;
public class SCII_Sample extends OverEndulgentParent implements MouseListener {
@Override
public void mouseClicked(MouseEvent arg0) {
}
}
class OverEndulgentParent {
public void mousePressed(MouseEvent arg0) {
}
public void mouseReleased(MouseEvent arg0) {
}
public void mouseEntered(MouseEvent arg0) {
}
public void mouseExited(MouseEvent arg0) {
}
interface A {
public void a();
public void b();
public void c();
}
interface B extends A {
@Override
public void b();
}
interface C extends B {
@Override
public void c();
}
class AA implements A {
@Override
public void a() {
}
@Override
public void b() {
}
@Override
public void c() {
}
}
class BB extends AA implements B {
}
class CC extends BB implements C {
}
}
enum FPInterfaceOverridesObject implements Comparator {
FPEXAMPLE;
@Override
public int compare(FP o1, FP o2) {
return o1.problem().compareTo(o2.problem());
}
}
interface FP {
String problem();
}