Android Class Name Get getClassName()

Here you can find the source of getClassName()

Description

get Class Name

License

Open Source License

Declaration

public static String getClassName() 

Method Source Code

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

public class Main {
    public static String getClassName() {
        return new Exception().getStackTrace()[0].getClassName();
    }//from ww w  .  j a  v a  2 s. c om
}

Related

  1. extractPartialClassName(String className, int parts)
  2. createValidClassName(String str)