drails_commons 0.0.6+2 copy "drails_commons: ^0.0.6+2" to clipboard
drails_commons: ^0.0.6+2 copied to clipboard

outdated

Package that contains some utilities classes, methods, and global constants shared by drails, drails_di, and dson.

Drails Commons #

Build Status

This library maintains common functions and variables useful for drails_di, dson and drails.

Examples:

//Get the value of the annotation of type Annotation1 that is over the class of instanceMirro1
var annotationValueOverClass = new GetValueOfAnnotation<Annotation1>().fromInstance(instanceMirro1);

//Get the value of the annotation of type Annotation1 that is over the class of declarationMirror1
var annotationValueOverDeclaration = new GetValueOfAnnotation<Annotation1>().fromDeclaration(declarationMirror1);

//Get the list of values of the annotation of type Annotation1 that is over the class of instanceMirro1
var annotationValuesOverInstance = new GetValuesOfAnnotations<Annotation1>().fromInstance(instanceMirro1);

//Get the value of the annotation of type Annotation1 that is over the class of declarationMirror1
var annotationValuesOverDeclaration = new GetValuesOfAnnotations<Annotation1>().fromDeclaration(declarationMirror1);
0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

Package that contains some utilities classes, methods, and global constants shared by drails, drails_di, and dson.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

reflectable

More

Packages that depend on drails_commons