getDeclaringClass instead stupid checking names