A B C D E F G H I L M N P R S T V W

A

AbstractTypeMatchingStrategy - Class in net.sf.qualitytest.blueprint.strategy.matching
Match classes which are abstract.
AbstractTypeMatchingStrategy() - Constructor for class net.sf.qualitytest.blueprint.strategy.matching.AbstractTypeMatchingStrategy
 
addDefaultArrayStrategy(List<StrategyPair>) - Static method in class net.sf.qualitytest.blueprint.configuration.DefaultBlueprintConfiguration
Add the default array handling to a list.
addDefaultCollections(List<StrategyPair>) - Static method in class net.sf.qualitytest.blueprint.configuration.DefaultBlueprintConfiguration
Add the default implementations for collection interfaces to a list.
addDefaultEnumStrategy(List<StrategyPair>) - Static method in class net.sf.qualitytest.blueprint.configuration.DefaultBlueprintConfiguration
Add the default enum handling to a list.
addMany(T, Class<E>, int) - Static method in class net.sf.qualitytest.blueprint.CollectionBlueprint
A small utility to fill a collection automatically with blueprinted objects.
addMany(T, Class<E>, int, BlueprintConfiguration) - Static method in class net.sf.qualitytest.blueprint.CollectionBlueprint
A small utility to fill a collection automatically with blueprinted objects.
addRandomEnumStrategy(List<StrategyPair>) - Static method in class net.sf.qualitytest.blueprint.configuration.RandomBlueprintConfiguration
Add the default enum handling to a map.
ArrayTypeMatchingStrategy - Class in net.sf.qualitytest.blueprint.strategy.matching
Match all class types that are arrays.
ArrayTypeMatchingStrategy() - Constructor for class net.sf.qualitytest.blueprint.strategy.matching.ArrayTypeMatchingStrategy
 

B

Blueprint - Class in net.sf.qualitytest.blueprint
Blueprinting is a technique that makes writing test easier.
BlueprintConfiguration - Interface in net.sf.qualitytest.blueprint
Defines a blueprint configuration
BlueprintCreationStrategy - Class in net.sf.qualitytest.blueprint.strategy.creation
This CreationStrategy constructs the requested object using Blueprint itself.
BlueprintCreationStrategy() - Constructor for class net.sf.qualitytest.blueprint.strategy.creation.BlueprintCreationStrategy
 
BlueprintCycleException - Exception in net.sf.qualitytest.exception
Thrown to indicate a cycle in the graph while blueprinting.
BlueprintCycleException(BlueprintSession, Class<?>) - Constructor for exception net.sf.qualitytest.exception.BlueprintCycleException
Constructs a BlueprintCycleException with the default message DEFAULT_MESSAGE.
BlueprintCycleException(BlueprintSession, Class<?>, Throwable) - Constructor for exception net.sf.qualitytest.exception.BlueprintCycleException
Constructs a BlueprintCycleException with a message.
BlueprintException - Exception in net.sf.qualitytest.exception
 
BlueprintException() - Constructor for exception net.sf.qualitytest.exception.BlueprintException
Constructs a BlueprintException with the default message BlueprintException.DEFAULT_MESSAGE.
BlueprintException(String) - Constructor for exception net.sf.qualitytest.exception.BlueprintException
Constructs a BlueprintException with a message.
BlueprintException(String, Throwable) - Constructor for exception net.sf.qualitytest.exception.BlueprintException
Constructs a BlueprintException with a message.
BlueprintException(Throwable) - Constructor for exception net.sf.qualitytest.exception.BlueprintException
Constructs a new exception with the default message BlueprintException.DEFAULT_MESSAGE.
BlueprintExceptionRunnable<T> - Class in net.sf.qualitytest.blueprint
 
BlueprintExceptionRunnable(BlueprintSession, String) - Constructor for class net.sf.qualitytest.blueprint.BlueprintExceptionRunnable
 
BlueprintSession - Class in net.sf.qualitytest.blueprint
A BlueprintSession holds information acquired while doing a blueprint of a class.
BlueprintSession() - Constructor for class net.sf.qualitytest.blueprint.BlueprintSession
 
BlueprintStringCreationStrategy - Class in net.sf.qualitytest.blueprint.strategy.creation
Strategy which creates random strings using Blueprint.string().
BlueprintStringCreationStrategy() - Constructor for class net.sf.qualitytest.blueprint.strategy.creation.BlueprintStringCreationStrategy
Create a string creation strategy which creates strings with the default length (standard UUID).
BlueprintStringCreationStrategy(int) - Constructor for class net.sf.qualitytest.blueprint.strategy.creation.BlueprintStringCreationStrategy
 
BUILDER_METHODS - Static variable in class net.sf.qualitytest.blueprint.Match
Match all public methods of classes with a name ending in "Builder".
BuilderMethodMatchingStrategy - Class in net.sf.qualitytest.blueprint.strategy.matching
Matches all methods, which belong to a class implementing the builder pattern.
BuilderMethodMatchingStrategy() - Constructor for class net.sf.qualitytest.blueprint.strategy.matching.BuilderMethodMatchingStrategy
Create a BuilerMethodMatchingStrategy with the default suffix 'Builder' to detect classes implementing the builder pattern.
BuilderMethodMatchingStrategy(String) - Constructor for class net.sf.qualitytest.blueprint.strategy.matching.BuilderMethodMatchingStrategy
Create a BuilerMethodMatchingStrategy with a configured suffix to detect classes implementing the builder pattern.

C

CaseInsensitiveMethodNameMatchingStrategy - Class in net.sf.qualitytest.blueprint.strategy.matching
This value matching strategy matches string names case insensitively on the method name.
CaseInsensitiveMethodNameMatchingStrategy(String) - Constructor for class net.sf.qualitytest.blueprint.strategy.matching.CaseInsensitiveMethodNameMatchingStrategy
Create a new CaseInsensitiveMethodNameMatchingStrategy which matches method names by default such as 'name' or 'setName' case insensitively.
CaseInsensitiveMethodNameMatchingStrategy(String, String) - Constructor for class net.sf.qualitytest.blueprint.strategy.matching.CaseInsensitiveMethodNameMatchingStrategy
Create a new CaseInsensitiveMethodNameMatchingStrategy which matches method names by default such as 'name' or prefix + 'Name' case insensitively.
classIsFinal(Class<?>) - Static method in class net.sf.qualitytest.StaticCheck
Check if a class is final.
CollectionBlueprint - Class in net.sf.qualitytest.blueprint
This class contains utilities for blueprinting collections.
construct(Class<T>) - Static method in class net.sf.qualitytest.blueprint.Blueprint
Construct a Java-Object using a class as a blueprint.
construct(Class<T>, BlueprintConfiguration) - Static method in class net.sf.qualitytest.blueprint.Blueprint
Construct a Java-Object using a class as a blueprint.
construct(Class<T>, BlueprintConfiguration, BlueprintSession) - Static method in class net.sf.qualitytest.blueprint.Blueprint
Construct a Java-Object using a class as a blueprint.
construct(Class<T>) - Method in interface net.sf.qualitytest.blueprint.BlueprintConfiguration
Construct a Java-Object using a class as a blueprint.
CoverageForPrivateConstructor - Class in net.sf.qualitytest
Code coverage often report missing line coverage if your utility classes contain private constructors.
CoverageForPrivateConstructorException - Exception in net.sf.qualitytest.exception
Thrown to indicate that an error occured while giving coverage to a private constructor.
CoverageForPrivateConstructorException() - Constructor for exception net.sf.qualitytest.exception.CoverageForPrivateConstructorException
Constructs an CoverageForPrivateConstructorException with the default message CoverageForPrivateConstructorException.DEFAULT_MESSAGE.
CoverageForPrivateConstructorException(Throwable) - Constructor for exception net.sf.qualitytest.exception.CoverageForPrivateConstructorException
Constructs a new exception with the default message CoverageForPrivateConstructorException.DEFAULT_MESSAGE.
Create - Class in net.sf.qualitytest.blueprint
A utility class to have a more readable API.
createValue(Class<?>, BlueprintConfiguration, BlueprintSession) - Method in interface net.sf.qualitytest.blueprint.CreationStrategy
Create a new value which can be assigned to an attribute.
createValue(Class<?>, BlueprintConfiguration, BlueprintSession) - Method in class net.sf.qualitytest.blueprint.strategy.creation.BlueprintCreationStrategy
 
createValue(Class<?>) - Method in class net.sf.qualitytest.blueprint.strategy.creation.BlueprintStringCreationStrategy
 
createValue(Class<?>, BlueprintConfiguration, BlueprintSession) - Method in class net.sf.qualitytest.blueprint.strategy.creation.DefaultArrayCreationStrategy
 
createValue(Class<?>) - Method in class net.sf.qualitytest.blueprint.strategy.creation.DefaultEnumCreationStrategy
Blueprint an enum value using the default configuration.
createValue(Class<?>, BlueprintConfiguration, BlueprintSession) - Method in class net.sf.qualitytest.blueprint.strategy.creation.IncrementValueCreationStrategy
 
createValue(Class<?>, BlueprintConfiguration, BlueprintSession) - Method in class net.sf.qualitytest.blueprint.strategy.creation.IterateValueCreationStrategy
 
createValue(Class<?>) - Method in class net.sf.qualitytest.blueprint.strategy.creation.NullValueCreationStrategy
 
createValue(Class<?>) - Method in class net.sf.qualitytest.blueprint.strategy.creation.RandomBooleanValueCreationStrategy
 
createValue(Class<?>) - Method in class net.sf.qualitytest.blueprint.strategy.creation.RandomByteValueCreationStrategy
 
createValue(Class<?>) - Method in class net.sf.qualitytest.blueprint.strategy.creation.RandomCharValueCreationStrategy
 
createValue(Class<?>) - Method in class net.sf.qualitytest.blueprint.strategy.creation.RandomDoubleValueCreationStrategy
 
createValue(Class<?>) - Method in class net.sf.qualitytest.blueprint.strategy.creation.RandomEnumCreationStrategy
Blueprint an enum value using the default configuration.
createValue(Class<?>) - Method in class net.sf.qualitytest.blueprint.strategy.creation.RandomFloatValueCreationStrategy
 
createValue(Class<?>) - Method in class net.sf.qualitytest.blueprint.strategy.creation.RandomIntValueCreationStrategy
 
createValue(Class<?>) - Method in class net.sf.qualitytest.blueprint.strategy.creation.RandomLongValueCreationStrategy
 
createValue(Class<?>) - Method in class net.sf.qualitytest.blueprint.strategy.creation.RandomShortValueCreationStrategy
 
createValue(Class<?>) - Method in class net.sf.qualitytest.blueprint.strategy.creation.SingleValueCreationStrategy
 
createValue(Class<?>) - Method in class net.sf.qualitytest.blueprint.strategy.creation.ValueCreationStrategy
Create a new value which can be assigned to an attribute.
createValue(Class<?>, BlueprintConfiguration, BlueprintSession) - Method in class net.sf.qualitytest.blueprint.strategy.creation.ValueCreationStrategy
Create a new value which can be assigned to an attribute.
CreationStrategy<T> - Interface in net.sf.qualitytest.blueprint
Definition of an interface to create values for attribute assignments.
CycleHandlingStrategy<T> - Interface in net.sf.qualitytest.blueprint
Interface for strategies to decide how cycles in the blueprinting graph are supposed to be handled.

D

def() - Static method in class net.sf.qualitytest.blueprint.Blueprint
Return a new configuration for default blueprinting with zero or empty default values.
DEFAULT_LENGTH - Static variable in class net.sf.qualitytest.blueprint.strategy.creation.DefaultArrayCreationStrategy
 
DEFAULT_MESSAGE - Static variable in exception net.sf.qualitytest.exception.CoverageForPrivateConstructorException
Default message to indicate that the a given argument must not be empty.
DEFAULT_MESSAGE - Static variable in exception net.sf.qualitytest.exception.IllegalClassWithPublicDefaultConstructorException
Default message to indicate that the a given argument must not be empty.
DEFAULT_MESSAGE - Static variable in exception net.sf.qualitytest.exception.IllegalMissingAnnotationOnMethodException
Default message to indicate that the a given class must have an annotation.
DEFAULT_MESSAGE - Static variable in exception net.sf.qualitytest.exception.IllegalNonFinalClassException
Default message to indicate that the a given argument must not be empty.
DEFAULT_MESSAGE - Static variable in exception net.sf.qualitytest.exception.IllegalNonFinalStaticException
Default message to indicate that the a given class must not contain non-final statics.
DEFAULT_MESSAGE - Static variable in exception net.sf.qualitytest.exception.NoPublicConstructorException
Default message to indicate that a given class has no public constructor.
DefaultArrayCreationStrategy - Class in net.sf.qualitytest.blueprint.strategy.creation
 
DefaultArrayCreationStrategy(int) - Constructor for class net.sf.qualitytest.blueprint.strategy.creation.DefaultArrayCreationStrategy
 
DefaultBlueprintConfiguration - Class in net.sf.qualitytest.blueprint.configuration
Default BlueprintConfiguration which assigns all primitive types and their corresponding object types which a default value, which is usually 0.
DefaultBlueprintConfiguration() - Constructor for class net.sf.qualitytest.blueprint.configuration.DefaultBlueprintConfiguration
 
DefaultEnumCreationStrategy - Class in net.sf.qualitytest.blueprint.strategy.creation
Creation strategy which creates an enum using the first value in an enum constant.
DefaultEnumCreationStrategy() - Constructor for class net.sf.qualitytest.blueprint.strategy.creation.DefaultEnumCreationStrategy
 

E

ExceptionCycleHandlingStrategy - Class in net.sf.qualitytest.blueprint.strategy.cycle
The default handling strategy for cycles in the blueprinting graph, which throws a BlueprintCycleException.
ExceptionCycleHandlingStrategy() - Constructor for class net.sf.qualitytest.blueprint.strategy.cycle.ExceptionCycleHandlingStrategy
 

F

findCreationStrategyForField(Field) - Method in interface net.sf.qualitytest.blueprint.BlueprintConfiguration
Find a creation strategy that matches on the given field.
findCreationStrategyForMethod(Method) - Method in interface net.sf.qualitytest.blueprint.BlueprintConfiguration
Find a creation strategy that matches on the given method.
findCreationStrategyForType(Class<?>) - Method in interface net.sf.qualitytest.blueprint.BlueprintConfiguration
Find a creation strategy that matches on a given type.

G

getBlueprintClasses() - Method in class net.sf.qualitytest.blueprint.BlueprintSession
Retrieve all classes that have been blueprinted in the current session.
getBlueprintCount() - Method in class net.sf.qualitytest.blueprint.BlueprintSession
Retrieve the number of objects which have been blueprinted in the current session.
getClassWithoutAnnotation() - Method in exception net.sf.qualitytest.exception.IllegalMissingAnnotationOnMethodException
Gives access to the class which does not have a required annotation.
getContext() - Method in class net.sf.qualitytest.blueprint.BlueprintSession
Get the current blueprinting context as string.
getMessage() - Method in exception net.sf.qualitytest.exception.BlueprintException
 
getMethodWithoutAnnotation() - Method in exception net.sf.qualitytest.exception.IllegalMissingAnnotationOnMethodException
Gives access to the method which does not have a required annotation.
getMissingAnnotation() - Method in exception net.sf.qualitytest.exception.IllegalMissingAnnotationOnMethodException
Gives access to the required annotation.
getSession() - Method in exception net.sf.qualitytest.exception.BlueprintCycleException
Access the BlueprintSession during which the exception has occurred.
getSession() - Method in exception net.sf.qualitytest.exception.BlueprintException
Access the BlueprintSession during which the exception has occurred.
giveMeCoverage(Class<?>) - Static method in class net.sf.qualitytest.CoverageForPrivateConstructor
Reduce noise in code coverage reports by executing the private default constructor of a utility class.
giveMeCoverageInternal(Class<?>) - Static method in class net.sf.qualitytest.CoverageForPrivateConstructor
Internal method which we can mock to simulate different exceptions.

H

handleCycle(BlueprintSession, Class<T>) - Method in interface net.sf.qualitytest.blueprint.BlueprintConfiguration
Handle the situation that a BlueprintCycle was detected for a particular class.
handleCycle(BlueprintSession, Class<?>) - Method in interface net.sf.qualitytest.blueprint.CycleHandlingStrategy
Handle the situation that a BlueprintCycle was detected for a particular class.
handleCycle(BlueprintSession, Class<?>) - Method in class net.sf.qualitytest.blueprint.strategy.cycle.ExceptionCycleHandlingStrategy
 
handleCycle(BlueprintSession, Class<?>) - Method in class net.sf.qualitytest.blueprint.strategy.cycle.NullCycleHandlingStrategy
 

I

IllegalClassWithPublicDefaultConstructorException - Exception in net.sf.qualitytest.exception
Thrown to indicate that a class has a public default constructor which should be private.
IllegalClassWithPublicDefaultConstructorException() - Constructor for exception net.sf.qualitytest.exception.IllegalClassWithPublicDefaultConstructorException
Constructs an IllegalClassWithPublicDefaultConstructorException with the default message IllegalClassWithPublicDefaultConstructorException.DEFAULT_MESSAGE.
IllegalClassWithPublicDefaultConstructorException(String) - Constructor for exception net.sf.qualitytest.exception.IllegalClassWithPublicDefaultConstructorException
Constructs an IllegalClassWithPublicDefaultConstructorException with the message IllegalClassWithPublicDefaultConstructorException.MESSAGE_WITH_NAME including the given name of the class as string representation.
IllegalClassWithPublicDefaultConstructorException(String, Throwable) - Constructor for exception net.sf.qualitytest.exception.IllegalClassWithPublicDefaultConstructorException
Constructs a new exception with the message IllegalClassWithPublicDefaultConstructorException.MESSAGE_WITH_NAME including the given name as string representation and cause.
IllegalClassWithPublicDefaultConstructorException(Throwable) - Constructor for exception net.sf.qualitytest.exception.IllegalClassWithPublicDefaultConstructorException
Constructs a new exception with the default message IllegalClassWithPublicDefaultConstructorException.DEFAULT_MESSAGE.
IllegalMissingAnnotationOnMethodException - Exception in net.sf.qualitytest.exception
Thrown to indicate that an annotation is missing on a public method of a class.
IllegalMissingAnnotationOnMethodException() - Constructor for exception net.sf.qualitytest.exception.IllegalMissingAnnotationOnMethodException
Constructs an IllegalMissingAnnotationOnMethodException with the default message IllegalMissingAnnotationOnMethodException.DEFAULT_MESSAGE.
IllegalMissingAnnotationOnMethodException(Class<?>, Class<? extends Annotation>, Method) - Constructor for exception net.sf.qualitytest.exception.IllegalMissingAnnotationOnMethodException
Constructs an IllegalMissingAnnotationOnMethodException with the message IllegalMissingAnnotationOnMethodException#MESSAGE_WITH_ANNOTATION including the name of the missing annotation.
IllegalMissingAnnotationOnMethodException(Class<?>, Class<? extends Annotation>, Method, Throwable) - Constructor for exception net.sf.qualitytest.exception.IllegalMissingAnnotationOnMethodException
Constructs an IllegalMissingAnnotationOnMethodException with the message IllegalMissingAnnotationOnMethodException#MESSAGE_WITH_ANNOTATION including the name of the missing annotation.
IllegalMissingAnnotationOnMethodException(Throwable) - Constructor for exception net.sf.qualitytest.exception.IllegalMissingAnnotationOnMethodException
Constructs a new exception with the default message IllegalMissingAnnotationOnMethodException.DEFAULT_MESSAGE.
IllegalNonFinalClassException - Exception in net.sf.qualitytest.exception
Thrown to indicate that a class is not final.
IllegalNonFinalClassException() - Constructor for exception net.sf.qualitytest.exception.IllegalNonFinalClassException
Constructs an IllegalNonFinalClassException with the default message IllegalNonFinalClassException.DEFAULT_MESSAGE.
IllegalNonFinalClassException(String) - Constructor for exception net.sf.qualitytest.exception.IllegalNonFinalClassException
Constructs an IllegalNullArgumentException with the message IllegalNonFinalClassException.MESSAGE_WITH_NAME including the given name of the class as string representation.
IllegalNonFinalClassException(String, Throwable) - Constructor for exception net.sf.qualitytest.exception.IllegalNonFinalClassException
Constructs a new exception with the message IllegalNonFinalClassException.MESSAGE_WITH_NAME including the given name as string representation and cause.
IllegalNonFinalClassException(Throwable) - Constructor for exception net.sf.qualitytest.exception.IllegalNonFinalClassException
Constructs a new exception with the default message IllegalNonFinalClassException.DEFAULT_MESSAGE.
IllegalNonFinalStaticException - Exception in net.sf.qualitytest.exception
Thrown to indicate that a class contains a non-final static field.
IllegalNonFinalStaticException() - Constructor for exception net.sf.qualitytest.exception.IllegalNonFinalStaticException
Constructs an IllegalNonStaticFinalException with the default message IllegalNonFinalStaticException.DEFAULT_MESSAGE.
IllegalNonFinalStaticException(String, String) - Constructor for exception net.sf.qualitytest.exception.IllegalNonFinalStaticException
Constructs an IllegalNonStaticFinalException with the message IllegalNonFinalStaticException.MESSAGE_WITH_NAME including the given name of the class as string representation.
IllegalNonFinalStaticException(String, String, Throwable) - Constructor for exception net.sf.qualitytest.exception.IllegalNonFinalStaticException
Constructs a new exception with the message IllegalNonFinalStaticException.MESSAGE_WITH_NAME including the given name as string representation and cause.
IllegalNonFinalStaticException(Throwable) - Constructor for exception net.sf.qualitytest.exception.IllegalNonFinalStaticException
Constructs a new exception with the default message IllegalNonFinalStaticException.DEFAULT_MESSAGE.
IncrementValueCreationStrategy<T extends Number> - Class in net.sf.qualitytest.blueprint.strategy.creation
Strategy to create values and increment each new value by 1.
IncrementValueCreationStrategy(T) - Constructor for class net.sf.qualitytest.blueprint.strategy.creation.IncrementValueCreationStrategy
 
IncrementValueCreationStrategy(T, long) - Constructor for class net.sf.qualitytest.blueprint.strategy.creation.IncrementValueCreationStrategy
 
instanceOf(Class<?>) - Static method in class net.sf.qualitytest.blueprint.Match
Match all classes that are instances of a type.
InstanceOfTypeMatchingStrategy - Class in net.sf.qualitytest.blueprint.strategy.matching
Match a value based on its type or supertype.
InstanceOfTypeMatchingStrategy(Class<?>) - Constructor for class net.sf.qualitytest.blueprint.strategy.matching.InstanceOfTypeMatchingStrategy
 
invoke(SafeInvoke.ExceptionRunnable<T>, Class<? extends RuntimeException>) - Static method in class net.sf.qualitytest.blueprint.SafeInvoke
Safely invoke a method on an object without having to care about checked exceptions.
isActiveForType(Class<?>) - Method in interface net.sf.qualitytest.blueprint.CycleHandlingStrategy
Decide whether this strategy is active for a given type.
isActiveForType(Class<?>) - Method in class net.sf.qualitytest.blueprint.strategy.cycle.ExceptionCycleHandlingStrategy
 
isActiveForType(Class<?>) - Method in class net.sf.qualitytest.blueprint.strategy.cycle.NullCycleHandlingStrategy
 
isModifierBitSet(int, int) - Static method in class net.sf.qualitytest.ModifierBits
Tests if a certain modifier is set into a bitmask.
isRelevant(Method) - Static method in class net.sf.qualitytest.blueprint.Blueprint
Check if a method is setter according to the java
isWithPublicAttributes() - Method in interface net.sf.qualitytest.blueprint.BlueprintConfiguration
Retrieve if public attributes are filled during blueprinting.
IterateValueCreationStrategy<T> - Class in net.sf.qualitytest.blueprint.strategy.creation
Strategy to iterate through a range of values, whenever a new value is requested.
IterateValueCreationStrategy(T...) - Constructor for class net.sf.qualitytest.blueprint.strategy.creation.IterateValueCreationStrategy
 

L

LongRunning - Annotation Type in net.sf.qualitytest
The LongRunning annotation marks a test case as long running.

M

Match - Class in net.sf.qualitytest.blueprint
A utility class to have a more readable API.
matchesByField(Field) - Method in interface net.sf.qualitytest.blueprint.MatchingStrategy
Test if a field matches this strategy.
matchesByField(Field) - Method in class net.sf.qualitytest.blueprint.strategy.matching.AbstractTypeMatchingStrategy
 
matchesByField(Field) - Method in class net.sf.qualitytest.blueprint.strategy.matching.ArrayTypeMatchingStrategy
 
matchesByField(Field) - Method in class net.sf.qualitytest.blueprint.strategy.matching.BuilderMethodMatchingStrategy
 
matchesByField(Field) - Method in class net.sf.qualitytest.blueprint.strategy.matching.CaseInsensitiveMethodNameMatchingStrategy
 
matchesByField(Field) - Method in class net.sf.qualitytest.blueprint.strategy.matching.InstanceOfTypeMatchingStrategy
 
matchesByField(Field) - Method in class net.sf.qualitytest.blueprint.strategy.matching.SetterMethodMatchingStrategy
 
matchesByField(Field) - Method in class net.sf.qualitytest.blueprint.strategy.matching.TypeMatchingStrategy
 
matchesByMethod(Method) - Method in interface net.sf.qualitytest.blueprint.MatchingStrategy
Test if a method matches this strategy.
matchesByMethod(Method) - Method in class net.sf.qualitytest.blueprint.strategy.matching.AbstractTypeMatchingStrategy
 
matchesByMethod(Method) - Method in class net.sf.qualitytest.blueprint.strategy.matching.ArrayTypeMatchingStrategy
 
matchesByMethod(Method) - Method in class net.sf.qualitytest.blueprint.strategy.matching.BuilderMethodMatchingStrategy
 
matchesByMethod(Method) - Method in class net.sf.qualitytest.blueprint.strategy.matching.CaseInsensitiveMethodNameMatchingStrategy
 
matchesByMethod(Method) - Method in class net.sf.qualitytest.blueprint.strategy.matching.InstanceOfTypeMatchingStrategy
 
matchesByMethod(Method) - Method in class net.sf.qualitytest.blueprint.strategy.matching.SetterMethodMatchingStrategy
 
matchesByMethod(Method) - Method in class net.sf.qualitytest.blueprint.strategy.matching.TypeMatchingStrategy
 
matchesByType(Class<?>) - Method in interface net.sf.qualitytest.blueprint.MatchingStrategy
Test if a type matches this strategy.
matchesByType(Class<?>) - Method in class net.sf.qualitytest.blueprint.strategy.matching.AbstractTypeMatchingStrategy
 
matchesByType(Class<?>) - Method in class net.sf.qualitytest.blueprint.strategy.matching.ArrayTypeMatchingStrategy
 
matchesByType(Class<?>) - Method in class net.sf.qualitytest.blueprint.strategy.matching.BuilderMethodMatchingStrategy
 
matchesByType(Class<?>) - Method in class net.sf.qualitytest.blueprint.strategy.matching.CaseInsensitiveMethodNameMatchingStrategy
This strategy does never match a type!
matchesByType(Class<?>) - Method in class net.sf.qualitytest.blueprint.strategy.matching.InstanceOfTypeMatchingStrategy
 
matchesByType(Class<?>) - Method in class net.sf.qualitytest.blueprint.strategy.matching.SetterMethodMatchingStrategy
 
matchesByType(Class<?>) - Method in class net.sf.qualitytest.blueprint.strategy.matching.TypeMatchingStrategy
 
MatchingStrategy - Interface in net.sf.qualitytest.blueprint
Strategy to determine if an attribute matches and should be replaced with a certain value.
MESSAGE_WITH_METHOD_ANNOTATION_AND_CLASS - Static variable in exception net.sf.qualitytest.exception.IllegalMissingAnnotationOnMethodException
Message to indicate that the the given class with name must be annotated with annotation '%s' on method method.
MESSAGE_WITH_NAME - Static variable in exception net.sf.qualitytest.exception.IllegalClassWithPublicDefaultConstructorException
Message to indicate that the the given argument with name must not be empty.
MESSAGE_WITH_NAME - Static variable in exception net.sf.qualitytest.exception.IllegalNonFinalClassException
Message to indicate that the the given argument with name must not be empty.
MESSAGE_WITH_NAME - Static variable in exception net.sf.qualitytest.exception.IllegalNonFinalStaticException
Message to indicate that the the given class contains a non-final static field.
MESSAGE_WITH_NAME - Static variable in exception net.sf.qualitytest.exception.NoPublicConstructorException
Message to indicate that a given class has no public constructor.
ModifierBits - Class in net.sf.qualitytest
Utility class to work with modifiers in the Java Reflection API.

N

name(String) - Static method in class net.sf.qualitytest.blueprint.Match
Match by method or attribute name..
net.sf.qualitytest - package net.sf.qualitytest
 
net.sf.qualitytest.blueprint - package net.sf.qualitytest.blueprint
 
net.sf.qualitytest.blueprint.configuration - package net.sf.qualitytest.blueprint.configuration
 
net.sf.qualitytest.blueprint.strategy.creation - package net.sf.qualitytest.blueprint.strategy.creation
 
net.sf.qualitytest.blueprint.strategy.cycle - package net.sf.qualitytest.blueprint.strategy.cycle
 
net.sf.qualitytest.blueprint.strategy.matching - package net.sf.qualitytest.blueprint.strategy.matching
 
net.sf.qualitytest.exception - package net.sf.qualitytest.exception
 
nil() - Static method in class net.sf.qualitytest.blueprint.Create
Always create null.
noNonFinalStatic(Class<?>) - Static method in class net.sf.qualitytest.StaticCheck
Check if a class contains a non-final static variable.
noNonFinalStaticInHierarchy(Class<?>) - Static method in class net.sf.qualitytest.StaticCheck
Check if a class or super-class contains a non-final static variable.
NoPublicConstructorException - Exception in net.sf.qualitytest.exception
Thrown to indicate that a class does not have a public constructor and therefore blueprinting is not available.
NoPublicConstructorException() - Constructor for exception net.sf.qualitytest.exception.NoPublicConstructorException
Constructs an NoPublicConstructorException with the default message NoPublicConstructorException.DEFAULT_MESSAGE.
NoPublicConstructorException(String) - Constructor for exception net.sf.qualitytest.exception.NoPublicConstructorException
Constructs an NoPublicConstructorException with the message NoPublicConstructorException.MESSAGE_WITH_NAME including the given name of the class as string representation.
NoPublicConstructorException(String, Throwable) - Constructor for exception net.sf.qualitytest.exception.NoPublicConstructorException
Constructs a new exception with the message NoPublicConstructorException.MESSAGE_WITH_NAME including the given name as string representation and cause.
NoPublicConstructorException(Throwable) - Constructor for exception net.sf.qualitytest.exception.NoPublicConstructorException
Constructs a new exception with the default message NoPublicConstructorException.DEFAULT_MESSAGE.
noPublicDefaultConstructor(Class<?>) - Static method in class net.sf.qualitytest.StaticCheck
Check that a class contains no public default constructor.
NullCycleHandlingStrategy<T> - Class in net.sf.qualitytest.blueprint.strategy.cycle
A simple strategy which set's the inner-object of a detected cycle to null.
NullCycleHandlingStrategy(Class<T>) - Constructor for class net.sf.qualitytest.blueprint.strategy.cycle.NullCycleHandlingStrategy
 
NullValueCreationStrategy<T> - Class in net.sf.qualitytest.blueprint.strategy.creation
A strategy which always returns null.
NullValueCreationStrategy() - Constructor for class net.sf.qualitytest.blueprint.strategy.creation.NullValueCreationStrategy
 

P

pop() - Method in class net.sf.qualitytest.blueprint.BlueprintSession
Call after creating a blueprint of a class.
publicMethodsAnnotated(Class<?>, Class<? extends Annotation>) - Static method in class net.sf.qualitytest.StaticCheck
Check that all declared public methods of a class are annotated using a certain annotation.
push(Class<?>) - Method in class net.sf.qualitytest.blueprint.BlueprintSession
Call before creating a blueprint of a class.

R

random() - Static method in class net.sf.qualitytest.blueprint.Blueprint
Return a new configuration for random blueprinting.
RandomBlueprintConfiguration - Class in net.sf.qualitytest.blueprint.configuration
BlueprintConfiguration which assigns all primitive types and their corresponding object types with a random value.
RandomBlueprintConfiguration() - Constructor for class net.sf.qualitytest.blueprint.configuration.RandomBlueprintConfiguration
 
randomBoolean() - Static method in class net.sf.qualitytest.blueprint.Create
Create a random boolean (true or false).
RandomBooleanValueCreationStrategy - Class in net.sf.qualitytest.blueprint.strategy.creation
Strategy to create a random boolean value.
RandomBooleanValueCreationStrategy() - Constructor for class net.sf.qualitytest.blueprint.strategy.creation.RandomBooleanValueCreationStrategy
 
randomByte() - Static method in class net.sf.qualitytest.blueprint.Create
Create a random byte.
RandomByteValueCreationStrategy - Class in net.sf.qualitytest.blueprint.strategy.creation
Strategy to create a random byte value.
RandomByteValueCreationStrategy() - Constructor for class net.sf.qualitytest.blueprint.strategy.creation.RandomByteValueCreationStrategy
 
randomChar() - Static method in class net.sf.qualitytest.blueprint.Create
Create a random character.
RandomCharValueCreationStrategy - Class in net.sf.qualitytest.blueprint.strategy.creation
Strategy to create a random char value.
RandomCharValueCreationStrategy() - Constructor for class net.sf.qualitytest.blueprint.strategy.creation.RandomCharValueCreationStrategy
 
randomDouble() - Static method in class net.sf.qualitytest.blueprint.Create
Create a random double.
RandomDoubleValueCreationStrategy - Class in net.sf.qualitytest.blueprint.strategy.creation
Strategy to create a random double value.
RandomDoubleValueCreationStrategy() - Constructor for class net.sf.qualitytest.blueprint.strategy.creation.RandomDoubleValueCreationStrategy
 
randomEnum() - Static method in class net.sf.qualitytest.blueprint.Create
Create a random enum constant whenever an enumeration is requested.
RandomEnumCreationStrategy - Class in net.sf.qualitytest.blueprint.strategy.creation
Creation strategy which creates a random enum constant during construction of a blueprint.
RandomEnumCreationStrategy() - Constructor for class net.sf.qualitytest.blueprint.strategy.creation.RandomEnumCreationStrategy
 
randomFloat() - Static method in class net.sf.qualitytest.blueprint.Create
Create a random float.
RandomFloatValueCreationStrategy - Class in net.sf.qualitytest.blueprint.strategy.creation
Strategy to create a random float value.
RandomFloatValueCreationStrategy() - Constructor for class net.sf.qualitytest.blueprint.strategy.creation.RandomFloatValueCreationStrategy
 
randomInteger() - Static method in class net.sf.qualitytest.blueprint.Create
Create a random integer.
RandomIntValueCreationStrategy - Class in net.sf.qualitytest.blueprint.strategy.creation
Strategy to create a random integer value.
RandomIntValueCreationStrategy() - Constructor for class net.sf.qualitytest.blueprint.strategy.creation.RandomIntValueCreationStrategy
 
randomLong() - Static method in class net.sf.qualitytest.blueprint.Create
Create a random long.
RandomLongValueCreationStrategy - Class in net.sf.qualitytest.blueprint.strategy.creation
Strategy to create a random long value.
RandomLongValueCreationStrategy() - Constructor for class net.sf.qualitytest.blueprint.strategy.creation.RandomLongValueCreationStrategy
 
randomShort() - Static method in class net.sf.qualitytest.blueprint.Create
Create a random short.
RandomShortValueCreationStrategy - Class in net.sf.qualitytest.blueprint.strategy.creation
Strategy to create a random short value.
RandomShortValueCreationStrategy() - Constructor for class net.sf.qualitytest.blueprint.strategy.creation.RandomShortValueCreationStrategy
 
run() - Method in class net.sf.qualitytest.blueprint.BlueprintExceptionRunnable
 
run() - Method in interface net.sf.qualitytest.blueprint.SafeInvoke.ExceptionRunnable
Run the Runnable.
runInternal() - Method in class net.sf.qualitytest.blueprint.BlueprintExceptionRunnable
 

S

SafeInvoke - Class in net.sf.qualitytest.blueprint
Invoke a method or execute code without having to care for checked (and unchecked) exceptions.
SafeInvoke.ExceptionRunnable<T> - Interface in net.sf.qualitytest.blueprint
A runnable which is allowed to throw any kind of exceptions.
setLastAction(String) - Method in class net.sf.qualitytest.blueprint.BlueprintSession
Specify the last action performed on an object.
setSession(BlueprintSession) - Method in exception net.sf.qualitytest.exception.BlueprintException
 
SETTER_METHODS - Static variable in class net.sf.qualitytest.blueprint.Match
Match all methods which are setter-methods.
SetterMethodMatchingStrategy - Class in net.sf.qualitytest.blueprint.strategy.matching
This value matching strategy matches all methods that are setters, i.e. start with the prefix 'set'.
SetterMethodMatchingStrategy() - Constructor for class net.sf.qualitytest.blueprint.strategy.matching.SetterMethodMatchingStrategy
 
SingleValueCreationStrategy<T> - Class in net.sf.qualitytest.blueprint.strategy.creation
Always use the same value.
SingleValueCreationStrategy(T) - Constructor for class net.sf.qualitytest.blueprint.strategy.creation.SingleValueCreationStrategy
 
StaticCheck - Class in net.sf.qualitytest
This class offers simple static methods to test static properties of your classes.

T

type(Class<?>) - Static method in class net.sf.qualitytest.blueprint.Match
Match a type.
TypeMatchingStrategy - Class in net.sf.qualitytest.blueprint.strategy.matching
Match a value based on its exact type.
TypeMatchingStrategy(Class<?>) - Constructor for class net.sf.qualitytest.blueprint.strategy.matching.TypeMatchingStrategy
 

V

value(T) - Static method in class net.sf.qualitytest.blueprint.Create
Always create this value, when requested.
ValueCreationStrategy<T> - Class in net.sf.qualitytest.blueprint.strategy.creation
Definition of an interface to create values for attribute assignments.
ValueCreationStrategy() - Constructor for class net.sf.qualitytest.blueprint.strategy.creation.ValueCreationStrategy
 

W

with(Class<T>, CreationStrategy<?>) - Method in interface net.sf.qualitytest.blueprint.BlueprintConfiguration
Replace every attribute with the type type with a given value.
with(Class<T>, T) - Method in interface net.sf.qualitytest.blueprint.BlueprintConfiguration
Replace every attribute with the type type with a given value.
with(CycleHandlingStrategy<T>) - Method in interface net.sf.qualitytest.blueprint.BlueprintConfiguration
Handle detected cycles in the blueprinting graph using an additional strategy.
with(MatchingStrategy) - Method in interface net.sf.qualitytest.blueprint.BlueprintConfiguration
Blueprint everything matching a given MatchingStrategy using this configuration.
with(MatchingStrategy, CreationStrategy<?>) - Method in interface net.sf.qualitytest.blueprint.BlueprintConfiguration
Replace every attribute which matches a given strategy with a given value.
with(String, T) - Method in interface net.sf.qualitytest.blueprint.BlueprintConfiguration
Replace every attribute with the name name with a given value.
withPublicAttributes(boolean) - Method in interface net.sf.qualitytest.blueprint.BlueprintConfiguration
Configure whether public attributes should be filled with values during blueprinting.

A B C D E F G H I L M N P R S T V W

Copyright © 2012-2013. All Rights Reserved.