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