Add properties for Java annotations
See comment in code
One of them with KClass<*> parameters and other with java.lang.Class<*>. It's needed just for backward compatibility, and second one is deprecared.