package com.chriskdon.signal;

import com.sun.istack.internal.NotNull;

/**
 * Handles signals.
 * @param <TSignal> The type of signal handled by this detector.
 */
public abstract class Detector<TSignal extends Signal> {
  private Reference reference;

  /**
   * Set the reference value.
   *
   * @param reference The reference to set to.
   */
  public final void setReference(@NotNull Reference reference) {
    if(reference == null) {
      throw new IllegalArgumentException("`reference` can't be null.");
    }

    this.reference = reference;
  }

  public abstract void handleSignal(TSignal signal);
}

@@ -28,49 +28,8 @@
 l;%0A%0A
-import com.sun.istack.internal.NotNull;%0A%0A
 /**%0A
@@ -337,17 +337,8 @@
 nce(
-@NotNull 
 Refe

Remove old sun package