public class StubJar extends Object
Constructor and Description |
---|
StubJar(Path toMirror) |
StubJar(SourceVersion targetVersion,
ElementsExtended elements,
Types types,
Messager messager,
Iterable<Element> topLevelElements,
boolean includeParameterMetadata) |
Modifier and Type | Method and Description |
---|---|
StubJar |
setCompatibilityMode(AbiGenerationMode compatibilityMode)
Filters the stub jar through
SourceAbiCompatibleVisitor . |
void |
writeTo(JarBuilder jarBuilder) |
void |
writeTo(ProjectFilesystem filesystem,
Path path) |
public StubJar(Path toMirror)
public StubJar(SourceVersion targetVersion, ElementsExtended elements, Types types, Messager messager, Iterable<Element> topLevelElements, boolean includeParameterMetadata)
targetVersion
- the class file version to output, expressed as the corresponding Java
source versiontypes
- messager
- includeParameterMetadata
- public StubJar setCompatibilityMode(AbiGenerationMode compatibilityMode)
SourceAbiCompatibleVisitor
. See that class for details.compatibilityMode
- public void writeTo(ProjectFilesystem filesystem, Path path) throws IOException
IOException
public void writeTo(JarBuilder jarBuilder) throws IOException
IOException