Uses of Class
org.mutabilitydetector.MutableReasonDetail

Packages that use MutableReasonDetail
org.mutabilitydetector   
org.mutabilitydetector.checkers   
org.mutabilitydetector.unittesting   
org.mutabilitydetector.unittesting.internal   
org.mutabilitydetector.unittesting.matchers.reasons   
 

Uses of MutableReasonDetail in org.mutabilitydetector
 

Fields in org.mutabilitydetector with type parameters of type MutableReasonDetail
 Collection<MutableReasonDetail> AnalysisResult.reasons
           
 

Methods in org.mutabilitydetector that return MutableReasonDetail
static MutableReasonDetail MutableReasonDetail.newMutableReasonDetail(String message, CodeLocation<?> location, Reason reason)
           
 

Methods in org.mutabilitydetector with parameters of type MutableReasonDetail
static AnalysisResult AnalysisResult.analysisResult(String dottedClassName, IsImmutable isImmutable, MutableReasonDetail... reasons)
           
 

Method parameters in org.mutabilitydetector with type arguments of type MutableReasonDetail
static AnalysisResult AnalysisResult.analysisResult(String dottedClassName, IsImmutable isImmutable, Collection<MutableReasonDetail> reasons)
           
 

Uses of MutableReasonDetail in org.mutabilitydetector.checkers
 

Fields in org.mutabilitydetector.checkers with type parameters of type MutableReasonDetail
protected  Collection<MutableReasonDetail> AbstractMutabilityChecker.reasons
           
 Collection<MutableReasonDetail> CheckerResult.reasons
           
 

Methods in org.mutabilitydetector.checkers that return MutableReasonDetail
protected  MutableReasonDetail AbstractMutabilityChecker.createResult(String message, CodeLocation<?> location, Reason reason)
           
 

Methods in org.mutabilitydetector.checkers that return types with arguments of type MutableReasonDetail
 Collection<MutableReasonDetail> AbstractMutabilityChecker.reasons()
           
abstract  Collection<MutableReasonDetail> AsmMutabilityChecker.reasons()
           
 

Constructor parameters in org.mutabilitydetector.checkers with type arguments of type MutableReasonDetail
CheckerResult(IsImmutable isImmutable, Iterable<MutableReasonDetail> reasons)
           
 

Uses of MutableReasonDetail in org.mutabilitydetector.unittesting
 

Methods in org.mutabilitydetector.unittesting that return types with arguments of type MutableReasonDetail
static org.hamcrest.Matcher<MutableReasonDetail> MutabilityMatchers.noReasonsAllowed()
           
 

Method parameters in org.mutabilitydetector.unittesting with type arguments of type MutableReasonDetail
 void MutabilityAsserter.assertInstancesOf(Class<?> clazz, org.hamcrest.Matcher<AnalysisResult> mutabilityMatcher, Iterable<org.hamcrest.Matcher<MutableReasonDetail>> allowingAll)
           
static void MutabilityAssert.assertInstancesOf(Class<?> clazz, org.hamcrest.Matcher<AnalysisResult> mutabilityMatcher, Iterable<org.hamcrest.Matcher<MutableReasonDetail>> allowingAll)
          Checks that the result of analysis satisfies the given Matcher, while allowing mismatches in the form of allowed reasons, or fails with an AssertionError.
 void MutabilityAsserter.assertInstancesOf(Class<?> clazz, org.hamcrest.Matcher<AnalysisResult> mutabilityMatcher, org.hamcrest.Matcher<MutableReasonDetail> allowing)
           
static void MutabilityAssert.assertInstancesOf(Class<?> clazz, org.hamcrest.Matcher<AnalysisResult> mutabilityMatcher, org.hamcrest.Matcher<MutableReasonDetail> allowing)
          Checks that the result of analysis satisfies the given Matcher, while allowing mismatches in the form of an allowed reason, or fails with an AssertionError.
 void MutabilityAsserter.assertInstancesOf(Class<?> clazz, org.hamcrest.Matcher<AnalysisResult> mutabilityMatcher, org.hamcrest.Matcher<MutableReasonDetail> allowingFirst, org.hamcrest.Matcher<MutableReasonDetail> allowingSecond)
           
 void MutabilityAsserter.assertInstancesOf(Class<?> clazz, org.hamcrest.Matcher<AnalysisResult> mutabilityMatcher, org.hamcrest.Matcher<MutableReasonDetail> allowingFirst, org.hamcrest.Matcher<MutableReasonDetail> allowingSecond)
           
static void MutabilityAssert.assertInstancesOf(Class<?> clazz, org.hamcrest.Matcher<AnalysisResult> mutabilityMatcher, org.hamcrest.Matcher<MutableReasonDetail> allowingFirst, org.hamcrest.Matcher<MutableReasonDetail> allowingSecond)
          Checks that the result of analysis satisfies the given Matcher, while allowing mismatches in the form of allowed reasons, or fails with an AssertionError.
static void MutabilityAssert.assertInstancesOf(Class<?> clazz, org.hamcrest.Matcher<AnalysisResult> mutabilityMatcher, org.hamcrest.Matcher<MutableReasonDetail> allowingFirst, org.hamcrest.Matcher<MutableReasonDetail> allowingSecond)
          Checks that the result of analysis satisfies the given Matcher, while allowing mismatches in the form of allowed reasons, or fails with an AssertionError.
 void MutabilityAsserter.assertInstancesOf(Class<?> clazz, org.hamcrest.Matcher<AnalysisResult> mutabilityMatcher, org.hamcrest.Matcher<MutableReasonDetail> allowingFirst, org.hamcrest.Matcher<MutableReasonDetail> allowingSecond, org.hamcrest.Matcher<MutableReasonDetail> allowingThird)
           
 void MutabilityAsserter.assertInstancesOf(Class<?> clazz, org.hamcrest.Matcher<AnalysisResult> mutabilityMatcher, org.hamcrest.Matcher<MutableReasonDetail> allowingFirst, org.hamcrest.Matcher<MutableReasonDetail> allowingSecond, org.hamcrest.Matcher<MutableReasonDetail> allowingThird)
           
 void MutabilityAsserter.assertInstancesOf(Class<?> clazz, org.hamcrest.Matcher<AnalysisResult> mutabilityMatcher, org.hamcrest.Matcher<MutableReasonDetail> allowingFirst, org.hamcrest.Matcher<MutableReasonDetail> allowingSecond, org.hamcrest.Matcher<MutableReasonDetail> allowingThird)
           
static void MutabilityAssert.assertInstancesOf(Class<?> clazz, org.hamcrest.Matcher<AnalysisResult> mutabilityMatcher, org.hamcrest.Matcher<MutableReasonDetail> allowingFirst, org.hamcrest.Matcher<MutableReasonDetail> allowingSecond, org.hamcrest.Matcher<MutableReasonDetail> allowingThird)
          Checks that the result of analysis satisfies the given Matcher, while allowing mismatches in the form of allowed reasons, or fails with an AssertionError.
static void MutabilityAssert.assertInstancesOf(Class<?> clazz, org.hamcrest.Matcher<AnalysisResult> mutabilityMatcher, org.hamcrest.Matcher<MutableReasonDetail> allowingFirst, org.hamcrest.Matcher<MutableReasonDetail> allowingSecond, org.hamcrest.Matcher<MutableReasonDetail> allowingThird)
          Checks that the result of analysis satisfies the given Matcher, while allowing mismatches in the form of allowed reasons, or fails with an AssertionError.
static void MutabilityAssert.assertInstancesOf(Class<?> clazz, org.hamcrest.Matcher<AnalysisResult> mutabilityMatcher, org.hamcrest.Matcher<MutableReasonDetail> allowingFirst, org.hamcrest.Matcher<MutableReasonDetail> allowingSecond, org.hamcrest.Matcher<MutableReasonDetail> allowingThird)
          Checks that the result of analysis satisfies the given Matcher, while allowing mismatches in the form of allowed reasons, or fails with an AssertionError.
 void MutabilityAsserter.assertInstancesOf(Class<?> clazz, org.hamcrest.Matcher<AnalysisResult> mutabilityMatcher, org.hamcrest.Matcher<MutableReasonDetail> allowingFirst, org.hamcrest.Matcher<MutableReasonDetail> allowingSecond, org.hamcrest.Matcher<MutableReasonDetail> allowingThird, org.hamcrest.Matcher<MutableReasonDetail>... allowingRest)
           
 void MutabilityAsserter.assertInstancesOf(Class<?> clazz, org.hamcrest.Matcher<AnalysisResult> mutabilityMatcher, org.hamcrest.Matcher<MutableReasonDetail> allowingFirst, org.hamcrest.Matcher<MutableReasonDetail> allowingSecond, org.hamcrest.Matcher<MutableReasonDetail> allowingThird, org.hamcrest.Matcher<MutableReasonDetail>... allowingRest)
           
 void MutabilityAsserter.assertInstancesOf(Class<?> clazz, org.hamcrest.Matcher<AnalysisResult> mutabilityMatcher, org.hamcrest.Matcher<MutableReasonDetail> allowingFirst, org.hamcrest.Matcher<MutableReasonDetail> allowingSecond, org.hamcrest.Matcher<MutableReasonDetail> allowingThird, org.hamcrest.Matcher<MutableReasonDetail>... allowingRest)
           
static void MutabilityAssert.assertInstancesOf(Class<?> clazz, org.hamcrest.Matcher<AnalysisResult> mutabilityMatcher, org.hamcrest.Matcher<MutableReasonDetail> allowingFirst, org.hamcrest.Matcher<MutableReasonDetail> allowingSecond, org.hamcrest.Matcher<MutableReasonDetail> allowingThird, org.hamcrest.Matcher<MutableReasonDetail>... allowingRest)
          Checks that the result of analysis satisfies the given Matcher, while allowing mismatches in the form of allowed reasons, or fails with an AssertionError.
static void MutabilityAssert.assertInstancesOf(Class<?> clazz, org.hamcrest.Matcher<AnalysisResult> mutabilityMatcher, org.hamcrest.Matcher<MutableReasonDetail> allowingFirst, org.hamcrest.Matcher<MutableReasonDetail> allowingSecond, org.hamcrest.Matcher<MutableReasonDetail> allowingThird, org.hamcrest.Matcher<MutableReasonDetail>... allowingRest)
          Checks that the result of analysis satisfies the given Matcher, while allowing mismatches in the form of allowed reasons, or fails with an AssertionError.
static void MutabilityAssert.assertInstancesOf(Class<?> clazz, org.hamcrest.Matcher<AnalysisResult> mutabilityMatcher, org.hamcrest.Matcher<MutableReasonDetail> allowingFirst, org.hamcrest.Matcher<MutableReasonDetail> allowingSecond, org.hamcrest.Matcher<MutableReasonDetail> allowingThird, org.hamcrest.Matcher<MutableReasonDetail>... allowingRest)
          Checks that the result of analysis satisfies the given Matcher, while allowing mismatches in the form of allowed reasons, or fails with an AssertionError.
 

Uses of MutableReasonDetail in org.mutabilitydetector.unittesting.internal
 

Methods in org.mutabilitydetector.unittesting.internal with parameters of type MutableReasonDetail
static String ReasonsFormatter.formatSingleReason(MutableReasonDetail reason)
           
 

Method parameters in org.mutabilitydetector.unittesting.internal with type arguments of type MutableReasonDetail
static String ReasonsFormatter.formatReasons(Collection<MutableReasonDetail> reasons)
           
 

Uses of MutableReasonDetail in org.mutabilitydetector.unittesting.matchers.reasons
 

Methods in org.mutabilitydetector.unittesting.matchers.reasons that return types with arguments of type MutableReasonDetail
 org.hamcrest.Matcher<MutableReasonDetail> ProvidedOtherClass.areAlsoImmutable()
          Assumes that the selected type is immutable, preventing warnings related to transitive mutability.
 org.hamcrest.Matcher<MutableReasonDetail> FieldAssumptions.areModifiedAsPartOfAnUnobservableCachingStrategy()
          Insists that while a field may have been mutated, changes will not be observable.
 org.hamcrest.Matcher<MutableReasonDetail> FieldAssumptions.areNotModifiedAndDoNotEscape()
          Insists that a mutable field is used safely.
 org.hamcrest.Matcher<MutableReasonDetail> FieldAssumptions.areSafelyCopiedUnmodifiableCollectionsWithImmutableElements()
          Insists fields of collection types are copied and wrapped safely.
 org.hamcrest.Matcher<MutableReasonDetail> ProvidedOtherClass.isAlsoImmutable()
          Assumes that the selected type is immutable, preventing warnings related to transitive mutability.
 org.hamcrest.Matcher<MutableReasonDetail> AssumeCopiedIntoUnmodifiable.isSafelyCopiedUnmodifiableCollectionWithImmutableTypes()
           
 

Methods in org.mutabilitydetector.unittesting.matchers.reasons with parameters of type MutableReasonDetail
protected  boolean AllowingForSubclassing.matchesSafely(MutableReasonDetail checkerReasonDetail)
           
protected  boolean NoReasonsAllowed.matchesSafely(MutableReasonDetail item)
           
protected  boolean AllowingNonFinalFields.matchesSafely(MutableReasonDetail reason)
           
 

Method parameters in org.mutabilitydetector.unittesting.matchers.reasons with type arguments of type MutableReasonDetail
static WithAllowedReasonsMatcher WithAllowedReasonsMatcher.withAllowedReasons(org.hamcrest.Matcher<AnalysisResult> areImmutable, Iterable<org.hamcrest.Matcher<MutableReasonDetail>> allowing)
           
 



Copyright © 2013. All Rights Reserved.