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);

Libraries

drails_commons