Closed cacoco closed 4 years ago
Problem
This started as a desire to add another method to KeyExtensions:
KeyExtensions
def annotatedWith(clazz: Class[_ <: JAnnotation]): Key[T]
Solution
However, I noticed some low-hanging fruit that I thought it might be worth doing/fixing:
AnyVal
BindingExtensions
Be careful of .DS_Store files in the future
Gah, yep. Sorry about that.
Problem
This started as a desire to add another method to
KeyExtensions
:Solution
However, I noticed some low-hanging fruit that I thought it might be worth doing/fixing:
AnyVal
, which means that we will not allocate any runtime objects, see: https://docs.scala-lang.org/overviews/core/value-classes.html. Implicit classes are generally very good candidates to make Value classes.BindingExtensions
as it used javadoc syntax for code blocks.KeyExtensions
and add tests.