src/main/java/org/owasp/url/Classification.java
public Classification invert() {
    switch (this) {
    case NOT_A_MATCH: return MATCH;
    case MATCH:       return NOT_A_MATCH;
    case INVALID:     return INVALID;
    }
    throw new AssertionError(this);
  }
/**
   * Logical inverse where invalid -> invalid.
   */
Logical inverse where invalid -> invalid.
Logical inverse where invalid - > invalid .
public Classification invert() {
    switch (this) {
    case NOT_A_MATCH: return MATCH;
    case MATCH:       return NOT_A_MATCH;
    case INVALID:     return INVALID;
    }
    throw new AssertionError(this);
  }
public Classification invert ( ) { switch ( this ) { case NOT_A_MATCH : return MATCH ; case MATCH : return NOT_A_MATCH ; case INVALID : return INVALID ; } throw new AssertionError ( this ) ; }
Logical inverse where invalid -> invalid.
Logical inverse where invalid - > invalid .