Utils.java Source code

Java tutorial

Introduction

Here is the source code for Utils.java

Source

public class Utils {

    public static String nonPackageQualifiedName(final Class<?> clazz) {

        String name = clazz.getName();
        return name.substring(name.lastIndexOf('.') + 1);
    }

}