org.mutabilitydetector
Class AnalysisResult
java.lang.Object
org.mutabilitydetector.AnalysisResult
@Immutable
public final class AnalysisResult
- extends Object
dottedClassName
public final String dottedClassName
isImmutable
public final IsImmutable isImmutable
reasons
public final Collection<MutableReasonDetail> reasons
TO_DOTTED_CLASSNAME
public static final com.google.common.base.Function<AnalysisResult,Dotted> TO_DOTTED_CLASSNAME
TO_CLASSNAME
public static final com.google.common.base.Function<AnalysisResult,String> TO_CLASSNAME
toString
public String toString()
- Overrides:
toString
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
analysisResult
public static AnalysisResult analysisResult(String dottedClassName,
IsImmutable isImmutable,
MutableReasonDetail... reasons)
analysisResult
public static AnalysisResult analysisResult(String dottedClassName,
IsImmutable isImmutable,
Collection<MutableReasonDetail> reasons)
definitelyImmutable
public static AnalysisResult definitelyImmutable(String dottedClassName)
forClass
public static final com.google.common.base.Predicate<AnalysisResult> forClass(@Nonnull
Dotted className)
Copyright © 2013. All Rights Reserved.