Skip navigation links
A B C D E F G H I J L M N O P R S T U V 

A

addPath(DependencyPath) - Method in class com.google.cloud.tools.opensource.dependencies.DependencyGraph
 
annotate(ClassPathBuilder, ClassPathResult, Iterable<LinkageProblem>) - Static method in class com.google.cloud.tools.opensource.classpath.LinkageProblemCauseAnnotator
Annotates the cause field of LinkageProblems with the LinkageProblemCause.
append(Dependency) - Method in class com.google.cloud.tools.opensource.dependencies.DependencyPath
 
artifact - Variable in class com.google.cloud.tools.opensource.dependencies.ArtifactProblem
 
ArtifactProblem - Class in com.google.cloud.tools.opensource.dependencies
Problem in a Maven artifact in a dependency tree.
ArtifactProblem(Artifact, List<DependencyNode>) - Constructor for class com.google.cloud.tools.opensource.dependencies.ArtifactProblem
 
Artifacts - Class in com.google.cloud.tools.opensource.dependencies
Common utilities for operating on org.eclipse.aether.artifact.Artifact objects.

B

Bom - Class in com.google.cloud.tools.opensource.dependencies
 
Bom(String, ImmutableList<Artifact>) - Constructor for class com.google.cloud.tools.opensource.dependencies.Bom
 
buildDependencyPathTree(Collection<DependencyPath>) - Static method in class com.google.cloud.tools.opensource.dependencies.DependencyTreeFormatter
Builds ListMultimap that represents a Maven dependency tree of parent-children relationship.
buildFullDependencyGraph(List<Artifact>) - Method in class com.google.cloud.tools.opensource.dependencies.DependencyGraphBuilder
Finds the full compile time, transitive dependency graph including duplicates, conflicting versions, and provided and optional dependencies.
buildMavenDependencyGraph(Dependency) - Method in class com.google.cloud.tools.opensource.dependencies.DependencyGraphBuilder
Builds the transitive dependency graph as seen by Maven.
buildVerboseDependencyGraph(List<Artifact>) - Method in class com.google.cloud.tools.opensource.dependencies.DependencyGraphBuilder
Finds the full compile time, transitive dependency graph including duplicates and conflicting versions, but not optional dependencies.
buildVerboseDependencyGraph(Artifact) - Method in class com.google.cloud.tools.opensource.dependencies.DependencyGraphBuilder
Finds the full compile time, transitive dependency graph including conflicting versions and provided dependencies.

C

CENTRAL - Static variable in class com.google.cloud.tools.opensource.dependencies.RepositoryUtility
 
ClassFile - Class in com.google.cloud.tools.opensource.classpath
A locator for a compiled class file of className in classPathEntry to uniquely locate the class implementation in a class path.
ClassFile(ClassPathEntry, String) - Constructor for class com.google.cloud.tools.opensource.classpath.ClassFile
 
ClassNotFoundProblem - Class in com.google.cloud.tools.opensource.classpath
The classSymbol, referenced by sourceClass is not found in the class path.
ClassNotFoundProblem(ClassFile, ClassSymbol) - Constructor for class com.google.cloud.tools.opensource.classpath.ClassNotFoundProblem
 
ClassPathBuilder - Class in com.google.cloud.tools.opensource.classpath
Utility to build ClassPathResult that holds class path (a list of ClassPathEntry) through a dependency tree of Maven artifacts.
ClassPathBuilder() - Constructor for class com.google.cloud.tools.opensource.classpath.ClassPathBuilder
 
ClassPathBuilder(DependencyGraphBuilder) - Constructor for class com.google.cloud.tools.opensource.classpath.ClassPathBuilder
 
ClassPathEntry - Class in com.google.cloud.tools.opensource.classpath
An entry in a class path.
ClassPathEntry(Artifact) - Constructor for class com.google.cloud.tools.opensource.classpath.ClassPathEntry
An entry for a Maven artifact.
ClassPathResult - Class in com.google.cloud.tools.opensource.classpath
Result of class path resolution with UnresolvableArtifactProblems if any.
ClassPathResult(ListMultimap<ClassPathEntry, DependencyPath>, Iterable<UnresolvableArtifactProblem>) - Constructor for class com.google.cloud.tools.opensource.classpath.ClassPathResult
 
ClassReferenceGraph - Class in com.google.cloud.tools.opensource.classpath
Directed graph of class references.
ClassSymbol - Class in com.google.cloud.tools.opensource.classpath
Symbol for a class.
ClassSymbol(String) - Constructor for class com.google.cloud.tools.opensource.classpath.ClassSymbol
 
com.google.cloud.tools.opensource.classpath - package com.google.cloud.tools.opensource.classpath
 
com.google.cloud.tools.opensource.dependencies - package com.google.cloud.tools.opensource.dependencies
 
compare(String, String) - Method in class com.google.cloud.tools.opensource.dependencies.VersionComparator
 
concat(DependencyPath) - Method in class com.google.cloud.tools.opensource.dependencies.DependencyPath
 
create(List<ClassPathEntry>) - Static method in class com.google.cloud.tools.opensource.classpath.LinkageChecker
 
create(List<ClassPathEntry>, Iterable<ClassPathEntry>, Path) - Static method in class com.google.cloud.tools.opensource.classpath.LinkageChecker
Returns Linkage Checker for classPath.
create(Bom) - Static method in class com.google.cloud.tools.opensource.classpath.LinkageChecker
 
create(Bom, Path) - Static method in class com.google.cloud.tools.opensource.classpath.LinkageChecker
 
createUnresolvableArtifactProblem(Artifact) - Method in class com.google.cloud.tools.opensource.dependencies.DependencyGraph
Creates a problem describing that artifact is unresolvable in this dependency graph.

D

DependencyGraph - Class in com.google.cloud.tools.opensource.dependencies
A complete non-cyclic transitive dependency graph of a Maven dependency.
DependencyGraph(DependencyNode) - Constructor for class com.google.cloud.tools.opensource.dependencies.DependencyGraph
 
DependencyGraphBuilder - Class in com.google.cloud.tools.opensource.dependencies
Builds dependency graphs for Maven artifacts by querying repositories for pom.xml files and following the dependency chains therein.
DependencyGraphBuilder() - Constructor for class com.google.cloud.tools.opensource.dependencies.DependencyGraphBuilder
 
DependencyGraphBuilder(Iterable<String>) - Constructor for class com.google.cloud.tools.opensource.dependencies.DependencyGraphBuilder
 
dependencyPath - Variable in class com.google.cloud.tools.opensource.dependencies.ArtifactProblem
 
DependencyPath - Class in com.google.cloud.tools.opensource.dependencies
A sequence of Maven artifacts and dependencies (scope and optional flag) in between.
DependencyPath(Artifact) - Constructor for class com.google.cloud.tools.opensource.dependencies.DependencyPath
 
DependencyTreeFormatter - Class in com.google.cloud.tools.opensource.dependencies
Formats Maven artifact dependency tree.
DependencyTreeFormatter() - Constructor for class com.google.cloud.tools.opensource.dependencies.DependencyTreeFormatter
 
deriveChildSelector(DependencyCollectionContext) - Method in class com.google.cloud.tools.opensource.dependencies.DirectProvidedDependencySelector
 
deriveChildSelector(DependencyCollectionContext) - Method in class com.google.cloud.tools.opensource.dependencies.FilteringZipDependencySelector
 
deriveChildSelector(DependencyCollectionContext) - Method in class com.google.cloud.tools.opensource.dependencies.NonTestDependencySelector
 
detectOsProperties() - Static method in class com.google.cloud.tools.opensource.dependencies.OsProperties
 
DirectProvidedDependencySelector - Class in com.google.cloud.tools.opensource.dependencies
Selects direct provided-scope dependencies.

E

equals(Object) - Method in class com.google.cloud.tools.opensource.classpath.ClassFile
 
equals(Object) - Method in class com.google.cloud.tools.opensource.classpath.ClassPathEntry
 
equals(Object) - Method in class com.google.cloud.tools.opensource.classpath.ClassSymbol
 
equals(Object) - Method in class com.google.cloud.tools.opensource.classpath.LinkageProblem
 
equals(Object) - Method in class com.google.cloud.tools.opensource.classpath.MethodSymbol
 
equals(Object) - Method in class com.google.cloud.tools.opensource.classpath.Symbol
 
equals(Object) - Method in class com.google.cloud.tools.opensource.classpath.UnknownCause
 
equals(Object) - Method in class com.google.cloud.tools.opensource.dependencies.ArtifactProblem
 
equals(Object) - Method in class com.google.cloud.tools.opensource.dependencies.DependencyPath
 
equals(Object) - Method in class com.google.cloud.tools.opensource.dependencies.PathToNode
 
equals(Object) - Method in class com.google.cloud.tools.opensource.dependencies.Update
 

F

FilteringZipDependencySelector - Class in com.google.cloud.tools.opensource.dependencies
Excludes artifacts with zip type.
FilteringZipDependencySelector() - Constructor for class com.google.cloud.tools.opensource.dependencies.FilteringZipDependencySelector
 
findExclusion(String, String) - Method in class com.google.cloud.tools.opensource.dependencies.DependencyPath
Returns the artifact that declares an exclusion element specified for groupId and artifactId.
findLatestCoordinates(RepositorySystem, String, String) - Static method in class com.google.cloud.tools.opensource.dependencies.RepositoryUtility
Returns the latest Maven coordinates for groupId:artifactId in repositorySystem.
findLinkageProblems() - Method in class com.google.cloud.tools.opensource.classpath.LinkageChecker
Searches the classpath for linkage errors.
findUpdates() - Method in class com.google.cloud.tools.opensource.dependencies.DependencyGraph
Returns a list of updates indicating desired updates formatted for a person to read.
findVersions(RepositorySystem, String, String) - Static method in class com.google.cloud.tools.opensource.dependencies.RepositoryUtility
Returns list of versions available for groupId:artifactId in repositorySystem.
formatDependencyPaths(Iterable<ClassPathEntry>) - Method in class com.google.cloud.tools.opensource.classpath.ClassPathResult
Returns text describing dependency paths to class path entries in the dependency tree.
formatLinkageProblems(Set<LinkageProblem>, ClassPathResult) - Static method in class com.google.cloud.tools.opensource.classpath.LinkageProblem
Returns the formatted linkageProblems by grouping them by the symbols.
formatProblems(Iterable<ArtifactProblem>) - Static method in class com.google.cloud.tools.opensource.dependencies.ArtifactProblem
Returns formatted string describing problems by removing similar problems per artifact.
formatSymbolProblem() - Method in class com.google.cloud.tools.opensource.classpath.LinkageProblem
Returns the description of the problem on the symbol.
formatSymbolProblemWithReferenceCount(int) - Method in class com.google.cloud.tools.opensource.classpath.LinkageProblem
 
from(DependencyNode) - Static method in class com.google.cloud.tools.opensource.dependencies.DependencyGraph
Builds a dependency graph by traversing dependency tree in level-order (breadth-first search).

G

get(int) - Method in class com.google.cloud.tools.opensource.dependencies.DependencyPath
Returns the artifact at ith node in the path.
getArtifact() - Method in class com.google.cloud.tools.opensource.classpath.ClassPathEntry
Returns the Maven artifact associated with the JAR file, or null if the JAR file does not have Maven coordinates.
getArtifact() - Method in class com.google.cloud.tools.opensource.dependencies.ArtifactProblem
Returns the Maven artifact that has the problem.
getArtifactKeys() - Method in class com.google.cloud.tools.opensource.dependencies.DependencyPath
Returns the versionless coordinates of the artifacts in the path.
getArtifactProblems() - Method in class com.google.cloud.tools.opensource.classpath.ClassPathResult
Returns problems encountered while constructing the dependency graph.
getBinaryName() - Method in class com.google.cloud.tools.opensource.classpath.ClassFile
Returns the binary name of the class as defined by the Java Language Specification and found in the .class file.
getChildren(DependencyPath) - Method in class com.google.cloud.tools.opensource.dependencies.DependencyGraph
Returns dependency paths from the root to the children of parent.
getClassBinaryName() - Method in class com.google.cloud.tools.opensource.classpath.Symbol
Returns the binary name of the class that contains the symbol.
getClassPath() - Method in class com.google.cloud.tools.opensource.classpath.ClassPathResult
Returns the resolved class path.
getClassPathEntries(String) - Method in class com.google.cloud.tools.opensource.classpath.ClassPathResult
Returns the classpath entries for the transitive dependencies of the specified artifact.
getClassPathEntry() - Method in class com.google.cloud.tools.opensource.classpath.ClassFile
Returns the class path entry containing the class.
getClassReferenceGraph() - Method in class com.google.cloud.tools.opensource.classpath.LinkageChecker
 
getCoordinates() - Method in class com.google.cloud.tools.opensource.dependencies.Bom
Returns group:artifact:version.
getDependency(int) - Method in class com.google.cloud.tools.opensource.dependencies.DependencyPath
Returns the ith dependency.
getDependencyPaths(ClassPathEntry) - Method in class com.google.cloud.tools.opensource.classpath.ClassPathResult
Returns all paths to the class path entry or an empty list if the entry is not in the class path.
getFileNames() - Method in class com.google.cloud.tools.opensource.classpath.ClassPathEntry
Returns the names of the .class files in this entry's jar file.
getHighestVersionMap() - Method in class com.google.cloud.tools.opensource.dependencies.DependencyGraph
 
getInputStream(String, String) - Method in class com.google.cloud.tools.opensource.classpath.LinkageCheckClassPath
Returns an input stream for a resource in the class path.
getLeaf() - Method in class com.google.cloud.tools.opensource.dependencies.DependencyPath
Returns the artifact at the end of the path.
getManagedDependencies() - Method in class com.google.cloud.tools.opensource.dependencies.Bom
Returns the artifacts found in this BOM's managedDependencies section.
getNode() - Method in class com.google.cloud.tools.opensource.dependencies.PathToNode
Returns the node in the graph traversal.
getParentPath() - Method in class com.google.cloud.tools.opensource.dependencies.PathToNode
Returns the path from the root of the graph to the parent of the node.
getPath() - Method in class com.google.cloud.tools.opensource.dependencies.ArtifactProblem
Returns the dependency path to the artifact from the root of the dependency tree.
getPaths(String) - Method in class com.google.cloud.tools.opensource.dependencies.DependencyGraph
Returns all paths to the specified artifact.
getRootPath() - Method in class com.google.cloud.tools.opensource.dependencies.DependencyGraph
Returns dependency path of the root node.
getSourceClass() - Method in class com.google.cloud.tools.opensource.classpath.LinkageProblem
Returns the class that contains a symbolic reference to a symbol that is not available.
getSymbol() - Method in class com.google.cloud.tools.opensource.classpath.LinkageProblem
Returns the symbol that was not resolved.
getTargetClass() - Method in class com.google.cloud.tools.opensource.classpath.LinkageProblem
Returns the class that is expected to contain the symbol.
getUnresolvedArtifacts() - Method in class com.google.cloud.tools.opensource.dependencies.DependencyGraph
Returns artifacts that could not be resolved during the construction of this graph.
groupBySymbolProblem(Iterable<LinkageProblem>) - Static method in class com.google.cloud.tools.opensource.classpath.LinkageProblem
Returns mapping from symbol problem description to the names of the source classes.

H

hashCode() - Method in class com.google.cloud.tools.opensource.classpath.ClassFile
 
hashCode() - Method in class com.google.cloud.tools.opensource.classpath.ClassPathEntry
 
hashCode() - Method in class com.google.cloud.tools.opensource.classpath.ClassSymbol
 
hashCode() - Method in class com.google.cloud.tools.opensource.classpath.LinkageProblem
 
hashCode() - Method in class com.google.cloud.tools.opensource.classpath.MethodSymbol
 
hashCode() - Method in class com.google.cloud.tools.opensource.classpath.Symbol
 
hashCode() - Method in class com.google.cloud.tools.opensource.classpath.UnknownCause
 
hashCode() - Method in class com.google.cloud.tools.opensource.dependencies.ArtifactProblem
 
hashCode() - Method in class com.google.cloud.tools.opensource.dependencies.DependencyPath
 
hashCode() - Method in class com.google.cloud.tools.opensource.dependencies.PathToNode
 
hashCode() - Method in class com.google.cloud.tools.opensource.dependencies.Update
 

I

InvalidClassFileProblem - Class in com.google.cloud.tools.opensource.dependencies
Problem describing a Maven artifact containing invalid class files.
isReachable(String) - Method in class com.google.cloud.tools.opensource.classpath.ClassReferenceGraph
Returns true if className is reachable from one of classes in entryPoints in the graph.

J

Java8IncompatibleReferenceCheck - Class in com.google.cloud.tools.opensource.dependencies
A tool to find Java 8-incompatible references in the class files in a BOM.
Java8IncompatibleReferenceCheck() - Constructor for class com.google.cloud.tools.opensource.dependencies.Java8IncompatibleReferenceCheck
 

L

LinkageCheckClassPath - Class in com.google.cloud.tools.opensource.classpath
Class path to load class files for LinkageChecker.
LinkageChecker - Class in com.google.cloud.tools.opensource.classpath
A tool to find linkage errors in a class path.
LinkageProblem - Class in com.google.cloud.tools.opensource.classpath
A linkage error describing an invalid reference from sourceClass to symbol.
LinkageProblemCauseAnnotator - Class in com.google.cloud.tools.opensource.classpath
Annotates LinkageProblems with LinkageProblemCauses.
list() - Method in class com.google.cloud.tools.opensource.dependencies.DependencyGraph
Returns a mutable copy of the paths in this graph, usually in breadth first order.

M

main(String[]) - Static method in class com.google.cloud.tools.opensource.dependencies.Java8IncompatibleReferenceCheck
 
makeKey(Artifact) - Static method in class com.google.cloud.tools.opensource.dependencies.Artifacts
 
MavenRepositoryException - Exception in com.google.cloud.tools.opensource.dependencies
Error interacting with a remote or local Maven repository such as artifact not found.
mavenRepositoryFromUrl(String) - Static method in class com.google.cloud.tools.opensource.dependencies.RepositoryUtility
Returns Maven repository specified as mavenRepositoryUrl, after validating the syntax of the URL.
MethodSymbol - Class in com.google.cloud.tools.opensource.classpath
Symbol for a method of class.
MethodSymbol(String, String, String, boolean) - Constructor for class com.google.cloud.tools.opensource.classpath.MethodSymbol
 

N

newRepositorySystem() - Static method in class com.google.cloud.tools.opensource.dependencies.RepositoryUtility
Creates a new system configured for file and HTTP repository resolution.
newSession(RepositorySystem) - Static method in class com.google.cloud.tools.opensource.dependencies.RepositoryUtility
Opens a new Maven repository session that looks for the local repository in the customary ~/.m2 directory.
newSessionForMaven(RepositorySystem) - Static method in class com.google.cloud.tools.opensource.dependencies.RepositoryUtility
Opens a new Maven repository session that generates the same dependency graph as ProjectDependenciesResolver generates when it compiles a Maven project.
NonTestDependencySelector - Class in com.google.cloud.tools.opensource.dependencies
Selects dependencies except test scope.
NonTestDependencySelector() - Constructor for class com.google.cloud.tools.opensource.dependencies.NonTestDependencySelector
 

O

OsProperties - Class in com.google.cloud.tools.opensource.dependencies
Platform-dependent project properties normalized from ${os.name} and ${os.arch}.
OsProperties() - Constructor for class com.google.cloud.tools.opensource.dependencies.OsProperties
 

P

PathToNode<T> - Class in com.google.cloud.tools.opensource.dependencies
A path to a node in a DependencyGraph.
PathToNode(T, DependencyPath) - Constructor for class com.google.cloud.tools.opensource.dependencies.PathToNode
 

R

readBom(Path) - Static method in class com.google.cloud.tools.opensource.dependencies.Bom
 
readBom(String, List<String>) - Static method in class com.google.cloud.tools.opensource.dependencies.Bom
Parses the dependencyManagement section of an artifact and returns the artifacts included there.
readBom(String) - Static method in class com.google.cloud.tools.opensource.dependencies.Bom
Parses the dependencyManagement section of an artifact and returns the artifacts included there.
RepositoryUtility - Class in com.google.cloud.tools.opensource.dependencies
Aether initialization.
resolve(List<Artifact>, boolean) - Method in class com.google.cloud.tools.opensource.classpath.ClassPathBuilder
Builds a classpath from the transitive dependency graph from artifacts.

S

selectDependency(Dependency) - Method in class com.google.cloud.tools.opensource.dependencies.DirectProvidedDependencySelector
 
selectDependency(Dependency) - Method in class com.google.cloud.tools.opensource.dependencies.FilteringZipDependencySelector
 
selectDependency(Dependency) - Method in class com.google.cloud.tools.opensource.dependencies.NonTestDependencySelector
 
shouldSkipBomMember(Artifact) - Static method in class com.google.cloud.tools.opensource.dependencies.Bom
Returns true if the artifact in BOM should be skipped for checks.
size() - Method in class com.google.cloud.tools.opensource.dependencies.DependencyPath
Returns the length of the path.
Symbol - Class in com.google.cloud.tools.opensource.classpath
The referent of symbolic references (class, method, or field references) in the run-time constant pool of JVM.
SymbolNotFoundProblem - Class in com.google.cloud.tools.opensource.classpath
The sourceClass references the symbol, but the targetClass does not have the symbol.
SymbolNotFoundProblem(ClassFile, ClassFile, Symbol) - Constructor for class com.google.cloud.tools.opensource.classpath.SymbolNotFoundProblem
 

T

toCoordinates(Artifact) - Static method in class com.google.cloud.tools.opensource.dependencies.Artifacts
Returns the artifact's Maven coordinates in the form groupId:artifactId:version.
toString() - Method in class com.google.cloud.tools.opensource.classpath.ClassFile
 
toString() - Method in class com.google.cloud.tools.opensource.classpath.ClassPathEntry
 
toString() - Method in class com.google.cloud.tools.opensource.classpath.ClassSymbol
 
toString() - Method in class com.google.cloud.tools.opensource.classpath.LinkageProblem
 
toString() - Method in class com.google.cloud.tools.opensource.classpath.MethodSymbol
 
toString() - Method in class com.google.cloud.tools.opensource.classpath.Symbol
 
toString() - Method in class com.google.cloud.tools.opensource.classpath.UnknownCause
 
toString() - Method in class com.google.cloud.tools.opensource.dependencies.DependencyPath
 
toString() - Method in class com.google.cloud.tools.opensource.dependencies.InvalidClassFileProblem
 
toString() - Method in class com.google.cloud.tools.opensource.dependencies.UnresolvableArtifactProblem
 
toString() - Method in class com.google.cloud.tools.opensource.dependencies.Update
 

U

UnknownCause - Class in com.google.cloud.tools.opensource.classpath
Linkage Checker cannot determine the cause of the linkage error.
UnresolvableArtifactProblem - Class in com.google.cloud.tools.opensource.dependencies
Problem describing unresolvable Maven artifact in a dependency tree.
UnresolvableArtifactProblem(Artifact) - Constructor for class com.google.cloud.tools.opensource.dependencies.UnresolvableArtifactProblem
Problem when Maven cannot resolve artifact in a dependency tree.
UnresolvableArtifactProblem(List<DependencyNode>) - Constructor for class com.google.cloud.tools.opensource.dependencies.UnresolvableArtifactProblem
Problem when Maven cannot resolve the artifact at the leaf of dependencyPath in a dependency tree.
Update - Class in com.google.cloud.tools.opensource.dependencies
Holder for a suggested dependency update.

V

VersionComparator - Class in com.google.cloud.tools.opensource.dependencies
Compare semantically by version.
VersionComparator() - Constructor for class com.google.cloud.tools.opensource.dependencies.VersionComparator
 
A B C D E F G H I J L M N O P R S T U V 
Skip navigation links

Copyright © 2018–2021 Google LLC.. All rights reserved.