* @return is singleton class
*/
private static boolean isSingletonClass(Object o) {
if (o == null)
return false;
ClassProperties annotation = o.getClass().getAnnotation(ClassProperties.class);
if (annotation == null) {
return false;
} else if (annotation.singletonClass() == true) {
return true;
}
return false;
}