Skip to content

Commit b69922f

Browse files
authored
Merge pull request #1592 from eed3si9n/wip/contraband
Contraband 0.8.0
2 parents 1aa4769 + 272340f commit b69922f

File tree

13 files changed

+13
-13
lines changed

13 files changed

+13
-13
lines changed

internal/compiler-interface/src/main/contraband-java/xsbti/api/MethodParameter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public boolean equals(Object obj) {
5959
}
6060
}
6161
public int hashCode() {
62-
return 37 * (37 * (37 * (37 * (37 * (17 + "xsbti.api.MethodParameter".hashCode()) + name().hashCode()) + tpe().hashCode()) + Boolean.valueOf(hasDefault()).hashCode()) + modifier().hashCode());
62+
return 37 * (37 * (37 * (37 * (37 * (17 + "xsbti.api.MethodParameter".hashCode()) + name().hashCode()) + tpe().hashCode()) + Boolean.hashCode(hasDefault())) + modifier().hashCode());
6363
}
6464
public String toString() {
6565
return "MethodParameter(" + "name: " + name() + ", " + "tpe: " + tpe() + ", " + "hasDefault: " + hasDefault() + ", " + "modifier: " + modifier() + ")";

internal/compiler-interface/src/main/contraband-java/xsbti/api/NameHash.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public boolean equals(Object obj) {
5151
}
5252
}
5353
public int hashCode() {
54-
return 37 * (37 * (37 * (37 * (17 + "xsbti.api.NameHash".hashCode()) + name().hashCode()) + scope().hashCode()) + Integer.valueOf(hash()).hashCode());
54+
return 37 * (37 * (37 * (37 * (17 + "xsbti.api.NameHash".hashCode()) + name().hashCode()) + scope().hashCode()) + Integer.hashCode(hash()));
5555
}
5656
public String toString() {
5757
return "NameHash(" + "name: " + name() + ", " + "scope: " + scope() + ", " + "hash: " + hash() + ")";

internal/compiler-interface/src/main/contraband-java/xsbti/api/ParameterList.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public boolean equals(Object obj) {
4343
}
4444
}
4545
public int hashCode() {
46-
return 37 * (37 * (37 * (17 + "xsbti.api.ParameterList".hashCode()) + java.util.Arrays.deepHashCode(parameters())) + Boolean.valueOf(isImplicit()).hashCode());
46+
return 37 * (37 * (37 * (17 + "xsbti.api.ParameterList".hashCode()) + java.util.Arrays.deepHashCode(parameters())) + Boolean.hashCode(isImplicit()));
4747
}
4848
public String toString() {
4949
return "ParameterList(" + "parameters: " + parameters() + ", " + "isImplicit: " + isImplicit() + ")";

internal/compiler-interface/src/main/contraband-java/xsbti/compile/ClasspathOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public boolean equals(Object obj) {
9292
}
9393
}
9494
public int hashCode() {
95-
return 37 * (37 * (37 * (37 * (37 * (37 * (17 + "xsbti.compile.ClasspathOptions".hashCode()) + Boolean.valueOf(bootLibrary()).hashCode()) + Boolean.valueOf(compiler()).hashCode()) + Boolean.valueOf(extra()).hashCode()) + Boolean.valueOf(autoBoot()).hashCode()) + Boolean.valueOf(filterLibrary()).hashCode());
95+
return 37 * (37 * (37 * (37 * (37 * (37 * (17 + "xsbti.compile.ClasspathOptions".hashCode()) + Boolean.hashCode(bootLibrary())) + Boolean.hashCode(compiler())) + Boolean.hashCode(extra())) + Boolean.hashCode(autoBoot())) + Boolean.hashCode(filterLibrary()));
9696
}
9797
public String toString() {
9898
return "ClasspathOptions(" + "bootLibrary: " + bootLibrary() + ", " + "compiler: " + compiler() + ", " + "extra: " + extra() + ", " + "autoBoot: " + autoBoot() + ", " + "filterLibrary: " + filterLibrary() + ")";

internal/compiler-interface/src/main/contraband-java/xsbti/compile/CompileOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ public boolean equals(Object obj) {
259259
}
260260
}
261261
public int hashCode() {
262-
return 37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (17 + "xsbti.compile.CompileOptions".hashCode()) + java.util.Arrays.deepHashCode(classpath())) + java.util.Arrays.deepHashCode(sources())) + classesDirectory().hashCode()) + java.util.Arrays.deepHashCode(scalacOptions())) + java.util.Arrays.deepHashCode(javacOptions())) + Integer.valueOf(maxErrors()).hashCode()) + sourcePositionMapper().hashCode()) + order().hashCode()) + temporaryClassesDirectory().hashCode()) + converter().hashCode()) + stamper().hashCode()) + earlyOutput().hashCode());
262+
return 37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (17 + "xsbti.compile.CompileOptions".hashCode()) + java.util.Arrays.deepHashCode(classpath())) + java.util.Arrays.deepHashCode(sources())) + classesDirectory().hashCode()) + java.util.Arrays.deepHashCode(scalacOptions())) + java.util.Arrays.deepHashCode(javacOptions())) + Integer.hashCode(maxErrors())) + sourcePositionMapper().hashCode()) + order().hashCode()) + temporaryClassesDirectory().hashCode()) + converter().hashCode()) + stamper().hashCode()) + earlyOutput().hashCode());
263263
}
264264
public String toString() {
265265
return "CompileOptions(" + "classpath: " + classpath() + ", " + "sources: " + sources() + ", " + "classesDirectory: " + classesDirectory() + ", " + "scalacOptions: " + scalacOptions() + ", " + "javacOptions: " + javacOptions() + ", " + "maxErrors: " + maxErrors() + ", " + "sourcePositionMapper: " + sourcePositionMapper() + ", " + "order: " + order() + ", " + "temporaryClassesDirectory: " + temporaryClassesDirectory() + ", " + "converter: " + converter() + ", " + "stamper: " + stamper() + ", " + "earlyOutput: " + earlyOutput() + ")";

internal/compiler-interface/src/main/contraband-java/xsbti/compile/CompileResult.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public boolean equals(Object obj) {
5353
}
5454
}
5555
public int hashCode() {
56-
return 37 * (37 * (37 * (37 * (17 + "xsbti.compile.CompileResult".hashCode()) + analysis().hashCode()) + setup().hashCode()) + Boolean.valueOf(hasModified()).hashCode());
56+
return 37 * (37 * (37 * (37 * (17 + "xsbti.compile.CompileResult".hashCode()) + analysis().hashCode()) + setup().hashCode()) + Boolean.hashCode(hasModified()));
5757
}
5858
public String toString() {
5959
return "CompileResult(" + "analysis: " + analysis() + ", " + "setup: " + setup() + ", " + "hasModified: " + hasModified() + ")";

internal/compiler-interface/src/main/contraband-java/xsbti/compile/FileHash.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public boolean equals(Object obj) {
4343
}
4444
}
4545
public int hashCode() {
46-
return 37 * (37 * (37 * (17 + "xsbti.compile.FileHash".hashCode()) + file().hashCode()) + Integer.valueOf(hash()).hashCode());
46+
return 37 * (37 * (37 * (17 + "xsbti.compile.FileHash".hashCode()) + file().hashCode()) + Integer.hashCode(hash()));
4747
}
4848
public String toString() {
4949
return "FileHash(" + "file: " + file() + ", " + "hash: " + hash() + ")";

internal/compiler-interface/src/main/contraband-java/xsbti/compile/IncOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ public boolean equals(Object obj) {
617617
}
618618
}
619619
public int hashCode() {
620-
return 37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (17 + "xsbti.compile.IncOptions".hashCode()) + Integer.valueOf(transitiveStep()).hashCode()) + Double.valueOf(recompileAllFraction()).hashCode()) + Boolean.valueOf(relationsDebug()).hashCode()) + Boolean.valueOf(apiDebug()).hashCode()) + Integer.valueOf(apiDiffContextSize()).hashCode()) + apiDumpDirectory().hashCode()) + classfileManagerType().hashCode()) + java.util.Arrays.deepHashCode(auxiliaryClassFiles())) + Boolean.valueOf(useCustomizedFileManager()).hashCode()) + recompileOnMacroDef().hashCode()) + Boolean.valueOf(useOptimizedSealed()).hashCode()) + Boolean.valueOf(storeApis()).hashCode()) + Boolean.valueOf(enabled()).hashCode()) + extra().hashCode()) + Boolean.valueOf(logRecompileOnMacro()).hashCode()) + externalHooks().hashCode()) + java.util.Arrays.deepHashCode(ignoredScalacOptions())) + Boolean.valueOf(strictMode()).hashCode()) + Boolean.valueOf(allowMachinePath()).hashCode()) + Boolean.valueOf(pipelining()).hashCode());
620+
return 37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (17 + "xsbti.compile.IncOptions".hashCode()) + Integer.hashCode(transitiveStep())) + Double.hashCode(recompileAllFraction())) + Boolean.hashCode(relationsDebug())) + Boolean.hashCode(apiDebug())) + Integer.hashCode(apiDiffContextSize())) + apiDumpDirectory().hashCode()) + classfileManagerType().hashCode()) + java.util.Arrays.deepHashCode(auxiliaryClassFiles())) + Boolean.hashCode(useCustomizedFileManager())) + recompileOnMacroDef().hashCode()) + Boolean.hashCode(useOptimizedSealed())) + Boolean.hashCode(storeApis())) + Boolean.hashCode(enabled())) + extra().hashCode()) + Boolean.hashCode(logRecompileOnMacro())) + externalHooks().hashCode()) + java.util.Arrays.deepHashCode(ignoredScalacOptions())) + Boolean.hashCode(strictMode())) + Boolean.hashCode(allowMachinePath())) + Boolean.hashCode(pipelining()));
621621
}
622622
public String toString() {
623623
return "IncOptions(" + "transitiveStep: " + transitiveStep() + ", " + "recompileAllFraction: " + recompileAllFraction() + ", " + "relationsDebug: " + relationsDebug() + ", " + "apiDebug: " + apiDebug() + ", " + "apiDiffContextSize: " + apiDiffContextSize() + ", " + "apiDumpDirectory: " + apiDumpDirectory() + ", " + "classfileManagerType: " + classfileManagerType() + ", " + "auxiliaryClassFiles: " + auxiliaryClassFiles() + ", " + "useCustomizedFileManager: " + useCustomizedFileManager() + ", " + "recompileOnMacroDef: " + recompileOnMacroDef() + ", " + "useOptimizedSealed: " + useOptimizedSealed() + ", " + "storeApis: " + storeApis() + ", " + "enabled: " + enabled() + ", " + "extra: " + extra() + ", " + "logRecompileOnMacro: " + logRecompileOnMacro() + ", " + "externalHooks: " + externalHooks() + ", " + "ignoredScalacOptions: " + ignoredScalacOptions() + ", " + "strictMode: " + strictMode() + ", " + "allowMachinePath: " + allowMachinePath() + ", " + "pipelining: " + pipelining() + ")";

internal/compiler-interface/src/main/contraband-java/xsbti/compile/IncToolOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public boolean equals(Object obj) {
6666
}
6767
}
6868
public int hashCode() {
69-
return 37 * (37 * (37 * (17 + "xsbti.compile.IncToolOptions".hashCode()) + classFileManager().hashCode()) + Boolean.valueOf(useCustomizedFileManager()).hashCode());
69+
return 37 * (37 * (37 * (17 + "xsbti.compile.IncToolOptions".hashCode()) + classFileManager().hashCode()) + Boolean.hashCode(useCustomizedFileManager()));
7070
}
7171
public String toString() {
7272
return "IncToolOptions(" + "classFileManager: " + classFileManager() + ", " + "useCustomizedFileManager: " + useCustomizedFileManager() + ")";

internal/compiler-interface/src/main/contraband-java/xsbti/compile/MiniSetup.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public boolean equals(Object obj) {
7676
}
7777
}
7878
public int hashCode() {
79-
return 37 * (37 * (37 * (37 * (37 * (37 * (37 * (17 + "xsbti.compile.MiniSetup".hashCode()) + output().hashCode()) + options().hashCode()) + compilerVersion().hashCode()) + order().hashCode()) + Boolean.valueOf(storeApis()).hashCode()) + java.util.Arrays.deepHashCode(extra()));
79+
return 37 * (37 * (37 * (37 * (37 * (37 * (37 * (17 + "xsbti.compile.MiniSetup".hashCode()) + output().hashCode()) + options().hashCode()) + compilerVersion().hashCode()) + order().hashCode()) + Boolean.hashCode(storeApis())) + java.util.Arrays.deepHashCode(extra()));
8080
}
8181
public String toString() {
8282
return "MiniSetup(" + "output: " + output() + ", " + "options: " + options() + ", " + "compilerVersion: " + compilerVersion() + ", " + "order: " + order() + ", " + "storeApis: " + storeApis() + ", " + "extra: " + extra() + ")";

0 commit comments

Comments
 (0)