Here you can find the source of typeToSignature(String className)
public static String typeToSignature(String className)
//package com.java2s; public class Main { /**/* w ww. j a v a 2s . c om*/ * Converts class name ("foo.Bar") to signature ("foo/bar"). */ public static String typeToSignature(String className) { return className.replace('.', '/'); } /** * Converts class name ("foo.Bar") to asm name ("foo/bar"). */ public static String typeToSignature(Class type) { return type.getName().replace('.', '/'); } }