add annotations to static methods