Java Class Name Convert To classNameToAsm(Class c1ass)

Here you can find the source of classNameToAsm(Class c1ass)

Description

class Name To Asm

License

Open Source License

Declaration

public static String classNameToAsm(Class<?> c1ass) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static String classNameToAsm(Class<?> c1ass) {
        return classNameToAsm(c1ass.getName());
    }// w  w  w .  ja v a  2  s.c o m

    public static String classNameToAsm(String name) {
        return "L" + name.replace('.', '/') + ";";
    }
}

Related

  1. classNameToConstant(String className)
  2. classNameToDirectoryName(final Class targetClass)
  3. classnameToFilename(String classname)
  4. classNameToFilePath(String className)