@@ -82,7 +82,8 @@ final class DartAnnotatedClassAnalyzer {
8282 fullFileUri.toString (),
8383 );
8484 if (library is LibraryElementResult ) {
85- final classElements = library.element.topLevelElements.whereType <ClassElement >();
85+ final classElements = library.element.topLevelElements
86+ .whereType <ClassElement >();
8687 for (final classElement in classElements) {
8788 final className = classElement.displayName;
8889 if (classNameFilter == null || classNameFilter.hasMatch (className)) {
@@ -137,7 +138,8 @@ final class DartAnnotatedClassAnalyzer {
137138 Set <String >? inclMemberAnnotations,
138139 ) async {
139140 for (final fieldElement in classElement.fields) {
140- if (memberNameFilter == null || memberNameFilter.hasMatch (fieldElement.displayName)) {
141+ if (memberNameFilter == null ||
142+ memberNameFilter.hasMatch (fieldElement.displayName)) {
141143 for (final fieldMetadata in fieldElement.metadata) {
142144 final memberAnnotationName = fieldMetadata.element? .displayName;
143145 if (memberAnnotationName != null &&
@@ -197,7 +199,8 @@ final class DartAnnotatedClassAnalyzer {
197199 Set <String >? inclMethodAnnotations,
198200 ) async {
199201 for (final method in classElement.methods) {
200- if (methodNameFilter == null || methodNameFilter.hasMatch (method.displayName)) {
202+ if (methodNameFilter == null ||
203+ methodNameFilter.hasMatch (method.displayName)) {
201204 for (final methodMetadata in method.metadata) {
202205 final methodAnnotationName = methodMetadata.element? .displayName;
203206 if (methodAnnotationName != null &&
@@ -214,7 +217,9 @@ final class DartAnnotatedClassAnalyzer {
214217 final fieldNames = element? .children.map ((e) => e.displayName);
215218 if (fieldNames != null ) {
216219 for (final fieldName in fieldNames) {
217- final fieldValue = methodMetadata.computeConstantValue ()? .getField (fieldName);
220+ final fieldValue = methodMetadata
221+ .computeConstantValue ()
222+ ? .getField (fieldName);
218223 if (fieldValue != null ) {
219224 await onMethodAnnotationField (
220225 OnMethodAnnotationFieldParams (
@@ -262,8 +267,8 @@ final class DartAnnotatedClassAnalyzer {
262267 if (fieldNames != null ) {
263268 for (final fieldName in fieldNames) {
264269 final fieldValue = metadata.computeConstantValue ()? .getField (
265- fieldName,
266- );
270+ fieldName,
271+ );
267272 if (fieldValue != null ) {
268273 await onClassAnnotationField (
269274 OnClassAnnotationFieldParams (
@@ -298,7 +303,8 @@ final class OnAnnotatedClassParams {
298303 });
299304}
300305
301- typedef TOnAnnotatedClassCallback = Future <dynamic > Function (OnAnnotatedClassParams parent);
306+ typedef TOnAnnotatedClassCallback =
307+ Future <dynamic > Function (OnAnnotatedClassParams parent);
302308
303309// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
304310
@@ -319,8 +325,8 @@ final class OnClassAnnotationFieldParams {
319325 });
320326}
321327
322- typedef TOnClassAnnotationFieldCallback = Future < dynamic > Function (
323- OnClassAnnotationFieldParams parent);
328+ typedef TOnClassAnnotationFieldCallback =
329+ Future < dynamic > Function ( OnClassAnnotationFieldParams parent);
324330
325331// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
326332
@@ -339,7 +345,8 @@ final class OnAnnotatedMethodParams {
339345 });
340346}
341347
342- typedef TOnAnnotatedMethodCallback = Future <dynamic > Function (OnAnnotatedMethodParams parent);
348+ typedef TOnAnnotatedMethodCallback =
349+ Future <dynamic > Function (OnAnnotatedMethodParams parent);
343350
344351// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
345352
@@ -360,8 +367,8 @@ final class OnMethodAnnotationFieldParams {
360367 });
361368}
362369
363- typedef TOnMethodAnnotationFieldCallback = Future < dynamic > Function (
364- OnMethodAnnotationFieldParams parent);
370+ typedef TOnMethodAnnotationFieldCallback =
371+ Future < dynamic > Function ( OnMethodAnnotationFieldParams parent);
365372
366373// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
367374
@@ -382,7 +389,8 @@ final class OnAnnotatedMemberParams {
382389 });
383390}
384391
385- typedef TOnAnnotatedMemberCallback = Future <dynamic > Function (OnAnnotatedMemberParams parent);
392+ typedef TOnAnnotatedMemberCallback =
393+ Future <dynamic > Function (OnAnnotatedMemberParams parent);
386394
387395// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
388396
@@ -403,8 +411,8 @@ final class OnMemberAnnotationFieldParams {
403411 });
404412}
405413
406- typedef TOnMemberAnnotationFieldsCallback = Future < dynamic > Function (
407- OnMemberAnnotationFieldParams parent);
414+ typedef TOnMemberAnnotationFieldsCallback =
415+ Future < dynamic > Function ( OnMemberAnnotationFieldParams parent);
408416
409417// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
410418
0 commit comments