findMethodsOnClass function
Returns all methods with provided annotation on passed class.
Implementation
List<MethodMirror> findMethodsOnClass(Type cls, Type annotation) =>
UnmodifiableListView(
_findDeclarationsOn(reflectClass(cls), reflectClass(annotation))
.map((annoDecl) => annoDecl.declaration)
.whereType<MethodMirror>());