|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of AnalysisResult in org.mutabilitydetector |
---|
Fields in org.mutabilitydetector with type parameters of type AnalysisResult | |
---|---|
static com.google.common.base.Function<AnalysisResult,String> |
AnalysisResult.TO_CLASSNAME
|
static com.google.common.base.Function<AnalysisResult,Dotted> |
AnalysisResult.TO_DOTTED_CLASSNAME
|
Methods in org.mutabilitydetector that return AnalysisResult | |
---|---|
static AnalysisResult |
AnalysisResult.analysisResult(String dottedClassName,
IsImmutable isImmutable,
Collection<MutableReasonDetail> reasons)
|
static AnalysisResult |
AnalysisResult.analysisResult(String dottedClassName,
IsImmutable isImmutable,
MutableReasonDetail... reasons)
|
static AnalysisResult |
AnalysisResult.definitelyImmutable(String dottedClassName)
|
AnalysisResult |
ThreadUnsafeAnalysisSession.resultFor(Dotted className)
|
AnalysisResult |
AnalysisSession.resultFor(Dotted className)
|
Methods in org.mutabilitydetector that return types with arguments of type AnalysisResult | |
---|---|
static com.google.common.base.Predicate<AnalysisResult> |
AnalysisResult.forClass(Dotted className)
|
protected Set<AnalysisResult> |
ConfigurationBuilder.getCurrentlyHardcodedResults()
Returns an immutable snapshot of the hardcoded results as at time of calling. |
Collection<AnalysisResult> |
ThreadUnsafeAnalysisSession.getResults()
|
Iterable<AnalysisResult> |
AnalysisSession.getResults()
|
Map<Dotted,AnalysisResult> |
Configuration.hardcodedResults()
Add a predefined result used during analysis. |
Map<Dotted,AnalysisResult> |
ThreadUnsafeAnalysisSession.resultsByClass()
|
Map<Dotted,AnalysisResult> |
AnalysisSession.resultsByClass()
|
Methods in org.mutabilitydetector with parameters of type AnalysisResult | |
---|---|
protected void |
ConfigurationBuilder.hardcodeResult(AnalysisResult result)
Add a predefined result used during analysis. |
protected void |
ConfigurationBuilder.hardcodeResults(AnalysisResult... result)
Adds all the given AnalysisResults, as if hardcodeResult was called for each element in the var args parameter. |
Method parameters in org.mutabilitydetector with type arguments of type AnalysisResult | |
---|---|
protected void |
ConfigurationBuilder.hardcodeResults(Iterable<AnalysisResult> result)
Adds all the given AnalysisResults, as if hardcodeResult was called for each element in the iterable. |
Uses of AnalysisResult in org.mutabilitydetector.checkers |
---|
Methods in org.mutabilitydetector.checkers that return AnalysisResult | |
---|---|
AnalysisResult |
AllChecksRunner.runCheckers(AnalysisSession analysisSession,
AnalysisErrorReporter errorReporter,
AnalysisDatabase database,
MutableTypeInformation mutableTypeInformation)
|
Method parameters in org.mutabilitydetector.checkers with type arguments of type AnalysisResult | |
---|---|
CheckerResult |
CheckerRunner.run(AsmMutabilityChecker checker,
Dotted className,
AnalysisErrorReporter errorReporter,
Iterable<AnalysisResult> resultsSoFar)
|
MutabilityAnalysisException |
UnhandledExceptionBuilder.unhandledException(Throwable cause,
Iterable<AnalysisResult> resultsSoFar,
AsmMutabilityChecker checker,
Dotted className)
|
Uses of AnalysisResult in org.mutabilitydetector.checkers.info |
---|
Fields in org.mutabilitydetector.checkers.info declared as AnalysisResult | |
---|---|
AnalysisResult |
MutableTypeInformation.MutabilityLookup.result
|
Methods in org.mutabilitydetector.checkers.info with parameters of type AnalysisResult | |
---|---|
static MutableTypeInformation.MutabilityLookup |
MutableTypeInformation.MutabilityLookup.complete(AnalysisResult result)
|
Uses of AnalysisResult in org.mutabilitydetector.cli |
---|
Method parameters in org.mutabilitydetector.cli with type arguments of type AnalysisResult | |
---|---|
StringBuilder |
SessionResultsFormatter.format(Iterable<AnalysisResult> results,
Iterable<AnalysisErrorReporter.AnalysisError> errors)
|
Uses of AnalysisResult in org.mutabilitydetector.unittesting |
---|
Methods in org.mutabilitydetector.unittesting that return types with arguments of type AnalysisResult | |
---|---|
static org.hamcrest.Matcher<AnalysisResult> |
MutabilityMatchers.areEffectivelyImmutable()
|
static org.hamcrest.Matcher<AnalysisResult> |
MutabilityMatchers.areImmutable()
|
static org.hamcrest.Matcher<AnalysisResult> |
MutabilityMatchers.areNotImmutable()
|
Method parameters in org.mutabilitydetector.unittesting with type arguments of type AnalysisResult | |
---|---|
void |
MutabilityAsserter.assertInstancesOf(Class<?> clazz,
org.hamcrest.Matcher<AnalysisResult> mutabilityMatcher)
|
static void |
MutabilityAssert.assertInstancesOf(Class<?> clazz,
org.hamcrest.Matcher<AnalysisResult> mutabilityMatcher)
Checks that the result of analysis satisfies the given Matcher ,
or fails with an AssertionError . |
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)
|
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)
|
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)
|
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 AnalysisResult in org.mutabilitydetector.unittesting.internal |
---|
Methods in org.mutabilitydetector.unittesting.internal with parameters of type AnalysisResult | |
---|---|
void |
AssertionReporter.assertThat(AnalysisResult analysisResult,
WithAllowedReasonsMatcher resultMatcher)
|
Uses of AnalysisResult in org.mutabilitydetector.unittesting.matchers |
---|
Methods in org.mutabilitydetector.unittesting.matchers with parameters of type AnalysisResult | |
---|---|
boolean |
IsImmutableMatcher.matchesSafely(AnalysisResult item,
org.hamcrest.Description mismatchDescription)
|
Uses of AnalysisResult in org.mutabilitydetector.unittesting.matchers.reasons |
---|
Method parameters in org.mutabilitydetector.unittesting.matchers.reasons with type arguments of type AnalysisResult | |
---|---|
static WithAllowedReasonsMatcher |
WithAllowedReasonsMatcher.withAllowedReasons(org.hamcrest.Matcher<AnalysisResult> areImmutable,
Iterable<org.hamcrest.Matcher<MutableReasonDetail>> allowing)
|
static WithAllowedReasonsMatcher |
WithAllowedReasonsMatcher.withNoAllowedReasons(org.hamcrest.Matcher<AnalysisResult> areImmutable)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |