improve java documentation for appinterfaces interfaces and classes