Constructor and Description |
---|
ZipLibrary(String fileName) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes all read streams.
|
Resource |
getBuildResourceByPath(String path)
Returns a resource handle or null for the provided path.
|
Set<String> |
getBuildResourcePaths()
Returns the set of paths of build resources.
|
InputStream |
getClassFileStream(String classFilePath)
Returns a class file input stream or null for the provided path.
|
CompilationErrorsIndexImpl |
getCompilationErrorsIndex()
Returns a source of compilation error information to support detailed logging.
|
CompilationUnit |
getCompilationUnitByTypeBinaryName(String typeBinaryName)
Returns the compilation unit containing the type with the given binary name.
|
CompilationUnit |
getCompilationUnitByTypeSourceName(String typeSourceName)
Returns the compilation unit containing the type with the given source name.
|
Set<String> |
getDependencyLibraryNames()
Returns the set of names of dependency libraries.
|
ArtifactSet |
getGeneratedArtifacts()
Returns the set of artifacts that were created by generators when compiling this library.
|
String |
getLibraryName()
Returns the name of the library.
|
com.google.gwt.thirdparty.guava.common.collect.Multimap<String,String> |
getNestedBinaryNamesByCompilationUnitName()
Returns a mapping from compilation unit type source name to a list of nested type binary names.
|
com.google.gwt.thirdparty.guava.common.collect.Multimap<String,String> |
getNestedSourceNamesByCompilationUnitName()
Returns a mapping from compilation unit type source name to a list of nested type source names.
|
ZipEntryBackedObject<PermutationResult> |
getPermutationResultHandle()
Returns a handle to the serialized permutation result of this library.
|
com.google.gwt.thirdparty.guava.common.collect.Multimap<String,String> |
getProcessedReboundTypeSourceNamesByGenerator()
Returns a mapping from generator name to the set of source names of types that have been
processed by that generator in this library.
|
Resource |
getPublicResourceByPath(String path)
Returns a resource handle or null for the provided path.
|
Set<String> |
getPublicResourcePaths()
Returns the set of paths of public resources.
|
Set<String> |
getReboundTypeSourceNames()
Returns the set of source names of types which are the subject of GWT.create() calls in source
code for this library.
|
Set<String> |
getRegularClassFilePaths()
Returns the set of regular (non-super-source) class file paths.
|
Set<String> |
getRegularCompilationUnitTypeSourceNames()
Returns the set of regular (non-super-source) compilation unit type source names.
|
Set<String> |
getSuperSourceClassFilePaths()
Returns the set of super source class file paths.
|
Set<String> |
getSuperSourceCompilationUnitTypeSourceNames()
Returns the set of super source compilation unit type source names.
|
public ZipLibrary(String fileName) throws Libraries.IncompatibleLibraryVersionException
public void close()
Library
public Resource getBuildResourceByPath(String path)
Library
getBuildResourceByPath
in interface Library
public Set<String> getBuildResourcePaths()
Library
getBuildResourcePaths
in interface Library
public InputStream getClassFileStream(String classFilePath)
Library
getClassFileStream
in interface Library
public CompilationErrorsIndexImpl getCompilationErrorsIndex()
Library
getCompilationErrorsIndex
in interface Library
public CompilationUnit getCompilationUnitByTypeBinaryName(String typeBinaryName)
Library
getCompilationUnitByTypeBinaryName
in interface Library
public CompilationUnit getCompilationUnitByTypeSourceName(String typeSourceName)
Library
getCompilationUnitByTypeSourceName
in interface Library
public Set<String> getDependencyLibraryNames()
Library
getDependencyLibraryNames
in interface Library
public ArtifactSet getGeneratedArtifacts()
Library
getGeneratedArtifacts
in interface Library
public String getLibraryName()
Library
getLibraryName
in interface Library
public com.google.gwt.thirdparty.guava.common.collect.Multimap<String,String> getNestedBinaryNamesByCompilationUnitName()
Library
getNestedBinaryNamesByCompilationUnitName
in interface Library
public com.google.gwt.thirdparty.guava.common.collect.Multimap<String,String> getNestedSourceNamesByCompilationUnitName()
Library
getNestedSourceNamesByCompilationUnitName
in interface Library
public ZipEntryBackedObject<PermutationResult> getPermutationResultHandle()
Library
getPermutationResultHandle
in interface Library
public com.google.gwt.thirdparty.guava.common.collect.Multimap<String,String> getProcessedReboundTypeSourceNamesByGenerator()
Library
getProcessedReboundTypeSourceNamesByGenerator
in interface Library
public Resource getPublicResourceByPath(String path)
Library
getPublicResourceByPath
in interface Library
public Set<String> getPublicResourcePaths()
Library
getPublicResourcePaths
in interface Library
public Set<String> getReboundTypeSourceNames()
Library
getReboundTypeSourceNames
in interface Library
public Set<String> getRegularClassFilePaths()
Library
getRegularClassFilePaths
in interface Library
public Set<String> getRegularCompilationUnitTypeSourceNames()
Library
getRegularCompilationUnitTypeSourceNames
in interface Library
public Set<String> getSuperSourceClassFilePaths()
Library
getSuperSourceClassFilePaths
in interface Library
public Set<String> getSuperSourceCompilationUnitTypeSourceNames()
Library
getSuperSourceCompilationUnitTypeSourceNames
in interface Library
Copyright © 2018. All rights reserved.