public static @CheckForNull @SlashedClassName String fromFieldSignature(String signature){
  if (signature.charAt(0) != 'L') {
    return null;
  }
  return signature.substring(1,signature.length() - 1);
}

public static @ CheckForNull @ SlashedClassName String fromFieldSignature ( String signature ) { if ( signature . charAt ( 0 ) != 'L' ) { return null ; } return signature . substring ( 1 , signature . length ( ) - 1 ) ; }
converts from signature to slashed class name ( e . g . , from ljava / lang / string ; to java / lang / string ) . returns null if it is the signature for an array or primitive type .
