TestAnnotationMap

final class TestAnnotationMap

An annotation map keeps track of annotations of different types.

Companion:
object
class Object
trait Matchable
class Any

Value members

Concrete methods

def annotate[V](key: TestAnnotation[V], value: V): TestAnnotationMap

Appends the specified annotation to the annotation map.

Appends the specified annotation to the annotation map.

def get[V](key: TestAnnotation[V]): V

Retrieves the annotation of the specified type, or its default value if there is none.

Retrieves the annotation of the specified type, or its default value if there is none.

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Returns:

a string representation of the object.

Definition Classes
Any