get and find class name from css code example Example: how get class name String className = this.getClass().getSimpleName();