Skip navigation links
A B C D E F G H I J L M N O P R S T U V W 

A

AccessModifierQuery - Class in org.mutabilitydetector.checkers
Used to check for the existence of an access flag used in ASM visitors.
aConstructor(String) - Static method in class org.mutabilitydetector.checkers.MethodIs
 
AllChecksRunner - Class in org.mutabilitydetector.checkers
 
AllChecksRunner(MutabilityCheckerFactory, CheckerRunnerFactory, AsmVerifierFactory, Dotted) - Constructor for class org.mutabilitydetector.checkers.AllChecksRunner
 
allOfCategory(Opcode.Category) - Static method in enum org.mutabilitydetector.checkers.settermethod.Opcode
 
AllowedReason - Class in org.mutabilitydetector.unittesting
Provides ways to suppress false positives generated by Mutability Detector.
allowingForSubclassing() - Static method in class org.mutabilitydetector.unittesting.AllowedReason
Please see the JavaDoc listed with MutabilityAssert for an introduction on using this method.
AllowingForSubclassing - Class in org.mutabilitydetector.unittesting.matchers.reasons
 
AllowingForSubclassing() - Constructor for class org.mutabilitydetector.unittesting.matchers.reasons.AllowingForSubclassing
 
allowingNonFinalFields() - Static method in class org.mutabilitydetector.unittesting.AllowedReason
Insists that non-final fields are acceptable.
AllowingNonFinalFields - Class in org.mutabilitydetector.unittesting.matchers.reasons
 
AllowingNonFinalFields() - Constructor for class org.mutabilitydetector.unittesting.matchers.reasons.AllowingNonFinalFields
 
AnalysisClassLoader - Interface in org.mutabilitydetector.classloading
 
AnalysisDatabase - Class in org.mutabilitydetector.checkers.info
 
AnalysisDatabase.InfoKey<C> - Class in org.mutabilitydetector.checkers.info
 
AnalysisError - Class in org.mutabilitydetector
 
AnalysisError(Dotted, String, String) - Constructor for class org.mutabilitydetector.AnalysisError
 
AnalysisInformation - Interface in org.mutabilitydetector.checkers.info
 
AnalysisInProgress - Class in org.mutabilitydetector.checkers.info
 
AnalysisResult - Class in org.mutabilitydetector
 
analysisResult(Dotted, IsImmutable, MutableReasonDetail...) - Static method in class org.mutabilitydetector.AnalysisResult
 
analysisResult(Dotted, IsImmutable, Collection<MutableReasonDetail>) - Static method in class org.mutabilitydetector.AnalysisResult
 
analysisResult(Dotted, IsImmutable, Collection<MutableReasonDetail>, Collection<AnalysisError>) - Static method in class org.mutabilitydetector.AnalysisResult
 
analysisResult(String, IsImmutable) - Static method in class org.mutabilitydetector.AnalysisResult
 
analysisResult(String, IsImmutable, Collection<MutableReasonDetail>) - Static method in class org.mutabilitydetector.AnalysisResult
 
analysisResult(String, IsImmutable, MutableReasonDetail...) - Static method in class org.mutabilitydetector.AnalysisResult
 
analysisResult(String, IsImmutable, MutableReasonDetail) - Static method in class org.mutabilitydetector.AnalysisResult
 
AnalysisSession - Interface in org.mutabilitydetector
 
analysisStartedFor(Dotted) - Method in class org.mutabilitydetector.checkers.info.AnalysisInProgress
 
areAlsoImmutable() - Method in class org.mutabilitydetector.unittesting.matchers.reasons.ProvidedOtherClass
Assumes that the selected type is immutable, preventing warnings related to transitive mutability.
areEffectivelyImmutable() - Static method in class org.mutabilitydetector.unittesting.MutabilityMatchers
 
areImmutable() - Static method in class org.mutabilitydetector.unittesting.MutabilityMatchers
 
areModifiedAsPartOfAnUnobservableCachingStrategy() - Method in class org.mutabilitydetector.unittesting.matchers.reasons.FieldAssumptions
Insists that while a field may have been mutated, changes will not be observable.
areNotImmutable() - Static method in class org.mutabilitydetector.unittesting.MutabilityMatchers
 
areNotModifiedAndDoNotEscape() - Method in class org.mutabilitydetector.unittesting.matchers.reasons.FieldAssumptions
Insists that a mutable field is used safely.
areSafelyCopiedUnmodifiableCollectionsWithImmutableElements() - Method in class org.mutabilitydetector.unittesting.matchers.reasons.FieldAssumptions
Insists fields of collection types are copied and wrapped safely.
arithmeticAndLogic() - Static method in enum org.mutabilitydetector.checkers.settermethod.Opcode
These instructions pop numeric values from the operand stack combine them and push the result on the stack.
ArrayFieldMutabilityChecker - Class in org.mutabilitydetector.checkers
 
ArrayFieldMutabilityChecker() - Constructor for class org.mutabilitydetector.checkers.ArrayFieldMutabilityChecker
 
arrays() - Static method in enum org.mutabilitydetector.checkers.settermethod.Opcode
 
asBoolean() - Method in interface org.mutabilitydetector.checkers.settermethod.UnknownTypeValue
 
asChar() - Method in interface org.mutabilitydetector.checkers.settermethod.UnknownTypeValue
 
asDotted(String[]) - Method in class org.mutabilitydetector.cli.NamesFromClassResources
 
asDotted() - Method in class org.mutabilitydetector.locations.ClassIdentifier
 
asInt() - Method in enum org.mutabilitydetector.checkers.settermethod.Opcode
 
asInt() - Method in interface org.mutabilitydetector.checkers.settermethod.OpcodeInformation
 
asInternal() - Method in class org.mutabilitydetector.locations.ClassName
 
asInternal() - Method in class org.mutabilitydetector.locations.Dotted
 
asInternal() - Method in class org.mutabilitydetector.locations.Slashed
 
AsmApiVersion - Static variable in class org.mutabilitydetector.asmoverride.AsmCompatibility
 
AsmClassVisitor - Class in org.mutabilitydetector.asmoverride
 
AsmClassVisitor() - Constructor for class org.mutabilitydetector.asmoverride.AsmClassVisitor
 
AsmCompatibility - Class in org.mutabilitydetector.asmoverride
 
AsmCompatibility() - Constructor for class org.mutabilitydetector.asmoverride.AsmCompatibility
 
AsmMutabilityChecker - Class in org.mutabilitydetector.checkers
 
AsmMutabilityChecker() - Constructor for class org.mutabilitydetector.checkers.AsmMutabilityChecker
 
AsmVerifierFactory - Interface in org.mutabilitydetector.asmoverride
 
AsmVerifierFactory.ClassloadingOption - Enum in org.mutabilitydetector.asmoverride
 
asResource() - Method in class org.mutabilitydetector.locations.Dotted
 
assertImmutable(Class<?>) - Static method in class org.mutabilitydetector.unittesting.MutabilityAssert
Checks that the given class is immutable, or fails with an AssertionError.
assertImmutable(Class<?>) - Method in class org.mutabilitydetector.unittesting.MutabilityAsserter
 
assertInstancesOf(Class<?>, Matcher<AnalysisResult>) - Static method in class org.mutabilitydetector.unittesting.MutabilityAssert
Checks that the result of analysis satisfies the given Matcher, or fails with an AssertionError.
assertInstancesOf(Class<?>, Matcher<AnalysisResult>, Matcher<MutableReasonDetail>) - Static method in class org.mutabilitydetector.unittesting.MutabilityAssert
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.
assertInstancesOf(Class<?>, Matcher<AnalysisResult>, Matcher<MutableReasonDetail>, Matcher<MutableReasonDetail>) - Static method in class org.mutabilitydetector.unittesting.MutabilityAssert
Checks that the result of analysis satisfies the given Matcher, while allowing mismatches in the form of allowed reasons, or fails with an AssertionError.
assertInstancesOf(Class<?>, Matcher<AnalysisResult>, Matcher<MutableReasonDetail>, Matcher<MutableReasonDetail>, Matcher<MutableReasonDetail>) - Static method in class org.mutabilitydetector.unittesting.MutabilityAssert
Checks that the result of analysis satisfies the given Matcher, while allowing mismatches in the form of allowed reasons, or fails with an AssertionError.
assertInstancesOf(Class<?>, Matcher<AnalysisResult>, Matcher<MutableReasonDetail>, Matcher<MutableReasonDetail>, Matcher<MutableReasonDetail>, Matcher<MutableReasonDetail>...) - Static method in class org.mutabilitydetector.unittesting.MutabilityAssert
Checks that the result of analysis satisfies the given Matcher, while allowing mismatches in the form of allowed reasons, or fails with an AssertionError.
assertInstancesOf(Class<?>, Matcher<AnalysisResult>, Iterable<Matcher<MutableReasonDetail>>) - Static method in class org.mutabilitydetector.unittesting.MutabilityAssert
Checks that the result of analysis satisfies the given Matcher, while allowing mismatches in the form of allowed reasons, or fails with an AssertionError.
assertInstancesOf(Class<?>, Matcher<AnalysisResult>) - Method in class org.mutabilitydetector.unittesting.MutabilityAsserter
 
assertInstancesOf(Class<?>, Matcher<AnalysisResult>, Matcher<MutableReasonDetail>) - Method in class org.mutabilitydetector.unittesting.MutabilityAsserter
 
assertInstancesOf(Class<?>, Matcher<AnalysisResult>, Matcher<MutableReasonDetail>, Matcher<MutableReasonDetail>) - Method in class org.mutabilitydetector.unittesting.MutabilityAsserter
 
assertInstancesOf(Class<?>, Matcher<AnalysisResult>, Matcher<MutableReasonDetail>, Matcher<MutableReasonDetail>, Matcher<MutableReasonDetail>) - Method in class org.mutabilitydetector.unittesting.MutabilityAsserter
 
assertInstancesOf(Class<?>, Matcher<AnalysisResult>, Matcher<MutableReasonDetail>, Matcher<MutableReasonDetail>, Matcher<MutableReasonDetail>, Matcher<MutableReasonDetail>...) - Method in class org.mutabilitydetector.unittesting.MutabilityAsserter
 
assertInstancesOf(Class<?>, Matcher<AnalysisResult>, Iterable<Matcher<MutableReasonDetail>>) - Method in class org.mutabilitydetector.unittesting.MutabilityAsserter
 
AssertionReporter - Class in org.mutabilitydetector.unittesting.internal
AssertionReporter is responsible for making an assertion in a test fail, by preparing and throwing the appropriate MutabilityAssertionError.
AssertionReporter() - Constructor for class org.mutabilitydetector.unittesting.internal.AssertionReporter
 
assertThat(AnalysisResult, WithAllowedReasonsMatcher) - Method in class org.mutabilitydetector.unittesting.internal.AssertionReporter
 
asSimpleString() - Method in class org.mutabilitydetector.checkers.CollectionField
Similar to CollectionField#asString, but uses unqualified class names
asSimpleString() - Method in class org.mutabilitydetector.checkers.CollectionField.GenericType
Similar to GenericType#asString but uses unqualified class names
asSimpleString() - Method in class org.mutabilitydetector.locations.ClassName
Similar to ClassName#asString but uses unqualified type names
asString() - Method in class org.mutabilitydetector.checkers.CollectionField
 
asString() - Method in class org.mutabilitydetector.locations.ClassName
 
AssumeCopiedIntoUnmodifiable - Class in org.mutabilitydetector.unittesting.matchers.reasons
 
AssumeCopiedIntoUnmodifiable(String) - Constructor for class org.mutabilitydetector.unittesting.matchers.reasons.AssumeCopiedIntoUnmodifiable
 
assuming(String) - Static method in class org.mutabilitydetector.unittesting.matchers.reasons.AssumeCopiedIntoUnmodifiable
 
assumingFields(String, String...) - Static method in class org.mutabilitydetector.unittesting.AllowedReason
Allowed reasons for mutability warnings related to fields.
assumingFields(Iterable<String>) - Static method in class org.mutabilitydetector.unittesting.AllowedReason
Allowed reasons for mutability warnings related to fields.

B

BatchAnalysisOptions - Interface in org.mutabilitydetector.cli
 
BatchAnalysisSession - Class in org.mutabilitydetector.cli
 
BatchAnalysisSession(AnalysisSession) - Constructor for class org.mutabilitydetector.cli.BatchAnalysisSession
 
build() - Method in class org.mutabilitydetector.checkers.hint.WrappingHint.Builder
 
build() - Method in class org.mutabilitydetector.ConfigurationBuilder
 
builder() - Static method in class org.mutabilitydetector.checkers.hint.WrappingHint
 
Builder() - Constructor for class org.mutabilitydetector.checkers.hint.WrappingHint.Builder
 

C

CachingAnalysisClassLoader - Class in org.mutabilitydetector.classloading
 
CachingAnalysisClassLoader(AnalysisClassLoader) - Constructor for class org.mutabilitydetector.classloading.CachingAnalysisClassLoader
 
calculateImmutableStatus(Map<IsImmutable, Integer>) - Method in class org.mutabilitydetector.checkers.ResultCalculator
 
call() - Method in class org.mutabilitydetector.cli.RunMutabilityDetector
Runs mutability detection, returning the results as a String.
CAN_BE_WRAPPED - Variable in enum org.mutabilitydetector.checkers.ImmutableCollectionChecker.Configuration
 
canBeWrapped() - Method in class org.mutabilitydetector.checkers.ImmutableCollectionChecker.UnmodifiableWrapResult
 
canBeWrapped - Variable in enum org.mutabilitydetector.checkers.ImmutableCollectionChecker.UnmodifiableWrapResult.UnmodifiableWrapStatus
 
CanSubclassChecker - Class in org.mutabilitydetector.checkers
 
CanSubclassChecker() - Constructor for class org.mutabilitydetector.checkers.CanSubclassChecker
 
casts() - Static method in enum org.mutabilitydetector.checkers.settermethod.Opcode
These instructions pop a value from the stack, convert it to another type, and push the result back.
category() - Method in enum org.mutabilitydetector.checkers.settermethod.Opcode
 
category() - Method in interface org.mutabilitydetector.checkers.settermethod.OpcodeInformation
 
checkerName - Variable in class org.mutabilitydetector.AnalysisError
 
checkerResult() - Method in class org.mutabilitydetector.checkers.AsmMutabilityChecker
 
CheckerResult - Class in org.mutabilitydetector.checkers
 
CheckerResult(IsImmutable, Iterable<MutableReasonDetail>, Iterable<AnalysisError>) - Constructor for class org.mutabilitydetector.checkers.CheckerResult
 
CheckerRunner - Class in org.mutabilitydetector.checkers
 
CheckerRunner.ExceptionPolicy - Enum in org.mutabilitydetector.checkers
 
CheckerRunnerFactory - Interface in org.mutabilitydetector.checkers
 
checkInvokesImmutableInterfaceMethod() - Method in class org.mutabilitydetector.checkers.ImmutableCollectionChecker
 
checkWrappedInUnmodifiable() - Method in class org.mutabilitydetector.checkers.ImmutableCollectionChecker
 
ClassForNameWrapper - Class in org.mutabilitydetector.classloading
 
ClassForNameWrapper() - Constructor for class org.mutabilitydetector.classloading.ClassForNameWrapper
 
ClassIdentifier - Class in org.mutabilitydetector.locations
 
ClassListException - Exception in org.mutabilitydetector.cli
Used when the list of classes to to be reported on cannot be created.
ClassListException(String, Throwable) - Constructor for exception org.mutabilitydetector.cli.ClassListException
 
classListFile() - Method in interface org.mutabilitydetector.cli.BatchAnalysisOptions
 
classListFile() - Method in class org.mutabilitydetector.cli.CommandLineOptions
 
ClassListReaderFactory - Class in org.mutabilitydetector.cli
 
ClassListReaderFactory(File) - Constructor for class org.mutabilitydetector.cli.ClassListReaderFactory
 
classListToReport() - Method in interface org.mutabilitydetector.cli.ClassListToReportCollector
 
classListToReport() - Method in class org.mutabilitydetector.cli.PlainTextClassListToReportReader
 
ClassListToReportCollector - Interface in org.mutabilitydetector.cli
 
classloading() - Method in interface org.mutabilitydetector.cli.BatchAnalysisOptions
 
classloading() - Method in class org.mutabilitydetector.cli.CommandLineOptions
 
classloadingOption() - Method in interface org.mutabilitydetector.Configuration
Configures whether Mutability Detector loads classes or not during analysis.
ClassLoadingVerifierFactory - Class in org.mutabilitydetector.asmoverride
 
ClassLoadingVerifierFactory(AnalysisClassLoader) - Constructor for class org.mutabilitydetector.asmoverride.ClassLoadingVerifierFactory
 
ClassLocation(String) - Constructor for class org.mutabilitydetector.locations.CodeLocation.ClassLocation
 
className - Variable in class org.mutabilitydetector.AnalysisResult
 
ClassName - Class in org.mutabilitydetector.locations
 
ClassName(String) - Constructor for class org.mutabilitydetector.locations.ClassName
 
ClassNameConverter - Class in org.mutabilitydetector.locations
 
ClassNameConverter() - Constructor for class org.mutabilitydetector.locations.ClassNameConverter
 
classpath() - Method in interface org.mutabilitydetector.cli.BatchAnalysisOptions
 
classpath() - Method in class org.mutabilitydetector.cli.CommandLineOptions
 
ClassPathBasedCheckerRunnerFactory - Class in org.mutabilitydetector.checkers
 
ClassPathBasedCheckerRunnerFactory(ClassPath, CheckerRunner.ExceptionPolicy) - Constructor for class org.mutabilitydetector.checkers.ClassPathBasedCheckerRunnerFactory
 
ClassPathScanner - Class in org.mutabilitydetector.classpath
 
code() - Method in enum org.mutabilitydetector.MutabilityReason
 
code() - Method in interface org.mutabilitydetector.Reason
 
CodeLocation<T extends CodeLocation<T>> - Class in org.mutabilitydetector.locations
 
codeLocation() - Method in class org.mutabilitydetector.MutableReasonDetail
 
CodeLocation.ClassLocation - Class in org.mutabilitydetector.locations
 
CodeLocation.FieldLocation - Class in org.mutabilitydetector.locations
 
CodeLocation.UnknownCodeLocation - Class in org.mutabilitydetector.locations
 
collectAssignmentGuards() - Method in class org.mutabilitydetector.checkers.settermethod.SetterMethodChecker
 
collectEffectiveAssignmentInstructions() - Method in class org.mutabilitydetector.checkers.settermethod.SetterMethodChecker
 
collectInitialisers() - Method in class org.mutabilitydetector.checkers.settermethod.SetterMethodChecker
 
CollectionField - Class in org.mutabilitydetector.checkers
 
CollectionField(Dotted, CollectionField.Node) - Constructor for class org.mutabilitydetector.checkers.CollectionField
 
CollectionField.GenericType - Class in org.mutabilitydetector.checkers
 
collectionType - Variable in class org.mutabilitydetector.checkers.CollectionField
 
CollectionWithMutableElementTypeToFieldChecker - Class in org.mutabilitydetector.checkers
 
CollectionWithMutableElementTypeToFieldChecker(MutableTypeInformation, AsmVerifierFactory, ImmutableSet<Dotted>, AnalysisInProgress) - Constructor for class org.mutabilitydetector.checkers.CollectionWithMutableElementTypeToFieldChecker
 
collectPossibleInitialValues() - Method in class org.mutabilitydetector.checkers.settermethod.SetterMethodChecker
 
CommandLineOptions - Class in org.mutabilitydetector.cli
 
CommandLineOptions(PrintStream, String...) - Constructor for class org.mutabilitydetector.cli.CommandLineOptions
 
CommandLineOptions(PrintStream, List<String>) - Constructor for class org.mutabilitydetector.cli.CommandLineOptions
 
CommandLineOptions.ReportMode - Enum in org.mutabilitydetector.cli
 
CommandLineOptionsException - Exception in org.mutabilitydetector.cli
Used when creating the options for running MutabilityDetector.
CommandLineOptionsException(Throwable) - Constructor for exception org.mutabilitydetector.cli.CommandLineOptionsException
 
CommandLineOptionsException(String) - Constructor for exception org.mutabilitydetector.cli.CommandLineOptionsException
 
compareTo(CodeLocation.ClassLocation) - Method in class org.mutabilitydetector.locations.CodeLocation.ClassLocation
 
compareTo(CodeLocation.FieldLocation) - Method in class org.mutabilitydetector.locations.CodeLocation.FieldLocation
 
compareTo(CodeLocation.UnknownCodeLocation) - Method in class org.mutabilitydetector.locations.CodeLocation.UnknownCodeLocation
 
complete(AnalysisResult) - Static method in class org.mutabilitydetector.checkers.info.MutableTypeInformation.MutabilityLookup
 
Configuration - Interface in org.mutabilitydetector
Allows customisation of Mutability Detector's analysis.
ConfigurationBuilder - Class in org.mutabilitydetector
Builds a Configuration for customising Mutability Detector's analysis.
ConfigurationBuilder() - Constructor for class org.mutabilitydetector.ConfigurationBuilder
 
Configurations - Class in org.mutabilitydetector
 
configure() - Method in class org.mutabilitydetector.config.GuavaConfiguration
 
configure() - Method in class org.mutabilitydetector.config.JdkConfiguration
 
configure() - Method in class org.mutabilitydetector.ConfigurationBuilder
Subclasses should override this method to configure analysis.
configured(Configuration) - Static method in class org.mutabilitydetector.unittesting.MutabilityAsserter
Create a new asserter with an existing Configuration.
configured(ConfigurationBuilder) - Static method in class org.mutabilitydetector.unittesting.MutabilityAsserter
Create a new asserter with a Configuration as built by the given ConfigurationBuilder.
constants() - Static method in enum org.mutabilitydetector.checkers.settermethod.Opcode
These instructions push a constant value on the operand stack: ACONST_NULL pushes null, ICONST_0 pushes the int value 0, FCONST_0 pushes 0f, DCONST_0 pushes 0d, BIPUSH b pushes the byte value b, SIPUSH s pushes the short value s, LDC cst pushes the arbitrary int, float, long, double, String, or class1 constant cst, etc.
contains(Dotted) - Method in class org.mutabilitydetector.checkers.info.AnalysisInProgress
 
CONVERTER - Static variable in class org.mutabilitydetector.locations.ClassNameConverter
 
CopyMethod - Class in org.mutabilitydetector.checkers.info
 
CopyMethod(Dotted, String, String) - Constructor for class org.mutabilitydetector.checkers.info.CopyMethod
 
CopyMethod(Dotted, String, String, boolean) - Constructor for class org.mutabilitydetector.checkers.info.CopyMethod
 
createErrorDescription(Dotted) - Method in class org.mutabilitydetector.checkers.CheckerRunner
 
createInstances(AnalysisDatabase, AsmVerifierFactory, MutableTypeInformation, AnalysisInProgress) - Method in class org.mutabilitydetector.checkers.MutabilityCheckerFactory
 
createReader() - Method in class org.mutabilitydetector.cli.ClassListReaderFactory
 
createReasonDetail(String, CodeLocation<?>, Reason) - Method in class org.mutabilitydetector.checkers.AsmMutabilityChecker
 
createRunner() - Method in interface org.mutabilitydetector.checkers.CheckerRunnerFactory
 
createRunner() - Method in class org.mutabilitydetector.checkers.ClassPathBasedCheckerRunnerFactory
 
createsResult() - Method in enum org.mutabilitydetector.MutabilityReason
 
createsResult() - Method in interface org.mutabilitydetector.Reason
 
createWithClasspath(ClassPath, CheckerRunner.ExceptionPolicy) - Static method in class org.mutabilitydetector.checkers.CheckerRunner
 
createWithCurrentClasspath(CheckerRunner.ExceptionPolicy) - Static method in class org.mutabilitydetector.checkers.CheckerRunner
 
createWithCurrentClassPath(Configuration) - Static method in class org.mutabilitydetector.DefaultCachingAnalysisSession
Creates an analysis session based suitable for runtime analysis.
createWithGivenClassPath(ClassPath, CheckerRunnerFactory, MutabilityCheckerFactory, AsmVerifierFactory, Configuration) - Static method in class org.mutabilitydetector.DefaultCachingAnalysisSession
 
CyclicReference(Dotted, Dotted) - Constructor for class org.mutabilitydetector.checkers.info.CyclicReferences.CyclicReference
 
CyclicReference(AnalysisInProgress) - Constructor for class org.mutabilitydetector.checkers.info.CyclicReferences.CyclicReference
 
cyclicReference - Variable in class org.mutabilitydetector.checkers.info.MutableTypeInformation.MutabilityLookup
 
CyclicReferences - Class in org.mutabilitydetector.checkers.info
 
CyclicReferences() - Constructor for class org.mutabilitydetector.checkers.info.CyclicReferences
 
CyclicReferences.CyclicReference - Class in org.mutabilitydetector.checkers.info
 

D

DefaultCachingAnalysisSession - Class in org.mutabilitydetector
 
definitelyImmutable(Dotted) - Static method in class org.mutabilitydetector.AnalysisResult
 
definitelyImmutable(String) - Static method in class org.mutabilitydetector.AnalysisResult
 
desc - Variable in class org.mutabilitydetector.checkers.info.CopyMethod
 
describeMismatch(Object, Description) - Method in class org.mutabilitydetector.unittesting.matchers.reasons.WithAllowedReasonsMatcher
 
describeTo(Description) - Method in class org.mutabilitydetector.unittesting.matchers.IsImmutableMatcher
 
describeTo(Description) - Method in class org.mutabilitydetector.unittesting.matchers.reasons.WithAllowedReasonsMatcher
 
description - Variable in class org.mutabilitydetector.AnalysisError
 
description() - Method in enum org.mutabilitydetector.checkers.settermethod.Opcode
 
description() - Method in interface org.mutabilitydetector.checkers.settermethod.OpcodeInformation
 
description() - Method in enum org.mutabilitydetector.MutabilityReason
 
description() - Method in interface org.mutabilitydetector.Reason
 
detectedBetween(Dotted, Dotted, AnalysisInProgress) - Method in class org.mutabilitydetector.checkers.info.CyclicReferences
 
dotted(String) - Method in class org.mutabilitydetector.locations.ClassNameConverter
 
Dotted - Class in org.mutabilitydetector.locations
 
dotted(String) - Static method in class org.mutabilitydetector.locations.Dotted
 
dottedClassName - Variable in class org.mutabilitydetector.AnalysisResult
Deprecated.
dottedClassName() - Method in class org.mutabilitydetector.checkers.info.MethodIdentifier
 

E

equals(Object) - Method in class org.mutabilitydetector.AnalysisResult
 
equals(Object) - Method in class org.mutabilitydetector.checkers.CollectionField.GenericType
 
equals(Object) - Method in class org.mutabilitydetector.checkers.info.AnalysisInProgress
 
equals(Object) - Method in class org.mutabilitydetector.checkers.info.CopyMethod
 
equals(Object) - Method in class org.mutabilitydetector.checkers.info.CyclicReferences.CyclicReference
 
equals(Object) - Method in class org.mutabilitydetector.checkers.info.MethodIdentifier
 
equals(Object) - Method in class org.mutabilitydetector.locations.ClassName
 
equals(Object) - Method in class org.mutabilitydetector.locations.CodeLocation.ClassLocation
 
equals(Object) - Method in class org.mutabilitydetector.locations.CodeLocation.FieldLocation
 
equals(Object) - Method in class org.mutabilitydetector.locations.CodeLocation.UnknownCodeLocation
 
equals(Object) - Method in class org.mutabilitydetector.locations.Dotted
 
equals(Object) - Method in class org.mutabilitydetector.locations.Slashed
 
equals(Object) - Method in class org.mutabilitydetector.MutableReasonDetail
 
errors - Variable in class org.mutabilitydetector.AnalysisResult
 
errors - Variable in class org.mutabilitydetector.checkers.CheckerResult
 
EscapedThisReferenceChecker - Class in org.mutabilitydetector.checkers
 
EscapedThisReferenceChecker() - Constructor for class org.mutabilitydetector.checkers.EscapedThisReferenceChecker
 
exact(Dotted) - Static method in class org.mutabilitydetector.checkers.CollectionField.GenericType
 
exceptionPolicy() - Method in interface org.mutabilitydetector.Configuration
Configures how Mutability Detector's analysis should respond to exceptions during analysis.
extends_(Dotted) - Static method in class org.mutabilitydetector.checkers.CollectionField.GenericType
 

F

failFast() - Method in interface org.mutabilitydetector.cli.BatchAnalysisOptions
 
failFast() - Method in class org.mutabilitydetector.cli.CommandLineOptions
 
field(int) - Static method in class org.mutabilitydetector.checkers.AccessModifierQuery
 
FIELD_TYPE_TO_COPY_METHODS - Variable in enum org.mutabilitydetector.checkers.ImmutableCollectionChecker.Configuration
 
FIELD_TYPE_TO_IMMUTABLE_METHOD - Variable in enum org.mutabilitydetector.checkers.ImmutableCollectionChecker.Configuration
 
FIELD_TYPE_TO_UNMODIFIABLE_METHOD - Variable in enum org.mutabilitydetector.checkers.ImmutableCollectionChecker.Configuration
 
fieldAssignments - Variable in class org.mutabilitydetector.checkers.FieldAssignmentVisitor
 
FieldAssignmentVisitor - Class in org.mutabilitydetector.checkers
 
FieldAssignmentVisitor(String, int, String, String, String, String[], AsmVerifierFactory) - Constructor for class org.mutabilitydetector.checkers.FieldAssignmentVisitor
 
FieldAssumptions - Class in org.mutabilitydetector.unittesting.matchers.reasons
Allowed reasons for mutability warnings related to fields.
fieldLocation(String, CodeLocation.ClassLocation, Dotted) - Static method in class org.mutabilitydetector.locations.CodeLocation.FieldLocation
 
fieldName() - Method in class org.mutabilitydetector.locations.CodeLocation.FieldLocation
 
fields() - Static method in enum org.mutabilitydetector.checkers.settermethod.Opcode
 
fieldType() - Method in class org.mutabilitydetector.locations.CodeLocation.FieldLocation
 
find() - Method in interface org.mutabilitydetector.checkers.settermethod.Finder
 
Finder<T> - Interface in org.mutabilitydetector.checkers.settermethod
Implementations of this interface are supposed to find something within a provided context.
findImmutableClasses(String) - Static method in class org.mutabilitydetector.classpath.ClassPathScanner
 
forClass(Dotted) - Static method in class org.mutabilitydetector.locations.ClassIdentifier
 
forClass(Slashed) - Static method in class org.mutabilitydetector.locations.ClassIdentifier
 
forInt(int) - Static method in enum org.mutabilitydetector.checkers.settermethod.Opcode
 
format(Iterable<AnalysisResult>, Iterable<AnalysisError>) - Method in class org.mutabilitydetector.cli.SessionResultsFormatter
 
formatReasons(Collection<MutableReasonDetail>) - Static method in class org.mutabilitydetector.unittesting.internal.ReasonsFormatter
 
formatSingleReason(MutableReasonDetail) - Static method in class org.mutabilitydetector.unittesting.internal.ReasonsFormatter
 
forMethod(Dotted, String) - Static method in class org.mutabilitydetector.checkers.info.MethodIdentifier
 
forMethod(Slashed, String) - Static method in class org.mutabilitydetector.checkers.info.MethodIdentifier
 
foundCyclicReference - Variable in class org.mutabilitydetector.checkers.info.MutableTypeInformation.MutabilityLookup
 
foundCyclicReference(CyclicReferences.CyclicReference) - Static method in class org.mutabilitydetector.checkers.info.MutableTypeInformation.MutabilityLookup
 
from(String, String) - Static method in class org.mutabilitydetector.checkers.CollectionField
 
from(MethodInsnNode) - Static method in class org.mutabilitydetector.checkers.info.CopyMethod
 
from(Slashed) - Static method in class org.mutabilitydetector.locations.CodeLocation.ClassLocation
 
from(Dotted) - Static method in class org.mutabilitydetector.locations.CodeLocation.ClassLocation
 
fromClass(Class<?>) - Static method in class org.mutabilitydetector.locations.Dotted
 
fromFieldDescription(String) - Static method in class org.mutabilitydetector.locations.Dotted
 
fromFieldInsnNode(FieldInsnNode) - Static method in class org.mutabilitydetector.locations.Dotted
 
fromFieldNode(FieldNode) - Static method in class org.mutabilitydetector.locations.Dotted
 
fromInternalName(String) - Static method in class org.mutabilitydetector.locations.CodeLocation.ClassLocation
 
fromSlashed(Slashed) - Static method in class org.mutabilitydetector.locations.Dotted
 
fromSlashedString(String) - Static method in class org.mutabilitydetector.locations.Dotted
 
fromType(Type) - Static method in class org.mutabilitydetector.locations.Dotted
 

G

generate() - Method in class org.mutabilitydetector.checkers.hint.WrappingHintGenerator
 
GenericType(Dotted, String, boolean, boolean) - Constructor for class org.mutabilitydetector.checkers.CollectionField.GenericType
 
getCopyMethodsAllowed() - Method in class org.mutabilitydetector.ConfigurationBuilder
 
getCurrentlyHardcodedResults() - Method in class org.mutabilitydetector.ConfigurationBuilder
Returns an immutable snapshot of the hardcoded results as at time of calling.
getCurrentTimeMillis() - Method in class org.mutabilitydetector.misc.TimingUtil
 
getErrors() - Method in interface org.mutabilitydetector.AnalysisSession
 
getErrors() - Method in class org.mutabilitydetector.DefaultCachingAnalysisSession
 
getGenericParameterTypes() - Method in class org.mutabilitydetector.checkers.CollectionField
Get flat list of generics tree represented by root
getIndexWithinMethod() - Method in class org.mutabilitydetector.checkers.settermethod.NullAssignmentInsn
 
getInstance() - Static method in class org.mutabilitydetector.checkers.settermethod.NullAssignmentInsn
 
getNameOfAssignedVariable() - Method in class org.mutabilitydetector.checkers.settermethod.NullAssignmentInsn
 
getResults() - Method in interface org.mutabilitydetector.AnalysisSession
 
getResults() - Method in class org.mutabilitydetector.DefaultCachingAnalysisSession
 
getStackValue(Frame<BasicValue>) - Method in class org.mutabilitydetector.checkers.FieldAssignmentVisitor
 
getSurroundingControlFlowBlock() - Method in class org.mutabilitydetector.checkers.settermethod.NullAssignmentInsn
 
getVMStartTimeMillis() - Method in class org.mutabilitydetector.misc.TimingUtil
 
getWrappingHint(String) - Method in class org.mutabilitydetector.checkers.hint.WrappingHint
For given field name get the actual hint message
getWrappingHint(String) - Method in class org.mutabilitydetector.checkers.ImmutableCollectionChecker.UnmodifiableWrapResult
 
GUAVA_CONFIGURATION - Static variable in class org.mutabilitydetector.Configurations
 
GuavaConfiguration - Class in org.mutabilitydetector.config
 
GuavaConfiguration() - Constructor for class org.mutabilitydetector.config.GuavaConfiguration
 

H

hardcodeAsDefinitelyImmutable(Class<?>) - Method in class org.mutabilitydetector.ConfigurationBuilder
Hardcodes a result indicating the given class is Immutable.
hardcodeAsDefinitelyImmutable(String) - Method in class org.mutabilitydetector.ConfigurationBuilder
Hardcodes a result indicating the given class is Immutable.
hardcodeAsImmutableContainerType(Class<?>) - Method in class org.mutabilitydetector.ConfigurationBuilder
Configures a generic container type as immutable.
hardcodeAsImmutableContainerType(String) - Method in class org.mutabilitydetector.ConfigurationBuilder
 
hardcodedCopyMethods() - Method in class org.mutabilitydetector.checkers.info.MutableTypeInformation
 
hardcodedCopyMethods() - Method in interface org.mutabilitydetector.Configuration
Safe methods for copying collections when being assigned to a field in a class's constructor.
hardcodedResults() - Method in interface org.mutabilitydetector.Configuration
Add a predefined result used during analysis.
HardcodedResultsUsage - Enum in org.mutabilitydetector.config
 
hardcodeResult(AnalysisResult) - Method in class org.mutabilitydetector.ConfigurationBuilder
Add a predefined result used during analysis.
hardcodeResults(Iterable<AnalysisResult>) - Method in class org.mutabilitydetector.ConfigurationBuilder
Adds all the given AnalysisResults, as if hardcodeResult was called for each element in the iterable.
hardcodeResults(AnalysisResult...) - Method in class org.mutabilitydetector.ConfigurationBuilder
Adds all the given AnalysisResults, as if hardcodeResult was called for each element in the var args parameter.
hardcodeValidCopyMethod(Class<?>, String, Class<?>) - Method in class org.mutabilitydetector.ConfigurationBuilder
Hardcode a copy method as being valid.
hardcodeValidCopyMethod(Class<?>, CopyMethod) - Method in class org.mutabilitydetector.ConfigurationBuilder
 
hashCode() - Method in class org.mutabilitydetector.AnalysisResult
 
hashCode() - Method in class org.mutabilitydetector.checkers.CollectionField.GenericType
 
hashCode() - Method in class org.mutabilitydetector.checkers.info.AnalysisInProgress
 
hashCode() - Method in class org.mutabilitydetector.checkers.info.CopyMethod
 
hashCode() - Method in class org.mutabilitydetector.checkers.info.CyclicReferences.CyclicReference
 
hashCode() - Method in class org.mutabilitydetector.checkers.info.MethodIdentifier
 
hashCode() - Method in class org.mutabilitydetector.locations.ClassName
 
hashCode() - Method in class org.mutabilitydetector.locations.CodeLocation.ClassLocation
 
hashCode() - Method in class org.mutabilitydetector.locations.CodeLocation.FieldLocation
 
hashCode() - Method in class org.mutabilitydetector.locations.CodeLocation.UnknownCodeLocation
 
hashCode() - Method in class org.mutabilitydetector.locations.Dotted
 
hashCode() - Method in class org.mutabilitydetector.locations.Slashed
 
hashCode() - Method in class org.mutabilitydetector.MutableReasonDetail
 
hasIsImmutableStatusOf(IsImmutable) - Static method in class org.mutabilitydetector.unittesting.matchers.IsImmutableMatcher
 
howToUseHardcodedResults() - Method in interface org.mutabilitydetector.Configuration
Decide how hardcoded results should be used.

I

IMMUTABLE_CHECKER_RESULT - Static variable in class org.mutabilitydetector.checkers.CheckerResult
 
ImmutableCollectionChecker - Class in org.mutabilitydetector.checkers
 
ImmutableCollectionChecker(FieldInsnNode, Type, ImmutableMultimap<String, CopyMethod>) - Constructor for class org.mutabilitydetector.checkers.ImmutableCollectionChecker
 
ImmutableCollectionChecker(FieldInsnNode, Type, ImmutableMultimap<String, CopyMethod>, String) - Constructor for class org.mutabilitydetector.checkers.ImmutableCollectionChecker
 
ImmutableCollectionChecker.Configuration - Enum in org.mutabilitydetector.checkers
 
ImmutableCollectionChecker.UnmodifiableWrapResult - Class in org.mutabilitydetector.checkers
 
ImmutableCollectionChecker.UnmodifiableWrapResult.UnmodifiableWrapStatus - Enum in org.mutabilitydetector.checkers
 
immutableContainerClasses() - Method in interface org.mutabilitydetector.Configuration
 
includes(int) - Method in class org.mutabilitydetector.checkers.util.StackPushingOpcodes
 
indexOfOwningObject() - Method in class org.mutabilitydetector.checkers.VarStack.VarStackSnapshot
 
InformationRetrievalRunner - Class in org.mutabilitydetector.checkers.info
 
InformationRetrievalRunner(AnalysisSession, CheckerRunner) - Constructor for class org.mutabilitydetector.checkers.info.InformationRetrievalRunner
 
InherentTypeMutabilityChecker - Class in org.mutabilitydetector.checkers
This checker visits types and fields.
InherentTypeMutabilityChecker() - Constructor for class org.mutabilitydetector.checkers.InherentTypeMutabilityChecker
 
inProgress - Variable in class org.mutabilitydetector.checkers.info.AnalysisInProgress
 
interpreter() - Method in interface org.mutabilitydetector.asmoverride.AsmVerifierFactory
 
interpreter() - Method in class org.mutabilitydetector.asmoverride.ClassLoadingVerifierFactory
 
interpreter() - Method in class org.mutabilitydetector.asmoverride.NonClassLoadingVerifierFactory
 
invokesWhitelistedWrapperMethod() - Method in class org.mutabilitydetector.checkers.ImmutableCollectionChecker.UnmodifiableWrapResult
 
invokesWhitelistedWrapperMethod - Variable in enum org.mutabilitydetector.checkers.ImmutableCollectionChecker.UnmodifiableWrapResult.UnmodifiableWrapStatus
 
isAbstract() - Method in class org.mutabilitydetector.checkers.AccessModifierQuery
 
isAbstract() - Method in class org.mutabilitydetector.checkers.util.TypeStructureInformationAnalyser
 
isAlsoImmutable() - Method in class org.mutabilitydetector.unittesting.matchers.reasons.ProvidedOtherClass
Assumes that the selected type is immutable, preventing warnings related to transitive mutability.
isArray - Variable in class org.mutabilitydetector.checkers.CollectionField.GenericType
 
isBoolean() - Method in interface org.mutabilitydetector.checkers.settermethod.UnknownTypeValue
 
isByte() - Method in interface org.mutabilitydetector.checkers.settermethod.UnknownTypeValue
 
isChar() - Method in interface org.mutabilitydetector.checkers.settermethod.UnknownTypeValue
 
isDouble() - Method in interface org.mutabilitydetector.checkers.settermethod.UnknownTypeValue
 
isEmpty() - Method in class org.mutabilitydetector.checkers.hint.WrappingHint
 
isFinal() - Method in class org.mutabilitydetector.checkers.AccessModifierQuery
 
isFloat() - Method in interface org.mutabilitydetector.checkers.settermethod.UnknownTypeValue
 
isGeneric() - Method in class org.mutabilitydetector.checkers.CollectionField
 
isGeneric - Variable in class org.mutabilitydetector.checkers.info.CopyMethod
 
isImmutable - Variable in class org.mutabilitydetector.AnalysisResult
 
isImmutable - Variable in class org.mutabilitydetector.checkers.CheckerResult
 
IsImmutable - Enum in org.mutabilitydetector
The various classifications for instances of classes.
IsImmutableMatcher - Class in org.mutabilitydetector.unittesting.matchers
 
isInt() - Method in interface org.mutabilitydetector.checkers.settermethod.UnknownTypeValue
 
isInterface() - Method in class org.mutabilitydetector.checkers.AccessModifierQuery
 
isInterface() - Method in class org.mutabilitydetector.checkers.util.TypeStructureInformationAnalyser
 
isInvalidStackValue(BasicValue) - Method in class org.mutabilitydetector.checkers.FieldAssignmentVisitor
 
isLong() - Method in interface org.mutabilitydetector.checkers.settermethod.UnknownTypeValue
 
isNotFinal() - Method in class org.mutabilitydetector.checkers.AccessModifierQuery
 
isNotNull() - Method in interface org.mutabilitydetector.checkers.settermethod.UnknownTypeValue
 
isNotPrivate() - Method in class org.mutabilitydetector.checkers.AccessModifierQuery
 
isNotStatic() - Method in class org.mutabilitydetector.checkers.AccessModifierQuery
 
isNotSynthetic() - Method in class org.mutabilitydetector.checkers.AccessModifierQuery
 
isNotZero() - Method in interface org.mutabilitydetector.checkers.settermethod.UnknownTypeValue
 
isNull() - Method in class org.mutabilitydetector.checkers.settermethod.NullAssignmentInsn
 
isNull() - Method in interface org.mutabilitydetector.checkers.settermethod.UnknownTypeValue
 
isObject() - Method in interface org.mutabilitydetector.checkers.settermethod.UnknownTypeValue
 
isOneOf(Reason...) - Method in enum org.mutabilitydetector.MutabilityReason
 
isOneOf(Reason...) - Method in interface org.mutabilitydetector.Reason
 
isOnlyCalledFromConstructor(MethodIdentifier) - Method in class org.mutabilitydetector.checkers.info.PrivateMethodInvocationInformation
 
isPrivate() - Method in class org.mutabilitydetector.checkers.AccessModifierQuery
 
isPrivateMethodCalledOnlyFromConstructor(String) - Method in class org.mutabilitydetector.checkers.util.PrivateMethodInvocationAnalyser
 
isSafelyCopiedUnmodifiableCollectionWithImmutableTypes() - Method in class org.mutabilitydetector.unittesting.matchers.reasons.AssumeCopiedIntoUnmodifiable
 
isShort() - Method in interface org.mutabilitydetector.checkers.settermethod.UnknownTypeValue
 
isStatic() - Method in class org.mutabilitydetector.checkers.AccessModifierQuery
 
isString() - Method in interface org.mutabilitydetector.checkers.settermethod.UnknownTypeValue
 
isSynthetic() - Method in class org.mutabilitydetector.checkers.AccessModifierQuery
 
isTypeAbstract(Dotted) - Method in class org.mutabilitydetector.checkers.info.TypeStructureInformation
 
isTypeInterface(Dotted) - Method in class org.mutabilitydetector.checkers.info.TypeStructureInformation
 
isUnknownPrimitive() - Method in interface org.mutabilitydetector.checkers.settermethod.UnknownTypeValue
 
isUnknownReference() - Method in interface org.mutabilitydetector.checkers.settermethod.UnknownTypeValue
 
isUsingClassList() - Method in interface org.mutabilitydetector.cli.BatchAnalysisOptions
 
isUsingClassList() - Method in class org.mutabilitydetector.cli.CommandLineOptions
 
isVariable - Variable in class org.mutabilitydetector.checkers.CollectionField.GenericType
 
isZero() - Method in interface org.mutabilitydetector.checkers.settermethod.UnknownTypeValue
 

J

JDK_CONFIGURATION - Static variable in class org.mutabilitydetector.Configurations
 
JdkConfiguration - Class in org.mutabilitydetector.config
Non-exhaustive list of immutable classes from the standard JDK.
JdkConfiguration() - Constructor for class org.mutabilitydetector.config.JdkConfiguration
 
jumps() - Static method in enum org.mutabilitydetector.checkers.settermethod.Opcode
 

L

loadClass(String) - Method in interface org.mutabilitydetector.classloading.AnalysisClassLoader
 
loadClass(String) - Method in class org.mutabilitydetector.classloading.CachingAnalysisClassLoader
 
loadClass(String) - Method in class org.mutabilitydetector.classloading.ClassForNameWrapper
 
loadClass(String) - Method in class org.mutabilitydetector.cli.URLFallbackClassLoader
 
localVariables() - Static method in enum org.mutabilitydetector.checkers.settermethod.Opcode
 

M

main(String[]) - Static method in class org.mutabilitydetector.cli.RunMutabilityDetector
 
match() - Method in interface org.mutabilitydetector.cli.BatchAnalysisOptions
 
match() - Method in class org.mutabilitydetector.cli.CommandLineOptions
 
matches(Object) - Method in class org.mutabilitydetector.unittesting.matchers.reasons.WithAllowedReasonsMatcher
 
matchesSafely(AnalysisResult, Description) - Method in class org.mutabilitydetector.unittesting.matchers.IsImmutableMatcher
 
matchesSafely(MutableReasonDetail) - Method in class org.mutabilitydetector.unittesting.matchers.reasons.AllowingForSubclassing
 
matchesSafely(MutableReasonDetail) - Method in class org.mutabilitydetector.unittesting.matchers.reasons.AllowingNonFinalFields
 
matchesSafely(MutableReasonDetail) - Method in class org.mutabilitydetector.unittesting.matchers.reasons.NoReasonsAllowed
 
merge(Configuration) - Method in class org.mutabilitydetector.ConfigurationBuilder
Merges configuration from another configuration with this one.
mergeHardcodedResultsFrom(Configuration) - Method in class org.mutabilitydetector.ConfigurationBuilder
Merges the hardcoded results of this Configuration with the given Configuration.
mergeImmutableContainerTypesFrom(Configuration) - Method in class org.mutabilitydetector.ConfigurationBuilder
Merges the immutable container types of this Configuration with the given Configuration.
mergeValidCopyMethodsFrom(Configuration) - Method in class org.mutabilitydetector.ConfigurationBuilder
Merge valid copy methods from another configuration.
message() - Method in class org.mutabilitydetector.MutableReasonDetail
 
method(int) - Static method in class org.mutabilitydetector.checkers.AccessModifierQuery
 
methodDescriptor() - Method in class org.mutabilitydetector.checkers.info.MethodIdentifier
 
MethodIdentifier - Class in org.mutabilitydetector.checkers.info
 
MethodIdentifier(Dotted, String) - Constructor for class org.mutabilitydetector.checkers.info.MethodIdentifier
 
MethodIs - Class in org.mutabilitydetector.checkers
 
methods() - Static method in enum org.mutabilitydetector.checkers.settermethod.Opcode
 
MutabilityAnalysisException - Exception in org.mutabilitydetector.checkers
 
MutabilityAnalysisException() - Constructor for exception org.mutabilitydetector.checkers.MutabilityAnalysisException
 
MutabilityAnalysisException(String, Throwable) - Constructor for exception org.mutabilitydetector.checkers.MutabilityAnalysisException
 
MutabilityAnalysisException(String) - Constructor for exception org.mutabilitydetector.checkers.MutabilityAnalysisException
 
MutabilityAnalysisException(Throwable) - Constructor for exception org.mutabilitydetector.checkers.MutabilityAnalysisException
 
MutabilityAssert - Class in org.mutabilitydetector.unittesting
Mutability Detector
MutabilityAsserter - Class in org.mutabilitydetector.unittesting
Performs Mutability Detector's analysis and produces unit-test-friendly AssertionError if the result is not as expected.
MutabilityAssertionError - Error in org.mutabilitydetector.unittesting
 
MutabilityAssertionError(String) - Constructor for error org.mutabilitydetector.unittesting.MutabilityAssertionError
 
MutabilityCheckerFactory - Class in org.mutabilitydetector.checkers
 
MutabilityCheckerFactory(MutabilityCheckerFactory.ReassignedFieldAnalysisChoice, Set<Dotted>) - Constructor for class org.mutabilitydetector.checkers.MutabilityCheckerFactory
 
MutabilityCheckerFactory.ReassignedFieldAnalysisChoice - Enum in org.mutabilitydetector.checkers
 
MutabilityMatchers - Class in org.mutabilitydetector.unittesting
 
MutabilityReason - Enum in org.mutabilitydetector
The various reasons that instances of a class can be considered mutable.
MutableReasonDetail - Class in org.mutabilitydetector
 
MutableTypeInformation - Class in org.mutabilitydetector.checkers.info
 
MutableTypeInformation(AnalysisSession, Configuration, CyclicReferences) - Constructor for class org.mutabilitydetector.checkers.info.MutableTypeInformation
 
MutableTypeInformation.MutabilityLookup - Class in org.mutabilitydetector.checkers.info
 
MutableTypeToFieldChecker - Class in org.mutabilitydetector.checkers
 
MutableTypeToFieldChecker(TypeStructureInformation, MutableTypeInformation, AsmVerifierFactory, Set<Dotted>, AnalysisInProgress) - Constructor for class org.mutabilitydetector.checkers.MutableTypeToFieldChecker
 

N

name - Variable in class org.mutabilitydetector.checkers.info.CopyMethod
 
named(Set<String>) - Static method in class org.mutabilitydetector.unittesting.matchers.reasons.FieldAssumptions
Advice: use the factory method AllowedReason.assumingFields(String, String...) for greater readability.
NamesFromClassResources - Class in org.mutabilitydetector.cli
 
NamesFromClassResources(String) - Constructor for class org.mutabilitydetector.cli.NamesFromClassResources
 
newAnalyser(Dotted) - Static method in class org.mutabilitydetector.checkers.util.TypeStructureInformationAnalyser
 
newAnalysisDatabase(InformationRetrievalRunner) - Static method in class org.mutabilitydetector.checkers.info.AnalysisDatabase
 
newEmptyMutableInstance() - Static method in class org.mutabilitydetector.checkers.info.CyclicReferences
 
newInstance() - Static method in class org.mutabilitydetector.checkers.settermethod.SetterMethodChecker
 
newInstance(PrivateMethodInvocationInformation) - Static method in class org.mutabilitydetector.checkers.settermethod.SetterMethodChecker
 
newMutableReasonDetail(String, CodeLocation<?>, Reason) - Static method in class org.mutabilitydetector.MutableReasonDetail
 
newSetterMethodChecker(PrivateMethodInvocationInformation, AsmVerifierFactory) - Static method in class org.mutabilitydetector.checkers.OldSetterMethodChecker
 
next() - Method in class org.mutabilitydetector.checkers.VarStack
 
NO_CONFIGURATION - Static variable in class org.mutabilitydetector.Configurations
Configurations with default settings and no hardcoded results.
NO_HINT - Static variable in class org.mutabilitydetector.checkers.hint.WrappingHint
 
noAnalysisUnderway() - Static method in class org.mutabilitydetector.checkers.info.AnalysisInProgress
 
NonClassLoadingVerifierFactory - Class in org.mutabilitydetector.asmoverride
 
NonClassLoadingVerifierFactory(ClassPath) - Constructor for class org.mutabilitydetector.asmoverride.NonClassLoadingVerifierFactory
 
NonFinalFieldChecker - Class in org.mutabilitydetector.checkers
 
NonFinalFieldChecker() - Constructor for class org.mutabilitydetector.checkers.NonFinalFieldChecker
 
nop() - Static method in enum org.mutabilitydetector.checkers.settermethod.Opcode
 
NoReasonsAllowed - Class in org.mutabilitydetector.unittesting.matchers.reasons
 
NoReasonsAllowed() - Constructor for class org.mutabilitydetector.unittesting.matchers.reasons.NoReasonsAllowed
 
noReasonsAllowed() - Static method in class org.mutabilitydetector.unittesting.matchers.reasons.NoReasonsAllowed
 
noReasonsAllowed() - Static method in class org.mutabilitydetector.unittesting.MutabilityMatchers
 
NullAssignmentInsn - Class in org.mutabilitydetector.checkers.settermethod
 
NullMutabilityChecker - Class in org.mutabilitydetector.checkers
 
NullMutabilityChecker() - Constructor for class org.mutabilitydetector.checkers.NullMutabilityChecker
 

O

objects() - Static method in enum org.mutabilitydetector.checkers.settermethod.Opcode
 
OldSetterMethodChecker - Class in org.mutabilitydetector.checkers
This class checks, for each field, that there is no method available which can change the reference of the field.
onClass - Variable in class org.mutabilitydetector.AnalysisError
 
Opcode - Enum in org.mutabilitydetector.checkers.settermethod
 
Opcode.Category - Enum in org.mutabilitydetector.checkers.settermethod
 
OpcodeInformation - Interface in org.mutabilitydetector.checkers.settermethod
 
OptionParserHelper - Class in org.mutabilitydetector.cli
Interacts with the Apache CLI to parse the options from the command line arguments.
OptionParserHelper(Options, String[]) - Constructor for class org.mutabilitydetector.cli.OptionParserHelper
 
org.mutabilitydetector - package org.mutabilitydetector
 
org.mutabilitydetector.asmoverride - package org.mutabilitydetector.asmoverride
 
org.mutabilitydetector.checkers - package org.mutabilitydetector.checkers
 
org.mutabilitydetector.checkers.hint - package org.mutabilitydetector.checkers.hint
 
org.mutabilitydetector.checkers.hint.exceptions - package org.mutabilitydetector.checkers.hint.exceptions
 
org.mutabilitydetector.checkers.info - package org.mutabilitydetector.checkers.info
 
org.mutabilitydetector.checkers.settermethod - package org.mutabilitydetector.checkers.settermethod
 
org.mutabilitydetector.checkers.util - package org.mutabilitydetector.checkers.util
 
org.mutabilitydetector.classloading - package org.mutabilitydetector.classloading
 
org.mutabilitydetector.classpath - package org.mutabilitydetector.classpath
 
org.mutabilitydetector.cli - package org.mutabilitydetector.cli
 
org.mutabilitydetector.config - package org.mutabilitydetector.config
 
org.mutabilitydetector.locations - package org.mutabilitydetector.locations
 
org.mutabilitydetector.misc - package org.mutabilitydetector.misc
 
org.mutabilitydetector.unittesting - package org.mutabilitydetector.unittesting
 
org.mutabilitydetector.unittesting.internal - package org.mutabilitydetector.unittesting.internal
 
org.mutabilitydetector.unittesting.matchers - package org.mutabilitydetector.unittesting.matchers
 
org.mutabilitydetector.unittesting.matchers.reasons - package org.mutabilitydetector.unittesting.matchers.reasons
 
OUT_OF_THE_BOX_CONFIGURATION - Static variable in class org.mutabilitydetector.Configurations
Configuration with default settings and the standard hardcoded results.
owner - Variable in class org.mutabilitydetector.checkers.FieldAssignmentVisitor
 
owner - Variable in class org.mutabilitydetector.checkers.info.CopyMethod
 
ownerClass - Variable in class org.mutabilitydetector.asmoverride.AsmClassVisitor
 
ownerClass() - Method in class org.mutabilitydetector.asmoverride.AsmClassVisitor
 
ownerClass() - Method in class org.mutabilitydetector.checkers.AsmMutabilityChecker
 

P

parseOptions(ParsingAction) - Method in class org.mutabilitydetector.cli.OptionParserHelper
 
PlainTextClassListToReportReader - Class in org.mutabilitydetector.cli
 
PlainTextClassListToReportReader(BufferedReader) - Constructor for class org.mutabilitydetector.cli.PlainTextClassListToReportReader
 
prettyPrint() - Method in class org.mutabilitydetector.locations.CodeLocation.ClassLocation
 
prettyPrint() - Method in class org.mutabilitydetector.locations.CodeLocation.FieldLocation
 
prettyPrint() - Method in class org.mutabilitydetector.locations.CodeLocation
 
prettyPrint() - Method in class org.mutabilitydetector.locations.CodeLocation.UnknownCodeLocation
 
PRIVATE_METHOD_INVOCATION - Static variable in class org.mutabilitydetector.checkers.info.AnalysisDatabase
 
PrivateMethodInvocationAnalyser - Class in org.mutabilitydetector.checkers.util
 
PrivateMethodInvocationAnalyser() - Constructor for class org.mutabilitydetector.checkers.util.PrivateMethodInvocationAnalyser
 
PrivateMethodInvocationInformation - Class in org.mutabilitydetector.checkers.info
 
PrivateMethodInvocationInformation(InformationRetrievalRunner) - Constructor for class org.mutabilitydetector.checkers.info.PrivateMethodInvocationInformation
 
processTransitiveAnalysis(Dotted, AnalysisInProgress) - Method in interface org.mutabilitydetector.AnalysisSession
 
processTransitiveAnalysis(Dotted, AnalysisInProgress) - Method in class org.mutabilitydetector.DefaultCachingAnalysisSession
 
provided(String) - Static method in class org.mutabilitydetector.unittesting.AllowedReason
Please see the JavaDoc listed with MutabilityAssert for an introduction on using this method.
provided(Class<?>) - Static method in class org.mutabilitydetector.unittesting.AllowedReason
Please see the JavaDoc listed with MutabilityAssert for an introduction on using this method.
provided(Class<?>...) - Static method in class org.mutabilitydetector.unittesting.AllowedReason
Please see the JavaDoc listed with MutabilityAssert for an introduction on using this method.
provided(Dotted) - Static method in class org.mutabilitydetector.unittesting.matchers.reasons.ProvidedOtherClass
 
provided(Dotted...) - Static method in class org.mutabilitydetector.unittesting.matchers.reasons.ProvidedOtherClass
 
provided(Iterable<Dotted>) - Static method in class org.mutabilitydetector.unittesting.matchers.reasons.ProvidedOtherClass
 
ProvidedOtherClass - Class in org.mutabilitydetector.unittesting.matchers.reasons
 
PublishedNonFinalFieldChecker - Class in org.mutabilitydetector.checkers
 
PublishedNonFinalFieldChecker() - Constructor for class org.mutabilitydetector.checkers.PublishedNonFinalFieldChecker
 

R

reason() - Method in class org.mutabilitydetector.MutableReasonDetail
 
Reason - Interface in org.mutabilitydetector
Provides an abstraction for the reason a class can be mutable.
reasons - Variable in class org.mutabilitydetector.AnalysisResult
 
reasons - Variable in class org.mutabilitydetector.checkers.AsmMutabilityChecker
 
reasons - Variable in class org.mutabilitydetector.checkers.CheckerResult
 
ReasonsFormatter - Class in org.mutabilitydetector.unittesting.internal
 
reassignedFieldAlgorithm() - Method in interface org.mutabilitydetector.Configuration
Deprecated.
references - Variable in class org.mutabilitydetector.checkers.info.CyclicReferences.CyclicReference
 
reportErrors() - Method in interface org.mutabilitydetector.cli.BatchAnalysisOptions
 
reportErrors() - Method in class org.mutabilitydetector.cli.CommandLineOptions
 
reportMode() - Method in interface org.mutabilitydetector.cli.BatchAnalysisOptions
 
reportMode() - Method in class org.mutabilitydetector.cli.CommandLineOptions
 
requestInformation(AnalysisDatabase.InfoKey<I>) - Method in class org.mutabilitydetector.checkers.info.AnalysisDatabase
 
result - Variable in class org.mutabilitydetector.checkers.info.MutableTypeInformation.MutabilityLookup
 
ResultCalculator - Class in org.mutabilitydetector.checkers
 
ResultCalculator() - Constructor for class org.mutabilitydetector.checkers.ResultCalculator
 
resultFor(Dotted) - Method in interface org.mutabilitydetector.AnalysisSession
 
resultFor(Dotted) - Method in class org.mutabilitydetector.DefaultCachingAnalysisSession
 
resultOf(Dotted, Dotted, AnalysisInProgress) - Method in class org.mutabilitydetector.checkers.info.MutableTypeInformation
 
resultsByClass() - Method in interface org.mutabilitydetector.AnalysisSession
 
resultsByClass() - Method in class org.mutabilitydetector.DefaultCachingAnalysisSession
 
returns() - Static method in enum org.mutabilitydetector.checkers.settermethod.Opcode
 
root - Variable in class org.mutabilitydetector.checkers.CollectionField
 
run(AsmMutabilityChecker, Dotted, Iterable<AnalysisResult>) - Method in class org.mutabilitydetector.checkers.CheckerRunner
 
run(AsmClassVisitor, ClassIdentifier) - Method in class org.mutabilitydetector.checkers.info.InformationRetrievalRunner
 
run() - Method in class org.mutabilitydetector.cli.RunMutabilityDetector
Runs mutability detection, printing the results to System.out.
runAnalysis(Iterable<Dotted>) - Method in class org.mutabilitydetector.cli.BatchAnalysisSession
 
runCheckers(ImmutableList<AnalysisResult>, AnalysisDatabase, MutableTypeInformation, AnalysisInProgress) - Method in class org.mutabilitydetector.checkers.AllChecksRunner
 
RunMutabilityDetector - Class in org.mutabilitydetector.cli
Runs an analysis configured by the given classpath and options.
RunMutabilityDetector(ClassPath, BatchAnalysisOptions, NamesFromClassResources) - Constructor for class org.mutabilitydetector.cli.RunMutabilityDetector
 
runVisitor(AsmClassVisitor, Dotted, Iterable<AnalysisResult>) - Method in class org.mutabilitydetector.checkers.CheckerRunner
 

S

safelyCopiesBeforeWrapping() - Method in class org.mutabilitydetector.checkers.ImmutableCollectionChecker.UnmodifiableWrapResult
 
safelyCopiesBeforeWrapping - Variable in enum org.mutabilitydetector.checkers.ImmutableCollectionChecker.UnmodifiableWrapResult.UnmodifiableWrapStatus
 
SessionResultsFormatter - Class in org.mutabilitydetector.cli
 
SessionResultsFormatter(BatchAnalysisOptions, ClassListReaderFactory, TimingUtil) - Constructor for class org.mutabilitydetector.cli.SessionResultsFormatter
 
setClassloadingPolicy(AsmVerifierFactory.ClassloadingOption) - Method in class org.mutabilitydetector.ConfigurationBuilder
Configures whether Mutability Detector loads classes or not during analysis.
setCopyMethodName(String) - Method in class org.mutabilitydetector.checkers.hint.WrappingHint.Builder
 
setCopyMethodOwnerName(String) - Method in class org.mutabilitydetector.checkers.hint.WrappingHint.Builder
 
setCopyTypeParameterName(String) - Method in class org.mutabilitydetector.checkers.hint.WrappingHint.Builder
 
setExceptionPolicy(CheckerRunner.ExceptionPolicy) - Method in class org.mutabilitydetector.ConfigurationBuilder
Configures how Mutability Detector's analysis should respond to exceptions during analysis.
setHowToUseHardcodedResults(HardcodedResultsUsage) - Method in class org.mutabilitydetector.ConfigurationBuilder
Specifies how hardcoded results should be used.
setResult(String, CodeLocation<?>, Reason) - Method in class org.mutabilitydetector.checkers.AsmMutabilityChecker
 
SetterMethodChecker - Class in org.mutabilitydetector.checkers.settermethod
 
setWrappingMethodName(String) - Method in class org.mutabilitydetector.checkers.hint.WrappingHint.Builder
 
setWrappingMethodOwnerName(String) - Method in class org.mutabilitydetector.checkers.hint.WrappingHint.Builder
 
showSummary() - Method in interface org.mutabilitydetector.cli.BatchAnalysisOptions
 
showSummary() - Method in class org.mutabilitydetector.cli.CommandLineOptions
 
Slashed - Class in org.mutabilitydetector.locations
 
slashed(String) - Static method in class org.mutabilitydetector.locations.Slashed
 
stack() - Static method in enum org.mutabilitydetector.checkers.settermethod.Opcode
These instructions are used to manipulate values on the stack: POP pops the value on top of the stack, DUP pushes a copy of the top stack value, SWAP pops two values and pushes them in the reverse order, etc.
StackPushingOpcodes - Class in org.mutabilitydetector.checkers.util
 
StackPushingOpcodes() - Constructor for class org.mutabilitydetector.checkers.util.StackPushingOpcodes
 
stackValue() - Method in enum org.mutabilitydetector.checkers.settermethod.Opcode
 
stackValue() - Method in interface org.mutabilitydetector.checkers.settermethod.OpcodeInformation
 
status - Variable in class org.mutabilitydetector.checkers.ImmutableCollectionChecker.UnmodifiableWrapResult
 
super_(Dotted) - Static method in class org.mutabilitydetector.checkers.CollectionField.GenericType
 

T

takeSnapshotOfVarsAtPutfield() - Method in class org.mutabilitydetector.checkers.VarStack
 
thisObjectWasAddedToStack() - Method in class org.mutabilitydetector.checkers.VarStack.VarStackSnapshot
 
TimingUtil - Class in org.mutabilitydetector.misc
 
TimingUtil() - Constructor for class org.mutabilitydetector.misc.TimingUtil
 
toDotted() - Method in class org.mutabilitydetector.locations.Slashed
 
toInternal(Dotted) - Method in class org.mutabilitydetector.locations.ClassNameConverter
 
toInternal(Slashed) - Method in class org.mutabilitydetector.locations.ClassNameConverter
 
toString() - Method in class org.mutabilitydetector.AnalysisResult
 
toString() - Method in class org.mutabilitydetector.checkers.CollectionField.GenericType
 
toString() - Method in class org.mutabilitydetector.checkers.info.AnalysisInProgress
 
toString() - Method in class org.mutabilitydetector.checkers.info.CopyMethod
 
toString() - Method in class org.mutabilitydetector.checkers.info.CyclicReferences.CyclicReference
 
toString() - Method in class org.mutabilitydetector.checkers.info.MethodIdentifier
 
toString() - Method in class org.mutabilitydetector.checkers.settermethod.NullAssignmentInsn
 
toString() - Method in class org.mutabilitydetector.checkers.settermethod.SetterMethodChecker
 
toString() - Method in class org.mutabilitydetector.locations.ClassName
 
toString() - Method in class org.mutabilitydetector.misc.TracingSignatureVisitor
 
toString() - Method in class org.mutabilitydetector.MutableReasonDetail
 
TracingSignatureVisitor - Class in org.mutabilitydetector.misc
Used exclusively for debug and testing ASM visitors functionality.
TracingSignatureVisitor(PrintWriter) - Constructor for class org.mutabilitydetector.misc.TracingSignatureVisitor
 
transformGenericTree(Function<CollectionField.GenericType, CollectionField.GenericType>) - Method in class org.mutabilitydetector.checkers.CollectionField
Apply function to all generics tree nodes and return resulting tree
type(int) - Static method in class org.mutabilitydetector.checkers.AccessModifierQuery
 
type - Variable in class org.mutabilitydetector.checkers.CollectionField.GenericType
 
TYPE_STRUCTURE - Static variable in class org.mutabilitydetector.checkers.info.AnalysisDatabase
 
TypeInformationRetriever - Class in org.mutabilitydetector.checkers.info
 
TypeInformationRetriever() - Constructor for class org.mutabilitydetector.checkers.info.TypeInformationRetriever
 
typeName() - Method in class org.mutabilitydetector.locations.CodeLocation.ClassLocation
 
typeName() - Method in class org.mutabilitydetector.locations.CodeLocation.FieldLocation
 
typeName() - Method in class org.mutabilitydetector.locations.CodeLocation
 
typeName() - Method in class org.mutabilitydetector.locations.CodeLocation.UnknownCodeLocation
 
TypeStructureInformation - Class in org.mutabilitydetector.checkers.info
 
TypeStructureInformation(InformationRetrievalRunner) - Constructor for class org.mutabilitydetector.checkers.info.TypeStructureInformation
 
TypeStructureInformationAnalyser - Class in org.mutabilitydetector.checkers.util
 

U

unhandledException(Throwable, Iterable<AnalysisResult>, ClassVisitor, Dotted) - Method in class org.mutabilitydetector.checkers.UnhandledExceptionBuilder
 
UnhandledExceptionBuilder - Class in org.mutabilitydetector.checkers
 
UnhandledExceptionBuilder() - Constructor for class org.mutabilitydetector.checkers.UnhandledExceptionBuilder
 
UNKNOWN - Static variable in class org.mutabilitydetector.locations.CodeLocation.UnknownCodeLocation
 
UnknownTypeValue - Interface in org.mutabilitydetector.checkers.settermethod
 
UnknownTypeValue.Default - Enum in org.mutabilitydetector.checkers.settermethod
 
UNMODIFIABLE_METHOD_OWNER - Variable in enum org.mutabilitydetector.checkers.ImmutableCollectionChecker.Configuration
 
UnmodifiableWrapResult(ImmutableCollectionChecker.UnmodifiableWrapResult.UnmodifiableWrapStatus, WrappingHint) - Constructor for class org.mutabilitydetector.checkers.ImmutableCollectionChecker.UnmodifiableWrapResult
 
URLFallbackClassLoader - Class in org.mutabilitydetector.cli
 
URLFallbackClassLoader(URLClassLoader, ClassForNameWrapper) - Constructor for class org.mutabilitydetector.cli.URLFallbackClassLoader
 
useAdvancedReassignedFieldAlgorithm() - Method in class org.mutabilitydetector.ConfigurationBuilder
 

V

validModes() - Static method in enum org.mutabilitydetector.cli.CommandLineOptions.ReportMode
 
valueOf(String) - Static method in enum org.mutabilitydetector.asmoverride.AsmVerifierFactory.ClassloadingOption
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.mutabilitydetector.checkers.CheckerRunner.ExceptionPolicy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.mutabilitydetector.checkers.ImmutableCollectionChecker.Configuration
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.mutabilitydetector.checkers.ImmutableCollectionChecker.UnmodifiableWrapResult.UnmodifiableWrapStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.mutabilitydetector.checkers.MutabilityCheckerFactory.ReassignedFieldAnalysisChoice
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.mutabilitydetector.checkers.settermethod.Opcode.Category
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.mutabilitydetector.checkers.settermethod.Opcode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.mutabilitydetector.checkers.settermethod.UnknownTypeValue.Default
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.mutabilitydetector.cli.CommandLineOptions.ReportMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.mutabilitydetector.config.HardcodedResultsUsage
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.mutabilitydetector.IsImmutable
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.mutabilitydetector.MutabilityReason
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.mutabilitydetector.asmoverride.AsmVerifierFactory.ClassloadingOption
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.mutabilitydetector.checkers.CheckerRunner.ExceptionPolicy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.mutabilitydetector.checkers.ImmutableCollectionChecker.Configuration
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.mutabilitydetector.checkers.ImmutableCollectionChecker.UnmodifiableWrapResult.UnmodifiableWrapStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.mutabilitydetector.checkers.MutabilityCheckerFactory.ReassignedFieldAnalysisChoice
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.mutabilitydetector.checkers.settermethod.Opcode.Category
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.mutabilitydetector.checkers.settermethod.Opcode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.mutabilitydetector.checkers.settermethod.UnknownTypeValue.Default
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.mutabilitydetector.cli.CommandLineOptions.ReportMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.mutabilitydetector.config.HardcodedResultsUsage
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.mutabilitydetector.IsImmutable
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.mutabilitydetector.MutabilityReason
Returns an array containing the constants of this enum type, in the order they are declared.
VarStack - Class in org.mutabilitydetector.checkers
 
VarStack() - Constructor for class org.mutabilitydetector.checkers.VarStack
 
VarStack.VarStackSnapshot - Class in org.mutabilitydetector.checkers
 
VarStackSnapshot(List<Integer>) - Constructor for class org.mutabilitydetector.checkers.VarStack.VarStackSnapshot
 
verbose() - Method in interface org.mutabilitydetector.cli.BatchAnalysisOptions
 
verbose() - Method in class org.mutabilitydetector.cli.CommandLineOptions
 
verifyAssignmentGuards() - Method in class org.mutabilitydetector.checkers.settermethod.SetterMethodChecker
 
verifyCandidates() - Method in class org.mutabilitydetector.checkers.settermethod.SetterMethodChecker
 
verifyEffectiveAssignmentInstructions() - Method in class org.mutabilitydetector.checkers.settermethod.SetterMethodChecker
 
verifyInitialisers() - Method in class org.mutabilitydetector.checkers.settermethod.SetterMethodChecker
 
verifyPossibleInitialValues() - Method in class org.mutabilitydetector.checkers.settermethod.SetterMethodChecker
 
visit(int, int, String, String, String, String[]) - Method in class org.mutabilitydetector.asmoverride.AsmClassVisitor
 
visit(int, int, String, String, String, String[]) - Method in class org.mutabilitydetector.checkers.AsmMutabilityChecker
 
visit(int, int, String, String, String, String[]) - Method in class org.mutabilitydetector.checkers.CanSubclassChecker
 
visit(int, int, String, String, String, String[]) - Method in class org.mutabilitydetector.checkers.InherentTypeMutabilityChecker
 
visit(int, int, String, String, String, String[]) - Method in class org.mutabilitydetector.checkers.MutableTypeToFieldChecker
 
visit(int, int, String, String, String, String[]) - Method in class org.mutabilitydetector.checkers.OldSetterMethodChecker
 
visit(int, int, String, String, String, String[]) - Method in class org.mutabilitydetector.checkers.util.TypeStructureInformationAnalyser
 
visitAnnotation(String, boolean) - Method in class org.mutabilitydetector.checkers.AsmMutabilityChecker
 
visitArrayType() - Method in class org.mutabilitydetector.misc.TracingSignatureVisitor
 
visitAttribute(Attribute) - Method in class org.mutabilitydetector.checkers.AsmMutabilityChecker
 
visitBaseType(char) - Method in class org.mutabilitydetector.misc.TracingSignatureVisitor
 
visitClassBound() - Method in class org.mutabilitydetector.misc.TracingSignatureVisitor
 
visitClassType(String) - Method in class org.mutabilitydetector.misc.TracingSignatureVisitor
 
visitEnd() - Method in class org.mutabilitydetector.checkers.AsmMutabilityChecker
 
visitEnd() - Method in class org.mutabilitydetector.checkers.CanSubclassChecker
 
visitEnd() - Method in class org.mutabilitydetector.checkers.FieldAssignmentVisitor
 
visitEnd() - Method in class org.mutabilitydetector.misc.TracingSignatureVisitor
 
visitExceptionType() - Method in class org.mutabilitydetector.misc.TracingSignatureVisitor
 
visitField(int, String, String, String, Object) - Method in class org.mutabilitydetector.checkers.ArrayFieldMutabilityChecker
 
visitField(int, String, String, String, Object) - Method in class org.mutabilitydetector.checkers.AsmMutabilityChecker
 
visitField(int, String, String, String, Object) - Method in class org.mutabilitydetector.checkers.CollectionWithMutableElementTypeToFieldChecker
 
visitField(int, String, String, String, Object) - Method in class org.mutabilitydetector.checkers.MutableTypeToFieldChecker
 
visitField(int, String, String, String, Object) - Method in class org.mutabilitydetector.checkers.NonFinalFieldChecker
 
visitField(int, String, String, String, Object) - Method in class org.mutabilitydetector.checkers.PublishedNonFinalFieldChecker
 
visitFieldAssignmentFrame(Frame<BasicValue>, FieldInsnNode, BasicValue) - Method in class org.mutabilitydetector.checkers.FieldAssignmentVisitor
At the end of a method, the frames are analysed to be able to inspect the state of the stack when the field is assigned.
visitFieldInsn(int, String, String, String) - Method in class org.mutabilitydetector.checkers.FieldAssignmentVisitor
 
visitFormalTypeParameter(String) - Method in class org.mutabilitydetector.misc.TracingSignatureVisitor
 
visitInnerClass(String, String, String, int) - Method in class org.mutabilitydetector.checkers.AsmMutabilityChecker
 
visitInnerClassType(String) - Method in class org.mutabilitydetector.misc.TracingSignatureVisitor
 
visitInterface() - Method in class org.mutabilitydetector.misc.TracingSignatureVisitor
 
visitInterfaceBound() - Method in class org.mutabilitydetector.misc.TracingSignatureVisitor
 
visitMethod(int, String, String, String, String[]) - Method in class org.mutabilitydetector.checkers.AsmMutabilityChecker
 
visitMethod(int, String, String, String, String[]) - Method in class org.mutabilitydetector.checkers.CanSubclassChecker
 
visitMethod(int, String, String, String, String[]) - Method in class org.mutabilitydetector.checkers.CollectionWithMutableElementTypeToFieldChecker
 
visitMethod(int, String, String, String, String[]) - Method in class org.mutabilitydetector.checkers.EscapedThisReferenceChecker
 
visitMethod(int, String, String, String, String[]) - Method in class org.mutabilitydetector.checkers.MutableTypeToFieldChecker
 
visitMethod(int, String, String, String, String[]) - Method in class org.mutabilitydetector.checkers.OldSetterMethodChecker
 
visitMethod(int, String, String, String, String[]) - Method in class org.mutabilitydetector.checkers.util.PrivateMethodInvocationAnalyser
 
visitOuterClass(String, String, String) - Method in class org.mutabilitydetector.checkers.AsmMutabilityChecker
 
visitParameterType() - Method in class org.mutabilitydetector.misc.TracingSignatureVisitor
 
visitReturnType() - Method in class org.mutabilitydetector.misc.TracingSignatureVisitor
 
visitSource(String, String) - Method in class org.mutabilitydetector.checkers.AsmMutabilityChecker
 
visitSuperclass() - Method in class org.mutabilitydetector.misc.TracingSignatureVisitor
 
visitTypeArgument() - Method in class org.mutabilitydetector.misc.TracingSignatureVisitor
 
visitTypeArgument(char) - Method in class org.mutabilitydetector.misc.TracingSignatureVisitor
 
visitTypeVariable(String) - Method in class org.mutabilitydetector.misc.TracingSignatureVisitor
 
visitVarInsn(int) - Method in class org.mutabilitydetector.checkers.VarStack
 

W

wildcard - Variable in class org.mutabilitydetector.checkers.CollectionField.GenericType
 
wildcard() - Static method in class org.mutabilitydetector.checkers.CollectionField.GenericType
 
withAllowedReasons(Matcher<AnalysisResult>, Iterable<Matcher<MutableReasonDetail>>) - Static method in class org.mutabilitydetector.unittesting.matchers.reasons.WithAllowedReasonsMatcher
 
WithAllowedReasonsMatcher - Class in org.mutabilitydetector.unittesting.matchers.reasons
 
withNoAllowedReasons(Matcher<AnalysisResult>) - Static method in class org.mutabilitydetector.unittesting.matchers.reasons.WithAllowedReasonsMatcher
 
withNoErrors(IsImmutable, Iterable<MutableReasonDetail>) - Static method in class org.mutabilitydetector.checkers.CheckerResult
 
withoutWildcard() - Method in class org.mutabilitydetector.checkers.CollectionField.GenericType
 
WrappingHint - Class in org.mutabilitydetector.checkers.hint
When collection field of class is initialized, it is common to use copy-and-wrap idiom to make the collection immutable.
WrappingHint.Builder - Class in org.mutabilitydetector.checkers.hint
 
WrappingHintGenerationException - Exception in org.mutabilitydetector.checkers.hint.exceptions
 
WrappingHintGenerationException() - Constructor for exception org.mutabilitydetector.checkers.hint.exceptions.WrappingHintGenerationException
 
WrappingHintGenerator - Class in org.mutabilitydetector.checkers.hint
The class is used to generate WrappingHint
WrappingHintGenerator(ImmutableCollectionChecker.Configuration, String, Type, Multimap<String, CopyMethod>) - Constructor for class org.mutabilitydetector.checkers.hint.WrappingHintGenerator
 
A B C D E F G H I J L M N O P R S T U V W 
Skip navigation links

Copyright © 2008–2022 Graham Allan. All rights reserved.