@@ -84,7 +84,8 @@ final class DartAnnotatedClassAnalyzer {
8484 fullFileUri.toString (),
8585 );
8686 if (library is LibraryElementResult ) {
87- final classElements = library.element.topLevelElements.whereType <ClassElement >();
87+ final classElements = library.element.topLevelElements
88+ .whereType <ClassElement >();
8889 for (final classElement in classElements) {
8990 final className = classElement.displayName;
9091 if (classNameFilter == null || classNameFilter.hasMatch (className)) {
@@ -139,7 +140,8 @@ final class DartAnnotatedClassAnalyzer {
139140 Set <String >? inclMemberAnnotations,
140141 ) async {
141142 for (final fieldElement in classElement.fields) {
142- if (memberNameFilter == null || memberNameFilter.hasMatch (fieldElement.displayName)) {
143+ if (memberNameFilter == null ||
144+ memberNameFilter.hasMatch (fieldElement.displayName)) {
143145 for (final fieldMetadata in fieldElement.metadata) {
144146 final memberAnnotationName = fieldMetadata.element? .displayName;
145147 if (memberAnnotationName != null &&
@@ -199,7 +201,8 @@ final class DartAnnotatedClassAnalyzer {
199201 Set <String >? inclMethodAnnotations,
200202 ) async {
201203 for (final method in classElement.methods) {
202- if (methodNameFilter == null || methodNameFilter.hasMatch (method.displayName)) {
204+ if (methodNameFilter == null ||
205+ methodNameFilter.hasMatch (method.displayName)) {
203206 for (final methodMetadata in method.metadata) {
204207 final methodAnnotationName = methodMetadata.element? .displayName;
205208 if (methodAnnotationName != null &&
@@ -216,7 +219,9 @@ final class DartAnnotatedClassAnalyzer {
216219 final fieldNames = element? .children.map ((e) => e.displayName);
217220 if (fieldNames != null ) {
218221 for (final fieldName in fieldNames) {
219- final fieldValue = methodMetadata.computeConstantValue ()? .getField (fieldName);
222+ final fieldValue = methodMetadata
223+ .computeConstantValue ()
224+ ? .getField (fieldName);
220225 if (fieldValue != null ) {
221226 await onMethodAnnotationField (
222227 OnMethodAnnotationFieldParams (
@@ -264,8 +269,8 @@ final class DartAnnotatedClassAnalyzer {
264269 if (fieldNames != null ) {
265270 for (final fieldName in fieldNames) {
266271 final fieldValue = metadata.computeConstantValue ()? .getField (
267- fieldName,
268- );
272+ fieldName,
273+ );
269274 if (fieldValue != null ) {
270275 await onClassAnnotationField (
271276 OnClassAnnotationFieldParams (
@@ -300,7 +305,8 @@ final class OnAnnotatedClassParams {
300305 });
301306}
302307
303- typedef TOnAnnotatedClassCallback = Future <dynamic > Function (OnAnnotatedClassParams parent);
308+ typedef TOnAnnotatedClassCallback =
309+ Future <dynamic > Function (OnAnnotatedClassParams parent);
304310
305311// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
306312
@@ -321,9 +327,8 @@ final class OnClassAnnotationFieldParams {
321327 });
322328}
323329
324- typedef TOnClassAnnotationFieldCallback = Future <dynamic > Function (
325- OnClassAnnotationFieldParams parent,
326- );
330+ typedef TOnClassAnnotationFieldCallback =
331+ Future <dynamic > Function (OnClassAnnotationFieldParams parent);
327332
328333// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
329334
@@ -342,7 +347,8 @@ final class OnAnnotatedMethodParams {
342347 });
343348}
344349
345- typedef TOnAnnotatedMethodCallback = Future <dynamic > Function (OnAnnotatedMethodParams parent);
350+ typedef TOnAnnotatedMethodCallback =
351+ Future <dynamic > Function (OnAnnotatedMethodParams parent);
346352
347353// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
348354
@@ -363,9 +369,8 @@ final class OnMethodAnnotationFieldParams {
363369 });
364370}
365371
366- typedef TOnMethodAnnotationFieldCallback = Future <dynamic > Function (
367- OnMethodAnnotationFieldParams parent,
368- );
372+ typedef TOnMethodAnnotationFieldCallback =
373+ Future <dynamic > Function (OnMethodAnnotationFieldParams parent);
369374
370375// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
371376
@@ -386,7 +391,8 @@ final class OnAnnotatedMemberParams {
386391 });
387392}
388393
389- typedef TOnAnnotatedMemberCallback = Future <dynamic > Function (OnAnnotatedMemberParams parent);
394+ typedef TOnAnnotatedMemberCallback =
395+ Future <dynamic > Function (OnAnnotatedMemberParams parent);
390396
391397// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
392398
@@ -407,9 +413,8 @@ final class OnMemberAnnotationFieldParams {
407413 });
408414}
409415
410- typedef TOnMemberAnnotationFieldsCallback = Future <dynamic > Function (
411- OnMemberAnnotationFieldParams parent,
412- );
416+ typedef TOnMemberAnnotationFieldsCallback =
417+ Future <dynamic > Function (OnMemberAnnotationFieldParams parent);
413418
414419// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
415420
0 commit comments