def _cls(self, raw): pkg = apilint.Package(999, "package pkg {", None) return apilint.Class(pkg, 1, raw, '', sig_format=2)
def cls(pkg, name): return apilint.Class(apilint.Package(999, "package %s {" % pkg, None), 999, "public final class %s {" % name, None)