aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-squid-java-plugin/test-resources/bytecode/lcom4/src/LCOM4Exclusions.java
blob: 25f4e8ed464c0f6f896bf81e7cd4b0bafb361af2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
public abstract class LCOM4Exclusions implements Runnable {
  
  public static String field1;
  public static String field2;

  public LCOM4Exclusions(){}
  
  public static void doWork(){}
  
  public void emptyMethod(){}
  
  public abstract void doAbstractWork();
  
  public void run(){
    run2();
  }
  
  public void run2(){
    run();
  }
  
  public boolean equals(Object object){
    return (field1 == null) ? false : field1.equals(field2);
  }
}