Here you can find the source of extractClassName(String fullElement)
public static String extractClassName(String fullElement)
//package com.java2s; //License from project: Open Source License public class Main { public static String extractClassName(String fullElement) { return fullElement.substring(0, fullElement.lastIndexOf(".")); }//from w w w .j a v a2 s . c o m }