org.mutabilitydetector
Class MutableReasonDetail

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

@Immutable
public final class MutableReasonDetail
extends Object


Method Summary
 CodeLocation<?> codeLocation()
           
 boolean equals(Object obj)
           
 int hashCode()
           
 String message()
           
static MutableReasonDetail newMutableReasonDetail(String message, CodeLocation<?> location, Reason reason)
           
 Reason reason()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

newMutableReasonDetail

public static MutableReasonDetail newMutableReasonDetail(@Nonnull
                                                         String message,
                                                         @Nonnull
                                                         CodeLocation<?> location,
                                                         @Nonnull
                                                         Reason reason)

reason

public Reason reason()

codeLocation

public CodeLocation<?> codeLocation()

message

public String message()

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


Copyright © 2013. All Rights Reserved.