public final class UniqueIdSupplier
extends java.lang.Object
implements java.io.Serializable
This supplier provides Ids that are deterministic and unique across all input files given to the compiler. The generated ID format is: uniqueId = "fileHashCode$counterForThisFile"
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getUniqueId(CompilerInput input)
Creates and returns a unique Id across all compiler input source files.
|
public java.lang.String getUniqueId(CompilerInput input)
input
- The compiler input for which the unique Id is requested.Copyright © 2009-2020 Google. All Rights Reserved.