org.mutabilitydetector
Interface Reason
- All Known Implementing Classes:
- MutabilityReason
public interface Reason
Provides an abstraction for the reason a class can be mutable. It is expected that checkers will provide a single
public instance of this class to act as a 'key' for the mutability reason. Other checkers can then use the reasons
already associated with a class to help their decision.
- Author:
- Graham Allan / Grundlefleck at gmail dot com
description
String description()
code
String code()
createsResult
IsImmutable createsResult()
isOneOf
boolean isOneOf(Reason... reasons)
Copyright © 2013. All Rights Reserved.