annotation method
Implementation
ConstantReader annotation(Type macro, {Element? e}) {
if (null == e) {
return ConstantReader(null);
}
final meta = TypeChecker.fromRuntime(macro);
return ConstantReader(meta.firstAnnotationOf(e));
}
ConstantReader annotation(Type macro, {Element? e}) {
if (null == e) {
return ConstantReader(null);
}
final meta = TypeChecker.fromRuntime(macro);
return ConstantReader(meta.firstAnnotationOf(e));
}