org.mutabilitydetector
Class MutableReasonDetail
java.lang.Object
org.mutabilitydetector.MutableReasonDetail
@Immutable
public final class MutableReasonDetail
- extends Object
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.