@SlashedClassName @SuppressFBWarnings("TQ_EXPLICIT_UNKNOWN_SOURCE_VALUE_REACHES_ALWAYS_SINK") public static String toSlashedClassName(@SlashedClassName(when=When.UNKNOWN) String className){
  if (className.indexOf('.') >= 0) {
    return DescriptorFactory.canonicalizeString(className.replace('.','/'));
  }
  return className;
}

@ SlashedClassName @ SuppressFBWarnings ( "TQ_EXPLICIT_UNKNOWN_SOURCE_VALUE_REACHES_ALWAYS_SINK" ) public static String toSlashedClassName ( @ SlashedClassName ( when = When . UNKNOWN ) String className ) { if ( className . indexOf ( '.' ) >= 0 ) { return DescriptorFactory . canonicalizeString ( className . replace ( '.' , '/' ) ) ; } return className ; }
convert class name to slashed format . if the class name is already in slashed format , it is returned unmodified .
