This is an automated email from the ASF dual-hosted git repository.
chaokunyang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fory.git
The following commit(s) were added to refs/heads/main by this push:
new 87b0a2ec3 chore(dart): add missing license headers (#3594)
87b0a2ec3 is described below
commit 87b0a2ec3173744aa28b22654785e6edfb13578a
Author: Shawn Yang <[email protected]>
AuthorDate: Mon Apr 20 21:08:36 2026 +0800
chore(dart): add missing license headers (#3594)
## Why?
## What does this PR do?
## Related issues
#3592
## AI Contribution Checklist
- [ ] Substantial AI assistance was used in this PR: `yes` / `no`
- [ ] If `yes`, I included a completed [AI Contribution
Checklist](https://github.com/apache/fory/blob/main/AI_POLICY.md#9-contributor-checklist-for-ai-assisted-prs)
in this PR description and the required `AI Usage Disclosure`.
- [ ] If `yes`, my PR description includes the required `ai_review`
summary and screenshot evidence of the final clean AI review results
from both fresh reviewers on the current PR diff or current HEAD after
the latest code changes.
## Does this PR introduce any user-facing change?
- [ ] Does this PR introduce any public API change?
- [ ] Does this PR introduce any binary protocol compatibility change?
## Benchmark
---
dart/packages/fory-test/lib/fory_test.dart | 19 +++++++++++++++++++
dart/packages/fory-test/lib/model/person.dart | 19 +++++++++++++++++++
.../fory-test/test/compatible_struct_slots_test.dart | 19 +++++++++++++++++++
.../fory-test/test/generated_round_trip_test.dart | 19 +++++++++++++++++++
dart/packages/fory/example/example.dart | 19 +++++++++++++++++++
dart/packages/fory/example/manual_serializer.dart | 19 +++++++++++++++++++
dart/packages/fory/lib/fory.dart | 19 +++++++++++++++++++
dart/packages/fory/lib/src/annotation/fory_field.dart | 19 +++++++++++++++++++
.../packages/fory/lib/src/annotation/fory_struct.dart | 19 +++++++++++++++++++
dart/packages/fory/lib/src/annotation/fory_union.dart | 19 +++++++++++++++++++
.../fory/lib/src/annotation/numeric_types.dart | 19 +++++++++++++++++++
dart/packages/fory/lib/src/annotation/type_spec.dart | 19 +++++++++++++++++++
dart/packages/fory/lib/src/buffer.dart | 19 +++++++++++++++++++
dart/packages/fory/lib/src/codegen/fory_builder.dart | 19 +++++++++++++++++++
.../packages/fory/lib/src/codegen/fory_generator.dart | 19 +++++++++++++++++++
.../fory/lib/src/codegen/generated_registry.dart | 19 +++++++++++++++++++
.../fory/lib/src/codegen/generated_support.dart | 19 +++++++++++++++++++
dart/packages/fory/lib/src/config.dart | 19 +++++++++++++++++++
.../fory/lib/src/context/meta_string_reader.dart | 19 +++++++++++++++++++
.../fory/lib/src/context/meta_string_writer.dart | 19 +++++++++++++++++++
dart/packages/fory/lib/src/context/read_context.dart | 19 +++++++++++++++++++
dart/packages/fory/lib/src/context/ref_reader.dart | 19 +++++++++++++++++++
dart/packages/fory/lib/src/context/ref_writer.dart | 19 +++++++++++++++++++
dart/packages/fory/lib/src/context/write_context.dart | 19 +++++++++++++++++++
dart/packages/fory/lib/src/fory.dart | 19 +++++++++++++++++++
dart/packages/fory/lib/src/meta/field_info.dart | 19 +++++++++++++++++++
dart/packages/fory/lib/src/meta/field_type.dart | 19 +++++++++++++++++++
dart/packages/fory/lib/src/meta/meta_string.dart | 19 +++++++++++++++++++
dart/packages/fory/lib/src/meta/type_def.dart | 19 +++++++++++++++++++
dart/packages/fory/lib/src/meta/type_ids.dart | 19 +++++++++++++++++++
dart/packages/fory/lib/src/meta/type_meta.dart | 19 +++++++++++++++++++
.../packages/fory/lib/src/resolver/type_resolver.dart | 19 +++++++++++++++++++
.../lib/src/serializer/collection_serializers.dart | 19 +++++++++++++++++++
.../src/serializer/compatible_struct_metadata.dart | 19 +++++++++++++++++++
.../fory/lib/src/serializer/enum_serializer.dart | 19 +++++++++++++++++++
.../fory/lib/src/serializer/map_serializers.dart | 19 +++++++++++++++++++
.../lib/src/serializer/primitive_serializers.dart | 19 +++++++++++++++++++
.../fory/lib/src/serializer/scalar_serializers.dart | 19 +++++++++++++++++++
.../lib/src/serializer/serialization_field_info.dart | 19 +++++++++++++++++++
dart/packages/fory/lib/src/serializer/serializer.dart | 19 +++++++++++++++++++
.../fory/lib/src/serializer/serializer_support.dart | 19 +++++++++++++++++++
.../fory/lib/src/serializer/struct_serializer.dart | 19 +++++++++++++++++++
.../fory/lib/src/serializer/struct_slots.dart | 19 +++++++++++++++++++
.../lib/src/serializer/typed_array_serializers.dart | 19 +++++++++++++++++++
.../fory/lib/src/serializer/union_serializer.dart | 19 +++++++++++++++++++
dart/packages/fory/lib/src/string_encoding.dart | 19 +++++++++++++++++++
dart/packages/fory/lib/src/types/fixed_ints.dart | 19 +++++++++++++++++++
dart/packages/fory/lib/src/types/float16.dart | 19 +++++++++++++++++++
dart/packages/fory/lib/src/types/float32.dart | 19 +++++++++++++++++++
dart/packages/fory/lib/src/types/local_date.dart | 19 +++++++++++++++++++
dart/packages/fory/lib/src/types/timestamp.dart | 19 +++++++++++++++++++
dart/packages/fory/lib/src/util/hash_util.dart | 19 +++++++++++++++++++
dart/packages/fory/test/buffer_test.dart | 19 +++++++++++++++++++
dart/packages/fory/test/container_ref_test.dart | 19 +++++++++++++++++++
dart/packages/fory/test/manual_registration_test.dart | 19 +++++++++++++++++++
dart/packages/fory/test/string_encoding_test.dart | 19 +++++++++++++++++++
.../packages/fory/test/type_spec_annotation_test.dart | 19 +++++++++++++++++++
dart/test/workspace_smoke_test.dart | 19 +++++++++++++++++++
.../idl_tests/dart/test/idl_roundtrip_test.dart | 19 +++++++++++++++++++
59 files changed, 1121 insertions(+)
diff --git a/dart/packages/fory-test/lib/fory_test.dart
b/dart/packages/fory-test/lib/fory_test.dart
index d86f7027c..7f4042743 100644
--- a/dart/packages/fory-test/lib/fory_test.dart
+++ b/dart/packages/fory-test/lib/fory_test.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
library;
export 'model/person.dart';
diff --git a/dart/packages/fory-test/lib/model/person.dart
b/dart/packages/fory-test/lib/model/person.dart
index 3b4315f7e..a6946637e 100644
--- a/dart/packages/fory-test/lib/model/person.dart
+++ b/dart/packages/fory-test/lib/model/person.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
library;
import 'package:fory/fory.dart';
diff --git a/dart/packages/fory-test/test/compatible_struct_slots_test.dart
b/dart/packages/fory-test/test/compatible_struct_slots_test.dart
index a86c0f0e1..7a5ede723 100644
--- a/dart/packages/fory-test/test/compatible_struct_slots_test.dart
+++ b/dart/packages/fory-test/test/compatible_struct_slots_test.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'package:fory/fory.dart';
import 'package:fory_test/entity/xlang_test_models.dart';
import 'package:test/test.dart';
diff --git a/dart/packages/fory-test/test/generated_round_trip_test.dart
b/dart/packages/fory-test/test/generated_round_trip_test.dart
index 2acdc8ea4..129912544 100644
--- a/dart/packages/fory-test/test/generated_round_trip_test.dart
+++ b/dart/packages/fory-test/test/generated_round_trip_test.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'package:fory/fory.dart';
import 'package:fory_test/model/person.dart';
import 'package:test/test.dart';
diff --git a/dart/packages/fory/example/example.dart
b/dart/packages/fory/example/example.dart
index c77bcbb89..6bb058e2f 100644
--- a/dart/packages/fory/example/example.dart
+++ b/dart/packages/fory/example/example.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'package:fory/fory.dart';
part 'example.fory.dart';
diff --git a/dart/packages/fory/example/manual_serializer.dart
b/dart/packages/fory/example/manual_serializer.dart
index 2c4e9148d..fd016882d 100644
--- a/dart/packages/fory/example/manual_serializer.dart
+++ b/dart/packages/fory/example/manual_serializer.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'package:fory/fory.dart';
final class Person {
diff --git a/dart/packages/fory/lib/fory.dart b/dart/packages/fory/lib/fory.dart
index 2fafbb7d8..865a9c863 100644
--- a/dart/packages/fory/lib/fory.dart
+++ b/dart/packages/fory/lib/fory.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
/// Public API for the Apache Fory Dart xlang runtime.
///
/// Most applications only need [Fory], [Config], [ForyStruct], and
[ForyField].
diff --git a/dart/packages/fory/lib/src/annotation/fory_field.dart
b/dart/packages/fory/lib/src/annotation/fory_field.dart
index 691965fa8..555144c96 100644
--- a/dart/packages/fory/lib/src/annotation/fory_field.dart
+++ b/dart/packages/fory/lib/src/annotation/fory_field.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
/// Field-level code generation options for [ForyStruct].
final class ForyField {
/// Skips this field entirely in generated serializers.
diff --git a/dart/packages/fory/lib/src/annotation/fory_struct.dart
b/dart/packages/fory/lib/src/annotation/fory_struct.dart
index 685e2f8f4..9f21ce74a 100644
--- a/dart/packages/fory/lib/src/annotation/fory_struct.dart
+++ b/dart/packages/fory/lib/src/annotation/fory_struct.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
/// Marks a class for Fory struct code generation.
final class ForyStruct {
/// Whether the generated struct should use evolving field metadata.
diff --git a/dart/packages/fory/lib/src/annotation/fory_union.dart
b/dart/packages/fory/lib/src/annotation/fory_union.dart
index 9e21c6af1..0a628e248 100644
--- a/dart/packages/fory/lib/src/annotation/fory_union.dart
+++ b/dart/packages/fory/lib/src/annotation/fory_union.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
/// Marks a class as a Fory union type for generated field metadata.
final class ForyUnion {
/// Creates a union marker annotation.
diff --git a/dart/packages/fory/lib/src/annotation/numeric_types.dart
b/dart/packages/fory/lib/src/annotation/numeric_types.dart
index 330bc3dc4..d965b34ca 100644
--- a/dart/packages/fory/lib/src/annotation/numeric_types.dart
+++ b/dart/packages/fory/lib/src/annotation/numeric_types.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
/// Encodings available for 64-bit signed and unsigned integer fields.
enum LongEncoding {
/// Always use the fixed-width 64-bit wire form.
diff --git a/dart/packages/fory/lib/src/annotation/type_spec.dart
b/dart/packages/fory/lib/src/annotation/type_spec.dart
index 7847e2290..189ab4159 100644
--- a/dart/packages/fory/lib/src/annotation/type_spec.dart
+++ b/dart/packages/fory/lib/src/annotation/type_spec.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
/// Type-level annotations for configuring nested container elements.
///
/// Use [ListType] and [MapType] on fields to override default ref-tracking
diff --git a/dart/packages/fory/lib/src/buffer.dart
b/dart/packages/fory/lib/src/buffer.dart
index ded8b5f5c..94f92ca91 100644
--- a/dart/packages/fory/lib/src/buffer.dart
+++ b/dart/packages/fory/lib/src/buffer.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'dart:convert';
import 'dart:typed_data';
diff --git a/dart/packages/fory/lib/src/codegen/fory_builder.dart
b/dart/packages/fory/lib/src/codegen/fory_builder.dart
index cc972a4c4..679053b86 100644
--- a/dart/packages/fory/lib/src/codegen/fory_builder.dart
+++ b/dart/packages/fory/lib/src/codegen/fory_builder.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'package:build/build.dart';
import 'package:source_gen/source_gen.dart';
diff --git a/dart/packages/fory/lib/src/codegen/fory_generator.dart
b/dart/packages/fory/lib/src/codegen/fory_generator.dart
index e792995c7..03e6b3384 100644
--- a/dart/packages/fory/lib/src/codegen/fory_generator.dart
+++ b/dart/packages/fory/lib/src/codegen/fory_generator.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'dart:async';
import 'package:analyzer/dart/element/element.dart';
diff --git a/dart/packages/fory/lib/src/codegen/generated_registry.dart
b/dart/packages/fory/lib/src/codegen/generated_registry.dart
index 3e253739e..61368b7d4 100644
--- a/dart/packages/fory/lib/src/codegen/generated_registry.dart
+++ b/dart/packages/fory/lib/src/codegen/generated_registry.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'package:meta/meta.dart';
import 'package:fory/src/meta/field_info.dart';
diff --git a/dart/packages/fory/lib/src/codegen/generated_support.dart
b/dart/packages/fory/lib/src/codegen/generated_support.dart
index 798debc67..838b63c3c 100644
--- a/dart/packages/fory/lib/src/codegen/generated_support.dart
+++ b/dart/packages/fory/lib/src/codegen/generated_support.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'dart:typed_data';
import 'package:meta/meta.dart';
diff --git a/dart/packages/fory/lib/src/config.dart
b/dart/packages/fory/lib/src/config.dart
index 790780df1..908e113b0 100644
--- a/dart/packages/fory/lib/src/config.dart
+++ b/dart/packages/fory/lib/src/config.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
/// Runtime configuration for the Dart xlang implementation.
///
/// The defaults favor schema-consistent mode with conservative safety limits.
diff --git a/dart/packages/fory/lib/src/context/meta_string_reader.dart
b/dart/packages/fory/lib/src/context/meta_string_reader.dart
index d5833876b..ba44a68c8 100644
--- a/dart/packages/fory/lib/src/context/meta_string_reader.dart
+++ b/dart/packages/fory/lib/src/context/meta_string_reader.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'dart:typed_data';
import 'package:fory/src/buffer.dart';
diff --git a/dart/packages/fory/lib/src/context/meta_string_writer.dart
b/dart/packages/fory/lib/src/context/meta_string_writer.dart
index 0d523c020..b662d6218 100644
--- a/dart/packages/fory/lib/src/context/meta_string_writer.dart
+++ b/dart/packages/fory/lib/src/context/meta_string_writer.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'dart:collection';
import 'package:fory/src/buffer.dart';
diff --git a/dart/packages/fory/lib/src/context/read_context.dart
b/dart/packages/fory/lib/src/context/read_context.dart
index 6b2246b97..006a157dc 100644
--- a/dart/packages/fory/lib/src/context/read_context.dart
+++ b/dart/packages/fory/lib/src/context/read_context.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'package:meta/meta.dart';
import 'package:fory/src/buffer.dart';
diff --git a/dart/packages/fory/lib/src/context/ref_reader.dart
b/dart/packages/fory/lib/src/context/ref_reader.dart
index 497c8284e..50896cd38 100644
--- a/dart/packages/fory/lib/src/context/ref_reader.dart
+++ b/dart/packages/fory/lib/src/context/ref_reader.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'package:fory/src/buffer.dart';
import 'package:fory/src/context/ref_writer.dart';
diff --git a/dart/packages/fory/lib/src/context/ref_writer.dart
b/dart/packages/fory/lib/src/context/ref_writer.dart
index eac61eb25..a9a14ce2a 100644
--- a/dart/packages/fory/lib/src/context/ref_writer.dart
+++ b/dart/packages/fory/lib/src/context/ref_writer.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'dart:collection';
import 'package:fory/src/buffer.dart';
diff --git a/dart/packages/fory/lib/src/context/write_context.dart
b/dart/packages/fory/lib/src/context/write_context.dart
index cb2e28147..6ad9b1246 100644
--- a/dart/packages/fory/lib/src/context/write_context.dart
+++ b/dart/packages/fory/lib/src/context/write_context.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'dart:typed_data';
import 'dart:collection';
diff --git a/dart/packages/fory/lib/src/fory.dart
b/dart/packages/fory/lib/src/fory.dart
index 33a48587a..7d23db095 100644
--- a/dart/packages/fory/lib/src/fory.dart
+++ b/dart/packages/fory/lib/src/fory.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'dart:typed_data';
import 'package:fory/src/buffer.dart';
diff --git a/dart/packages/fory/lib/src/meta/field_info.dart
b/dart/packages/fory/lib/src/meta/field_info.dart
index 9d0b69a86..b3b525f3e 100644
--- a/dart/packages/fory/lib/src/meta/field_info.dart
+++ b/dart/packages/fory/lib/src/meta/field_info.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'package:fory/src/meta/field_type.dart';
final class FieldInfo {
diff --git a/dart/packages/fory/lib/src/meta/field_type.dart
b/dart/packages/fory/lib/src/meta/field_type.dart
index 7ab38ab5b..140f08689 100644
--- a/dart/packages/fory/lib/src/meta/field_type.dart
+++ b/dart/packages/fory/lib/src/meta/field_type.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'package:fory/src/meta/type_ids.dart';
final class FieldType {
diff --git a/dart/packages/fory/lib/src/meta/meta_string.dart
b/dart/packages/fory/lib/src/meta/meta_string.dart
index f47f2fdf2..935b4b47f 100644
--- a/dart/packages/fory/lib/src/meta/meta_string.dart
+++ b/dart/packages/fory/lib/src/meta/meta_string.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'dart:convert';
import 'dart:typed_data';
diff --git a/dart/packages/fory/lib/src/meta/type_def.dart
b/dart/packages/fory/lib/src/meta/type_def.dart
index d999cad29..934422321 100644
--- a/dart/packages/fory/lib/src/meta/type_def.dart
+++ b/dart/packages/fory/lib/src/meta/type_def.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'dart:typed_data';
import 'package:fory/src/meta/field_info.dart';
diff --git a/dart/packages/fory/lib/src/meta/type_ids.dart
b/dart/packages/fory/lib/src/meta/type_ids.dart
index 005774831..08fd2a5c3 100644
--- a/dart/packages/fory/lib/src/meta/type_ids.dart
+++ b/dart/packages/fory/lib/src/meta/type_ids.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
/// Cross-language type identifiers for Fory serialization.
abstract final class TypeIds {
static const int unknown = 0;
diff --git a/dart/packages/fory/lib/src/meta/type_meta.dart
b/dart/packages/fory/lib/src/meta/type_meta.dart
index 03d888df4..c046b7264 100644
--- a/dart/packages/fory/lib/src/meta/type_meta.dart
+++ b/dart/packages/fory/lib/src/meta/type_meta.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'dart:collection';
import 'package:fory/src/buffer.dart';
diff --git a/dart/packages/fory/lib/src/resolver/type_resolver.dart
b/dart/packages/fory/lib/src/resolver/type_resolver.dart
index 2189b781d..668aee535 100644
--- a/dart/packages/fory/lib/src/resolver/type_resolver.dart
+++ b/dart/packages/fory/lib/src/resolver/type_resolver.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'dart:collection';
import 'dart:typed_data';
diff --git a/dart/packages/fory/lib/src/serializer/collection_serializers.dart
b/dart/packages/fory/lib/src/serializer/collection_serializers.dart
index 7cb4d1262..1ab08613a 100644
--- a/dart/packages/fory/lib/src/serializer/collection_serializers.dart
+++ b/dart/packages/fory/lib/src/serializer/collection_serializers.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'package:fory/src/context/read_context.dart';
import 'package:fory/src/context/ref_writer.dart';
import 'package:fory/src/context/write_context.dart';
diff --git
a/dart/packages/fory/lib/src/serializer/compatible_struct_metadata.dart
b/dart/packages/fory/lib/src/serializer/compatible_struct_metadata.dart
index b084a8d47..2a41ee757 100644
--- a/dart/packages/fory/lib/src/serializer/compatible_struct_metadata.dart
+++ b/dart/packages/fory/lib/src/serializer/compatible_struct_metadata.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'package:fory/src/meta/type_def.dart';
abstract final class CompatibleStructMetadata {
diff --git a/dart/packages/fory/lib/src/serializer/enum_serializer.dart
b/dart/packages/fory/lib/src/serializer/enum_serializer.dart
index beecabe61..de8ed2b5a 100644
--- a/dart/packages/fory/lib/src/serializer/enum_serializer.dart
+++ b/dart/packages/fory/lib/src/serializer/enum_serializer.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'package:fory/src/serializer/serializer.dart';
/// Enum-specific serializer base used by generated enum serializers.
diff --git a/dart/packages/fory/lib/src/serializer/map_serializers.dart
b/dart/packages/fory/lib/src/serializer/map_serializers.dart
index 8f81ae64e..82659fca6 100644
--- a/dart/packages/fory/lib/src/serializer/map_serializers.dart
+++ b/dart/packages/fory/lib/src/serializer/map_serializers.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'package:fory/src/buffer.dart';
import 'package:fory/src/context/read_context.dart';
import 'package:fory/src/context/ref_writer.dart';
diff --git a/dart/packages/fory/lib/src/serializer/primitive_serializers.dart
b/dart/packages/fory/lib/src/serializer/primitive_serializers.dart
index e65d9f5f9..bb68f17e3 100644
--- a/dart/packages/fory/lib/src/serializer/primitive_serializers.dart
+++ b/dart/packages/fory/lib/src/serializer/primitive_serializers.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'package:fory/src/context/read_context.dart';
import 'package:fory/src/context/write_context.dart';
import 'package:fory/src/meta/type_ids.dart';
diff --git a/dart/packages/fory/lib/src/serializer/scalar_serializers.dart
b/dart/packages/fory/lib/src/serializer/scalar_serializers.dart
index e71d0edbb..c26f7c9b5 100644
--- a/dart/packages/fory/lib/src/serializer/scalar_serializers.dart
+++ b/dart/packages/fory/lib/src/serializer/scalar_serializers.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'dart:typed_data';
import 'package:fory/src/context/read_context.dart';
diff --git
a/dart/packages/fory/lib/src/serializer/serialization_field_info.dart
b/dart/packages/fory/lib/src/serializer/serialization_field_info.dart
index 71aa97791..d618213ed 100644
--- a/dart/packages/fory/lib/src/serializer/serialization_field_info.dart
+++ b/dart/packages/fory/lib/src/serializer/serialization_field_info.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'package:fory/src/meta/field_info.dart';
import 'package:fory/src/meta/field_type.dart';
import 'package:fory/src/resolver/type_resolver.dart';
diff --git a/dart/packages/fory/lib/src/serializer/serializer.dart
b/dart/packages/fory/lib/src/serializer/serializer.dart
index f887d7aa0..d8755086e 100644
--- a/dart/packages/fory/lib/src/serializer/serializer.dart
+++ b/dart/packages/fory/lib/src/serializer/serializer.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'package:fory/src/context/read_context.dart';
import 'package:fory/src/context/write_context.dart';
diff --git a/dart/packages/fory/lib/src/serializer/serializer_support.dart
b/dart/packages/fory/lib/src/serializer/serializer_support.dart
index 4798d310f..f11ae8af7 100644
--- a/dart/packages/fory/lib/src/serializer/serializer_support.dart
+++ b/dart/packages/fory/lib/src/serializer/serializer_support.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'package:fory/src/context/read_context.dart';
import 'package:fory/src/context/ref_writer.dart';
import 'package:fory/src/context/write_context.dart';
diff --git a/dart/packages/fory/lib/src/serializer/struct_serializer.dart
b/dart/packages/fory/lib/src/serializer/struct_serializer.dart
index 6c7cdde37..f6651c556 100644
--- a/dart/packages/fory/lib/src/serializer/struct_serializer.dart
+++ b/dart/packages/fory/lib/src/serializer/struct_serializer.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'package:fory/src/context/read_context.dart';
import 'package:fory/src/context/write_context.dart';
import 'package:fory/src/meta/field_info.dart';
diff --git a/dart/packages/fory/lib/src/serializer/struct_slots.dart
b/dart/packages/fory/lib/src/serializer/struct_slots.dart
index 8bd2dd56d..f3848798c 100644
--- a/dart/packages/fory/lib/src/serializer/struct_slots.dart
+++ b/dart/packages/fory/lib/src/serializer/struct_slots.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'package:meta/meta.dart';
import 'package:fory/src/serializer/serialization_field_info.dart';
diff --git a/dart/packages/fory/lib/src/serializer/typed_array_serializers.dart
b/dart/packages/fory/lib/src/serializer/typed_array_serializers.dart
index 048826fc7..ca8ca3dc6 100644
--- a/dart/packages/fory/lib/src/serializer/typed_array_serializers.dart
+++ b/dart/packages/fory/lib/src/serializer/typed_array_serializers.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'dart:typed_data';
import 'package:fory/src/context/read_context.dart';
diff --git a/dart/packages/fory/lib/src/serializer/union_serializer.dart
b/dart/packages/fory/lib/src/serializer/union_serializer.dart
index 3dd33a4c2..f42806fe0 100644
--- a/dart/packages/fory/lib/src/serializer/union_serializer.dart
+++ b/dart/packages/fory/lib/src/serializer/union_serializer.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'package:fory/src/serializer/serializer.dart';
/// Union-specific serializer base used by manual union serializers.
diff --git a/dart/packages/fory/lib/src/string_encoding.dart
b/dart/packages/fory/lib/src/string_encoding.dart
index 1ea078b0c..3a3b5f60d 100644
--- a/dart/packages/fory/lib/src/string_encoding.dart
+++ b/dart/packages/fory/lib/src/string_encoding.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'dart:convert';
import 'dart:typed_data';
diff --git a/dart/packages/fory/lib/src/types/fixed_ints.dart
b/dart/packages/fory/lib/src/types/fixed_ints.dart
index dcd770181..c9ec2b251 100644
--- a/dart/packages/fory/lib/src/types/fixed_ints.dart
+++ b/dart/packages/fory/lib/src/types/fixed_ints.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
abstract class _FixedInt implements Comparable<_FixedInt> {
final int value;
diff --git a/dart/packages/fory/lib/src/types/float16.dart
b/dart/packages/fory/lib/src/types/float16.dart
index 0ad8ad06f..90b4aac93 100644
--- a/dart/packages/fory/lib/src/types/float16.dart
+++ b/dart/packages/fory/lib/src/types/float16.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'dart:typed_data';
/// Half-precision floating-point wrapper used by the xlang type system.
diff --git a/dart/packages/fory/lib/src/types/float32.dart
b/dart/packages/fory/lib/src/types/float32.dart
index a6b1f78a7..94ca65c01 100644
--- a/dart/packages/fory/lib/src/types/float32.dart
+++ b/dart/packages/fory/lib/src/types/float32.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'dart:typed_data';
/// Single-precision floating-point wrapper used by the xlang type system.
diff --git a/dart/packages/fory/lib/src/types/local_date.dart
b/dart/packages/fory/lib/src/types/local_date.dart
index 601b506c5..4f8286880 100644
--- a/dart/packages/fory/lib/src/types/local_date.dart
+++ b/dart/packages/fory/lib/src/types/local_date.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
/// Calendar date without time-of-day or time-zone information.
final class LocalDate implements Comparable<LocalDate> {
/// Year component.
diff --git a/dart/packages/fory/lib/src/types/timestamp.dart
b/dart/packages/fory/lib/src/types/timestamp.dart
index 284149c46..e408502ba 100644
--- a/dart/packages/fory/lib/src/types/timestamp.dart
+++ b/dart/packages/fory/lib/src/types/timestamp.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
/// Timestamp with second and nanosecond precision in UTC.
final class Timestamp implements Comparable<Timestamp> {
/// Whole seconds since the Unix epoch.
diff --git a/dart/packages/fory/lib/src/util/hash_util.dart
b/dart/packages/fory/lib/src/util/hash_util.dart
index 6f04c7f8b..b6c211bd5 100644
--- a/dart/packages/fory/lib/src/util/hash_util.dart
+++ b/dart/packages/fory/lib/src/util/hash_util.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'dart:convert';
import 'package:fory/src/meta/field_info.dart';
diff --git a/dart/packages/fory/test/buffer_test.dart
b/dart/packages/fory/test/buffer_test.dart
index 754680330..a371d7232 100644
--- a/dart/packages/fory/test/buffer_test.dart
+++ b/dart/packages/fory/test/buffer_test.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'package:fory/fory.dart';
import 'package:test/test.dart';
diff --git a/dart/packages/fory/test/container_ref_test.dart
b/dart/packages/fory/test/container_ref_test.dart
index 7b74bb1b8..a58da73f8 100644
--- a/dart/packages/fory/test/container_ref_test.dart
+++ b/dart/packages/fory/test/container_ref_test.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'package:fory/fory.dart';
import 'package:test/test.dart';
diff --git a/dart/packages/fory/test/manual_registration_test.dart
b/dart/packages/fory/test/manual_registration_test.dart
index b3e378b9f..e6604b2bf 100644
--- a/dart/packages/fory/test/manual_registration_test.dart
+++ b/dart/packages/fory/test/manual_registration_test.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'package:fory/fory.dart';
import 'package:test/test.dart';
diff --git a/dart/packages/fory/test/string_encoding_test.dart
b/dart/packages/fory/test/string_encoding_test.dart
index 5d67a856d..bc07b26ab 100644
--- a/dart/packages/fory/test/string_encoding_test.dart
+++ b/dart/packages/fory/test/string_encoding_test.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'package:fory/src/buffer.dart';
import 'package:fory/src/string_encoding.dart';
import 'package:test/test.dart';
diff --git a/dart/packages/fory/test/type_spec_annotation_test.dart
b/dart/packages/fory/test/type_spec_annotation_test.dart
index c40df475a..717810b42 100644
--- a/dart/packages/fory/test/type_spec_annotation_test.dart
+++ b/dart/packages/fory/test/type_spec_annotation_test.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'package:fory/fory.dart';
import 'package:test/test.dart';
diff --git a/dart/test/workspace_smoke_test.dart
b/dart/test/workspace_smoke_test.dart
index 466aeed92..b6e3ee02b 100644
--- a/dart/test/workspace_smoke_test.dart
+++ b/dart/test/workspace_smoke_test.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'package:fory/fory.dart';
import 'package:test/test.dart';
diff --git a/integration_tests/idl_tests/dart/test/idl_roundtrip_test.dart
b/integration_tests/idl_tests/dart/test/idl_roundtrip_test.dart
index 0e1ee4f75..d5b0c26e0 100644
--- a/integration_tests/idl_tests/dart/test/idl_roundtrip_test.dart
+++ b/integration_tests/idl_tests/dart/test/idl_roundtrip_test.dart
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import 'dart:io';
import 'dart:typed_data';
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]