org.mutabilitydetector
Class AnalysisResult

java.lang.Object
  extended by org.mutabilitydetector.AnalysisResult

@Immutable
public final class AnalysisResult
extends Object


Field Summary
 String dottedClassName
           
 IsImmutable isImmutable
           
 Collection<MutableReasonDetail> reasons
           
static com.google.common.base.Function<AnalysisResult,String> TO_CLASSNAME
           
static com.google.common.base.Function<AnalysisResult,Dotted> TO_DOTTED_CLASSNAME
           
 
Method Summary
static AnalysisResult analysisResult(String dottedClassName, IsImmutable isImmutable, Collection<MutableReasonDetail> reasons)
           
static AnalysisResult analysisResult(String dottedClassName, IsImmutable isImmutable, MutableReasonDetail... reasons)
           
static AnalysisResult definitelyImmutable(String dottedClassName)
           
 boolean equals(Object obj)
           
static com.google.common.base.Predicate<AnalysisResult> forClass(Dotted className)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Method Detail

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.