adding annotation of restricted java