with java doc