Class JarEntryAnnotationFileResource

java.lang.Object
org.checkerframework.framework.stub.JarEntryAnnotationFileResource
All Implemented Interfaces:
AnnotationFileResource

public class JarEntryAnnotationFileResource extends Object implements AnnotationFileResource
Implementation of AnnotationFileResource for an entry in a JAR or ZIP archive. The resource holds the entry's contents, so it holds no open file handle.
  • Constructor Details

    • JarEntryAnnotationFileResource

      public JarEntryAnnotationFileResource(File archive, String entryName, byte[] contents)
      Constructs a AnnotationFileResource for the specified entry in the specified archive.
      Parameters:
      archive - the JAR or ZIP archive
      entryName - the name of the entry in the archive
      contents - the contents of the entry
  • Method Details