Args trait can be mixed into an object to provide an argument-based main method.
Args trait can be mixed into an object to provide an argument-based main method. Simply mix in this trait and define a main method with named arguments and default values to allow instantiation to occur dynamically.
For example: def main(name: String, count: Int = 5) = { }
May be invoked via the following command-line invocation: ArgsClass --name "John Doe" --count 25
Excluding arg names will place them at the first undefined position without a default value. If required values are excluded the method will be run with type defaults (null for refs).
CaseValue represents a value on a case class.
Wraps a Class to provide more powerful functionality.
EnhancedConstructor wraps a java.lang.reflect.Constructor to provide more functionality and easier access.
EnhancedField wraps a java.lang.reflect.Field to provide more functionality and easier access.
EnhancedMethod wraps a java.lang.reflect.Method to provide more functionality and easier access.
MethodArgument represents an argument required to invoke a method.
Finds a method based on the absolute signature including class.