Search in sources :

Example 41 with HashCodeBuilder

use of org.apache.commons.lang3.builder.HashCodeBuilder in project intellij-plugins by JetBrains.

the class AnalysisError method hashCode.

@Override
public int hashCode() {
    HashCodeBuilder builder = new HashCodeBuilder();
    builder.append(severity);
    builder.append(type);
    builder.append(location);
    builder.append(message);
    builder.append(correction);
    builder.append(code);
    builder.append(hasFix);
    return builder.toHashCode();
}
Also used : HashCodeBuilder(org.apache.commons.lang3.builder.HashCodeBuilder)

Example 42 with HashCodeBuilder

use of org.apache.commons.lang3.builder.HashCodeBuilder in project intellij-plugins by JetBrains.

the class AnalysisOptions method hashCode.

@Override
public int hashCode() {
    HashCodeBuilder builder = new HashCodeBuilder();
    builder.append(enableAsync);
    builder.append(enableDeferredLoading);
    builder.append(enableEnums);
    builder.append(enableNullAwareOperators);
    builder.append(enableSuperMixins);
    builder.append(generateDart2jsHints);
    builder.append(generateHints);
    builder.append(generateLints);
    return builder.toHashCode();
}
Also used : HashCodeBuilder(org.apache.commons.lang3.builder.HashCodeBuilder)

Example 43 with HashCodeBuilder

use of org.apache.commons.lang3.builder.HashCodeBuilder in project intellij-plugins by JetBrains.

the class Element method hashCode.

@Override
public int hashCode() {
    HashCodeBuilder builder = new HashCodeBuilder();
    builder.append(kind);
    builder.append(name);
    builder.append(location);
    builder.append(flags);
    builder.append(parameters);
    builder.append(returnType);
    builder.append(typeParameters);
    return builder.toHashCode();
}
Also used : HashCodeBuilder(org.apache.commons.lang3.builder.HashCodeBuilder)

Example 44 with HashCodeBuilder

use of org.apache.commons.lang3.builder.HashCodeBuilder in project intellij-plugins by JetBrains.

the class ExecutableFile method hashCode.

@Override
public int hashCode() {
    HashCodeBuilder builder = new HashCodeBuilder();
    builder.append(file);
    builder.append(kind);
    return builder.toHashCode();
}
Also used : HashCodeBuilder(org.apache.commons.lang3.builder.HashCodeBuilder)

Example 45 with HashCodeBuilder

use of org.apache.commons.lang3.builder.HashCodeBuilder in project intellij-plugins by JetBrains.

the class ExtractLocalVariableFeedback method hashCode.

@Override
public int hashCode() {
    HashCodeBuilder builder = new HashCodeBuilder();
    builder.append(coveringExpressionOffsets);
    builder.append(coveringExpressionLengths);
    builder.append(names);
    builder.append(offsets);
    builder.append(lengths);
    return builder.toHashCode();
}
Also used : HashCodeBuilder(org.apache.commons.lang3.builder.HashCodeBuilder)

Aggregations

HashCodeBuilder (org.apache.commons.lang3.builder.HashCodeBuilder)63 IOException (java.io.IOException)1 KeyManagementException (java.security.KeyManagementException)1 KeyStoreException (java.security.KeyStoreException)1 NoSuchAlgorithmException (java.security.NoSuchAlgorithmException)1 CertificateException (java.security.cert.CertificateException)1 X509Certificate (java.security.cert.X509Certificate)1