Cannonical name.
Constructor of the class
Represents a constructor parameter
Field defined in a class
Builds method call arguments
A method argument
Generic object builder
Contains information of methods, constructor and parameters defined in a class
A base class of field parameters and method parameters
Representing paths separated by slashes
A method defined in a scala class
Types that can be constructed from String
Holder of structured data consisting of named values.
Holder of structured data consisting of named values. ValueHolder is immutable, so the set operations in this class return another ValueHolder and never modify the original ValueHolder.
A(a, B(b, c)) { a: apple, B:{b:book, c:car} } val n1 = Empty.set("a", apple) => Node(a -> Leaf(apple)) val n2 = n1.set("B.b", "book") => Node(a -> Leaf(apple), B -> Empty.set("b", "book")) => Node(a -> apple, B->Node(b -> Leaf(book))) val n3 = n2.set("B.c", "car") => Node(a ->apple, B->Node(b -> Leaf(book), c->Leaf(car)))
Utility for managing names written in different spellings.
Utility for managing names written in different spellings. For example, variable name localAddress can be written as "local address", "local_address", etc.
CanonicalName is the representative name of these variants.
CName("localAddress") == CName("local address") == CName("local_address")
Object information extractor
Object information extractor
2012/01/17 10:05
Scala's primitive types.
Scala's primitive types. The classes in this category can create primitive type arrays.
Reflection utility functions
2012/07/17
Copied from com.softwaremill.tagging
Copied from com.softwaremill.tagging
Tag instances with arbitrary types. The tags are usually empty trait
s. Tags have no runtime overhead and are only
used at compile-time for additional type safety.
For example:
class Berry() trait Black trait Blue val berry = new Berry() val blackBerry: Berry @@ Black = berry.taggedWith[Black] val blueBerry: Berry @@ Blue = berry.taggedWith[Blue] // compile error: val anotherBlackBerry: Berry @@ Black = blueBerry
Original idea by Miles Sabin, see: https://gist.github.com/milessabin/89c9b47a91017973a35f
Cannonical name. This name is used as a common name of wording variants (e.g., difference of capital letter usage, hyphenation, etc.)