From 7a7f242ff04dfe34d3daa3111a0a5768fb19c9b2 Mon Sep 17 00:00:00 2001 From: Ladislav Thon Date: Thu, 18 Jan 2024 13:12:30 +0100 Subject: [PATCH 1/2] Add RAT plugin to check copyright headers --- pom.xml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/pom.xml b/pom.xml index f470b521..906fed5e 100644 --- a/pom.xml +++ b/pom.xml @@ -74,6 +74,27 @@ + + + org.apache.rat + apache-rat-plugin + ${rat.version} + + + **/*.java + + + + + rat-check + verify + + check + + + + + @@ -89,6 +110,7 @@ false 2.23.0 1.9.0 + 0.16 https://jakarta.oss.sonatype.org/ ${sonatypeOssDistMgmtNexusUrl}content/repositories/staging/ From 79e06052ecc53cdba806aad000455400cbe2b288 Mon Sep 17 00:00:00 2001 From: Ladislav Thon Date: Thu, 18 Jan 2024 13:13:29 +0100 Subject: [PATCH 2/2] Add missing copyright headers to Java files Copyright owner and date was generated by finding the original author and date from the git history. --- .../java/jakarta/enterprise/event/Shutdown.java | 15 +++++++++++++++ .../java/jakarta/enterprise/event/Startup.java | 15 +++++++++++++++ .../enterprise/inject/spi/BeanContainer.java | 15 +++++++++++++++ .../enterprise/inject/spi/SecurityActions.java | 15 +++++++++++++++ .../jakarta/enterprise/util/SecurityActions.java | 15 +++++++++++++++ api/src/main/java/module-info.java | 15 +++++++++++++++ .../jboss/cdi/api/test/AnnotationLiteralTest.java | 15 +++++++++++++++ api/src/test/java/org/jboss/cdi/api/test/Foo.java | 15 +++++++++++++++ .../api/test/event/NotificationOptionsTest.java | 15 +++++++++++++++ .../api/test/privileged/CDIPrivilegedTest.java | 15 +++++++++++++++ .../cdi/api/test/privileged/FakeCDIProvider.java | 15 +++++++++++++++ .../inject/spi/el/ELAwareBeanManager.java | 15 +++++++++++++++ el/src/main/java/module-info.java | 15 +++++++++++++++ .../enterprise/lang/model/AnnotationInfo.java | 15 +++++++++++++++ .../enterprise/lang/model/AnnotationMember.java | 15 +++++++++++++++ .../enterprise/lang/model/AnnotationTarget.java | 15 +++++++++++++++ .../lang/model/declarations/ClassInfo.java | 15 +++++++++++++++ .../lang/model/declarations/DeclarationInfo.java | 15 +++++++++++++++ .../lang/model/declarations/FieldInfo.java | 15 +++++++++++++++ .../lang/model/declarations/MethodInfo.java | 15 +++++++++++++++ .../lang/model/declarations/PackageInfo.java | 15 +++++++++++++++ .../lang/model/declarations/ParameterInfo.java | 15 +++++++++++++++ .../model/declarations/RecordComponentInfo.java | 15 +++++++++++++++ .../lang/model/declarations/package-info.java | 15 +++++++++++++++ .../enterprise/lang/model/package-info.java | 15 +++++++++++++++ .../enterprise/lang/model/types/ArrayType.java | 15 +++++++++++++++ .../enterprise/lang/model/types/ClassType.java | 15 +++++++++++++++ .../lang/model/types/ParameterizedType.java | 15 +++++++++++++++ .../lang/model/types/PrimitiveType.java | 15 +++++++++++++++ .../jakarta/enterprise/lang/model/types/Type.java | 15 +++++++++++++++ .../enterprise/lang/model/types/TypeVariable.java | 15 +++++++++++++++ .../enterprise/lang/model/types/VoidType.java | 15 +++++++++++++++ .../enterprise/lang/model/types/WildcardType.java | 15 +++++++++++++++ .../enterprise/lang/model/types/package-info.java | 15 +++++++++++++++ lang-model/src/main/java/module-info.java | 15 +++++++++++++++ 35 files changed, 525 insertions(+) diff --git a/api/src/main/java/jakarta/enterprise/event/Shutdown.java b/api/src/main/java/jakarta/enterprise/event/Shutdown.java index 74e963cb..7dccd8ac 100644 --- a/api/src/main/java/jakarta/enterprise/event/Shutdown.java +++ b/api/src/main/java/jakarta/enterprise/event/Shutdown.java @@ -1,3 +1,18 @@ +/* + * Copyright 2021, Red Hat, Inc., and individual contributors + * by the @authors tag. See the copyright.txt in the distribution for a + * full listing of individual contributors. + * + * Licensed 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. + */ package jakarta.enterprise.event; /** diff --git a/api/src/main/java/jakarta/enterprise/event/Startup.java b/api/src/main/java/jakarta/enterprise/event/Startup.java index 412afe47..f50c75ea 100644 --- a/api/src/main/java/jakarta/enterprise/event/Startup.java +++ b/api/src/main/java/jakarta/enterprise/event/Startup.java @@ -1,3 +1,18 @@ +/* + * Copyright 2021, Red Hat, Inc., and individual contributors + * by the @authors tag. See the copyright.txt in the distribution for a + * full listing of individual contributors. + * + * Licensed 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. + */ package jakarta.enterprise.event; /** diff --git a/api/src/main/java/jakarta/enterprise/inject/spi/BeanContainer.java b/api/src/main/java/jakarta/enterprise/inject/spi/BeanContainer.java index 2939ea7c..a82a5bf9 100644 --- a/api/src/main/java/jakarta/enterprise/inject/spi/BeanContainer.java +++ b/api/src/main/java/jakarta/enterprise/inject/spi/BeanContainer.java @@ -1,3 +1,18 @@ +/* + * Copyright 2021, Red Hat, Inc., and individual contributors + * by the @authors tag. See the copyright.txt in the distribution for a + * full listing of individual contributors. + * + * Licensed 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. + */ package jakarta.enterprise.inject.spi; import java.lang.annotation.Annotation; diff --git a/api/src/main/java/jakarta/enterprise/inject/spi/SecurityActions.java b/api/src/main/java/jakarta/enterprise/inject/spi/SecurityActions.java index 56aa55bb..2439921f 100644 --- a/api/src/main/java/jakarta/enterprise/inject/spi/SecurityActions.java +++ b/api/src/main/java/jakarta/enterprise/inject/spi/SecurityActions.java @@ -1,3 +1,18 @@ +/* + * Copyright 2019, Red Hat, Inc., and individual contributors + * by the @authors tag. See the copyright.txt in the distribution for a + * full listing of individual contributors. + * + * Licensed 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. + */ /* * Copyright 2018, Red Hat, Inc., and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a diff --git a/api/src/main/java/jakarta/enterprise/util/SecurityActions.java b/api/src/main/java/jakarta/enterprise/util/SecurityActions.java index 36364e83..637de7f5 100644 --- a/api/src/main/java/jakarta/enterprise/util/SecurityActions.java +++ b/api/src/main/java/jakarta/enterprise/util/SecurityActions.java @@ -1,3 +1,18 @@ +/* + * Copyright 2019, Red Hat, Inc., and individual contributors + * by the @authors tag. See the copyright.txt in the distribution for a + * full listing of individual contributors. + * + * Licensed 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. + */ /* * Copyright 2018, Red Hat, Inc., and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a diff --git a/api/src/main/java/module-info.java b/api/src/main/java/module-info.java index 4239d4d3..fb3417d5 100644 --- a/api/src/main/java/module-info.java +++ b/api/src/main/java/module-info.java @@ -1,3 +1,18 @@ +/* + * Copyright 2021, Red Hat, Inc., and individual contributors + * by the @authors tag. See the copyright.txt in the distribution for a + * full listing of individual contributors. + * + * Licensed 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. + */ module jakarta.cdi { exports jakarta.decorator; exports jakarta.enterprise.context; diff --git a/api/src/test/java/org/jboss/cdi/api/test/AnnotationLiteralTest.java b/api/src/test/java/org/jboss/cdi/api/test/AnnotationLiteralTest.java index f6eb8c85..2667a07a 100644 --- a/api/src/test/java/org/jboss/cdi/api/test/AnnotationLiteralTest.java +++ b/api/src/test/java/org/jboss/cdi/api/test/AnnotationLiteralTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011, Red Hat, Inc., and individual contributors + * by the @authors tag. See the copyright.txt in the distribution for a + * full listing of individual contributors. + * + * Licensed 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. + */ package org.jboss.cdi.api.test; import static org.testng.Assert.assertEquals; diff --git a/api/src/test/java/org/jboss/cdi/api/test/Foo.java b/api/src/test/java/org/jboss/cdi/api/test/Foo.java index 4a6d09c9..0c912606 100644 --- a/api/src/test/java/org/jboss/cdi/api/test/Foo.java +++ b/api/src/test/java/org/jboss/cdi/api/test/Foo.java @@ -1,3 +1,18 @@ +/* + * Copyright 2011, Red Hat, Inc., and individual contributors + * by the @authors tag. See the copyright.txt in the distribution for a + * full listing of individual contributors. + * + * Licensed 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. + */ package org.jboss.cdi.api.test; import java.lang.annotation.Retention; diff --git a/api/src/test/java/org/jboss/cdi/api/test/event/NotificationOptionsTest.java b/api/src/test/java/org/jboss/cdi/api/test/event/NotificationOptionsTest.java index 95e032c7..fd760d7d 100644 --- a/api/src/test/java/org/jboss/cdi/api/test/event/NotificationOptionsTest.java +++ b/api/src/test/java/org/jboss/cdi/api/test/event/NotificationOptionsTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2016, Red Hat, Inc., and individual contributors + * by the @authors tag. See the copyright.txt in the distribution for a + * full listing of individual contributors. + * + * Licensed 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. + */ package org.jboss.cdi.api.test.event; import static org.testng.Assert.assertEquals; diff --git a/api/src/test/java/org/jboss/cdi/api/test/privileged/CDIPrivilegedTest.java b/api/src/test/java/org/jboss/cdi/api/test/privileged/CDIPrivilegedTest.java index 16588a78..d1118fa2 100644 --- a/api/src/test/java/org/jboss/cdi/api/test/privileged/CDIPrivilegedTest.java +++ b/api/src/test/java/org/jboss/cdi/api/test/privileged/CDIPrivilegedTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2018, Red Hat, Inc., and individual contributors + * by the @authors tag. See the copyright.txt in the distribution for a + * full listing of individual contributors. + * + * Licensed 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. + */ /* * Copyright 2018, Red Hat, Inc., and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a diff --git a/api/src/test/java/org/jboss/cdi/api/test/privileged/FakeCDIProvider.java b/api/src/test/java/org/jboss/cdi/api/test/privileged/FakeCDIProvider.java index e583ef9d..d34110ed 100644 --- a/api/src/test/java/org/jboss/cdi/api/test/privileged/FakeCDIProvider.java +++ b/api/src/test/java/org/jboss/cdi/api/test/privileged/FakeCDIProvider.java @@ -1,3 +1,18 @@ +/* + * Copyright 2018, Red Hat, Inc., and individual contributors + * by the @authors tag. See the copyright.txt in the distribution for a + * full listing of individual contributors. + * + * Licensed 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. + */ /* * Copyright 2018, Red Hat, Inc., and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a diff --git a/el/src/main/java/jakarta/enterprise/inject/spi/el/ELAwareBeanManager.java b/el/src/main/java/jakarta/enterprise/inject/spi/el/ELAwareBeanManager.java index 4754c8d6..f87232a5 100644 --- a/el/src/main/java/jakarta/enterprise/inject/spi/el/ELAwareBeanManager.java +++ b/el/src/main/java/jakarta/enterprise/inject/spi/el/ELAwareBeanManager.java @@ -1,3 +1,18 @@ +/* + * Copyright 2023, Red Hat, Inc., and individual contributors + * by the @authors tag. See the copyright.txt in the distribution for a + * full listing of individual contributors. + * + * Licensed 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. + */ package jakarta.enterprise.inject.spi.el; import jakarta.el.ELResolver; diff --git a/el/src/main/java/module-info.java b/el/src/main/java/module-info.java index 61de99b2..b70f6951 100644 --- a/el/src/main/java/module-info.java +++ b/el/src/main/java/module-info.java @@ -1,3 +1,18 @@ +/* + * Copyright 2023, Red Hat, Inc., and individual contributors + * by the @authors tag. See the copyright.txt in the distribution for a + * full listing of individual contributors. + * + * Licensed 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. + */ module jakarta.cdi.el { exports jakarta.enterprise.inject.spi.el; diff --git a/lang-model/src/main/java/jakarta/enterprise/lang/model/AnnotationInfo.java b/lang-model/src/main/java/jakarta/enterprise/lang/model/AnnotationInfo.java index 6172785d..7501961c 100644 --- a/lang-model/src/main/java/jakarta/enterprise/lang/model/AnnotationInfo.java +++ b/lang-model/src/main/java/jakarta/enterprise/lang/model/AnnotationInfo.java @@ -1,3 +1,18 @@ +/* + * Copyright 2021, Red Hat, Inc., and individual contributors + * by the @authors tag. See the copyright.txt in the distribution for a + * full listing of individual contributors. + * + * Licensed 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. + */ package jakarta.enterprise.lang.model; import java.lang.annotation.Repeatable; diff --git a/lang-model/src/main/java/jakarta/enterprise/lang/model/AnnotationMember.java b/lang-model/src/main/java/jakarta/enterprise/lang/model/AnnotationMember.java index 892022b9..ddc36754 100644 --- a/lang-model/src/main/java/jakarta/enterprise/lang/model/AnnotationMember.java +++ b/lang-model/src/main/java/jakarta/enterprise/lang/model/AnnotationMember.java @@ -1,3 +1,18 @@ +/* + * Copyright 2021, Red Hat, Inc., and individual contributors + * by the @authors tag. See the copyright.txt in the distribution for a + * full listing of individual contributors. + * + * Licensed 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. + */ package jakarta.enterprise.lang.model; import java.util.List; diff --git a/lang-model/src/main/java/jakarta/enterprise/lang/model/AnnotationTarget.java b/lang-model/src/main/java/jakarta/enterprise/lang/model/AnnotationTarget.java index b34233bc..3d6f3395 100644 --- a/lang-model/src/main/java/jakarta/enterprise/lang/model/AnnotationTarget.java +++ b/lang-model/src/main/java/jakarta/enterprise/lang/model/AnnotationTarget.java @@ -1,3 +1,18 @@ +/* + * Copyright 2021, Red Hat, Inc., and individual contributors + * by the @authors tag. See the copyright.txt in the distribution for a + * full listing of individual contributors. + * + * Licensed 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. + */ package jakarta.enterprise.lang.model; import java.lang.annotation.Annotation; diff --git a/lang-model/src/main/java/jakarta/enterprise/lang/model/declarations/ClassInfo.java b/lang-model/src/main/java/jakarta/enterprise/lang/model/declarations/ClassInfo.java index 836faf7e..04a48b89 100644 --- a/lang-model/src/main/java/jakarta/enterprise/lang/model/declarations/ClassInfo.java +++ b/lang-model/src/main/java/jakarta/enterprise/lang/model/declarations/ClassInfo.java @@ -1,3 +1,18 @@ +/* + * Copyright 2021, Red Hat, Inc., and individual contributors + * by the @authors tag. See the copyright.txt in the distribution for a + * full listing of individual contributors. + * + * Licensed 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. + */ package jakarta.enterprise.lang.model.declarations; import java.util.Collection; diff --git a/lang-model/src/main/java/jakarta/enterprise/lang/model/declarations/DeclarationInfo.java b/lang-model/src/main/java/jakarta/enterprise/lang/model/declarations/DeclarationInfo.java index 4c64bbab..1a0cfc77 100644 --- a/lang-model/src/main/java/jakarta/enterprise/lang/model/declarations/DeclarationInfo.java +++ b/lang-model/src/main/java/jakarta/enterprise/lang/model/declarations/DeclarationInfo.java @@ -1,3 +1,18 @@ +/* + * Copyright 2021, Red Hat, Inc., and individual contributors + * by the @authors tag. See the copyright.txt in the distribution for a + * full listing of individual contributors. + * + * Licensed 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. + */ package jakarta.enterprise.lang.model.declarations; import jakarta.enterprise.lang.model.AnnotationTarget; diff --git a/lang-model/src/main/java/jakarta/enterprise/lang/model/declarations/FieldInfo.java b/lang-model/src/main/java/jakarta/enterprise/lang/model/declarations/FieldInfo.java index b26832d8..e3543ed1 100644 --- a/lang-model/src/main/java/jakarta/enterprise/lang/model/declarations/FieldInfo.java +++ b/lang-model/src/main/java/jakarta/enterprise/lang/model/declarations/FieldInfo.java @@ -1,3 +1,18 @@ +/* + * Copyright 2021, Red Hat, Inc., and individual contributors + * by the @authors tag. See the copyright.txt in the distribution for a + * full listing of individual contributors. + * + * Licensed 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. + */ package jakarta.enterprise.lang.model.declarations; import jakarta.enterprise.lang.model.types.Type; diff --git a/lang-model/src/main/java/jakarta/enterprise/lang/model/declarations/MethodInfo.java b/lang-model/src/main/java/jakarta/enterprise/lang/model/declarations/MethodInfo.java index c519e816..a6fcc8bf 100644 --- a/lang-model/src/main/java/jakarta/enterprise/lang/model/declarations/MethodInfo.java +++ b/lang-model/src/main/java/jakarta/enterprise/lang/model/declarations/MethodInfo.java @@ -1,3 +1,18 @@ +/* + * Copyright 2021, Red Hat, Inc., and individual contributors + * by the @authors tag. See the copyright.txt in the distribution for a + * full listing of individual contributors. + * + * Licensed 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. + */ package jakarta.enterprise.lang.model.declarations; import java.util.List; diff --git a/lang-model/src/main/java/jakarta/enterprise/lang/model/declarations/PackageInfo.java b/lang-model/src/main/java/jakarta/enterprise/lang/model/declarations/PackageInfo.java index 51ff1a0f..ec72b9e4 100644 --- a/lang-model/src/main/java/jakarta/enterprise/lang/model/declarations/PackageInfo.java +++ b/lang-model/src/main/java/jakarta/enterprise/lang/model/declarations/PackageInfo.java @@ -1,3 +1,18 @@ +/* + * Copyright 2021, Red Hat, Inc., and individual contributors + * by the @authors tag. See the copyright.txt in the distribution for a + * full listing of individual contributors. + * + * Licensed 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. + */ package jakarta.enterprise.lang.model.declarations; /** diff --git a/lang-model/src/main/java/jakarta/enterprise/lang/model/declarations/ParameterInfo.java b/lang-model/src/main/java/jakarta/enterprise/lang/model/declarations/ParameterInfo.java index 5c625a6a..50c2ede7 100644 --- a/lang-model/src/main/java/jakarta/enterprise/lang/model/declarations/ParameterInfo.java +++ b/lang-model/src/main/java/jakarta/enterprise/lang/model/declarations/ParameterInfo.java @@ -1,3 +1,18 @@ +/* + * Copyright 2021, Red Hat, Inc., and individual contributors + * by the @authors tag. See the copyright.txt in the distribution for a + * full listing of individual contributors. + * + * Licensed 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. + */ package jakarta.enterprise.lang.model.declarations; import jakarta.enterprise.lang.model.types.Type; diff --git a/lang-model/src/main/java/jakarta/enterprise/lang/model/declarations/RecordComponentInfo.java b/lang-model/src/main/java/jakarta/enterprise/lang/model/declarations/RecordComponentInfo.java index 59195eb2..10576ec4 100644 --- a/lang-model/src/main/java/jakarta/enterprise/lang/model/declarations/RecordComponentInfo.java +++ b/lang-model/src/main/java/jakarta/enterprise/lang/model/declarations/RecordComponentInfo.java @@ -1,3 +1,18 @@ +/* + * Copyright 2021, Red Hat, Inc., and individual contributors + * by the @authors tag. See the copyright.txt in the distribution for a + * full listing of individual contributors. + * + * Licensed 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. + */ package jakarta.enterprise.lang.model.declarations; import jakarta.enterprise.lang.model.types.Type; diff --git a/lang-model/src/main/java/jakarta/enterprise/lang/model/declarations/package-info.java b/lang-model/src/main/java/jakarta/enterprise/lang/model/declarations/package-info.java index 93e15d9b..371432e6 100644 --- a/lang-model/src/main/java/jakarta/enterprise/lang/model/declarations/package-info.java +++ b/lang-model/src/main/java/jakarta/enterprise/lang/model/declarations/package-info.java @@ -1,3 +1,18 @@ +/* + * Copyright 2021, Red Hat, Inc., and individual contributors + * by the @authors tag. See the copyright.txt in the distribution for a + * full listing of individual contributors. + * + * Licensed 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. + */ /** * Interfaces that represent {@linkplain jakarta.enterprise.lang.model.declarations.DeclarationInfo declarations}. */ diff --git a/lang-model/src/main/java/jakarta/enterprise/lang/model/package-info.java b/lang-model/src/main/java/jakarta/enterprise/lang/model/package-info.java index e0d065db..95bf4262 100644 --- a/lang-model/src/main/java/jakarta/enterprise/lang/model/package-info.java +++ b/lang-model/src/main/java/jakarta/enterprise/lang/model/package-info.java @@ -1,3 +1,18 @@ +/* + * Copyright 2021, Red Hat, Inc., and individual contributors + * by the @authors tag. See the copyright.txt in the distribution for a + * full listing of individual contributors. + * + * Licensed 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. + */ /** * The core interfaces of the language model that represent * {@linkplain jakarta.enterprise.lang.model.AnnotationInfo annotations} and diff --git a/lang-model/src/main/java/jakarta/enterprise/lang/model/types/ArrayType.java b/lang-model/src/main/java/jakarta/enterprise/lang/model/types/ArrayType.java index 542d0a94..665ebcb5 100644 --- a/lang-model/src/main/java/jakarta/enterprise/lang/model/types/ArrayType.java +++ b/lang-model/src/main/java/jakarta/enterprise/lang/model/types/ArrayType.java @@ -1,3 +1,18 @@ +/* + * Copyright 2021, Red Hat, Inc., and individual contributors + * by the @authors tag. See the copyright.txt in the distribution for a + * full listing of individual contributors. + * + * Licensed 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. + */ package jakarta.enterprise.lang.model.types; /** diff --git a/lang-model/src/main/java/jakarta/enterprise/lang/model/types/ClassType.java b/lang-model/src/main/java/jakarta/enterprise/lang/model/types/ClassType.java index 24e8bc59..4b79468d 100644 --- a/lang-model/src/main/java/jakarta/enterprise/lang/model/types/ClassType.java +++ b/lang-model/src/main/java/jakarta/enterprise/lang/model/types/ClassType.java @@ -1,3 +1,18 @@ +/* + * Copyright 2021, Red Hat, Inc., and individual contributors + * by the @authors tag. See the copyright.txt in the distribution for a + * full listing of individual contributors. + * + * Licensed 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. + */ package jakarta.enterprise.lang.model.types; import jakarta.enterprise.lang.model.declarations.ClassInfo; diff --git a/lang-model/src/main/java/jakarta/enterprise/lang/model/types/ParameterizedType.java b/lang-model/src/main/java/jakarta/enterprise/lang/model/types/ParameterizedType.java index 82f1192e..18939b1b 100644 --- a/lang-model/src/main/java/jakarta/enterprise/lang/model/types/ParameterizedType.java +++ b/lang-model/src/main/java/jakarta/enterprise/lang/model/types/ParameterizedType.java @@ -1,3 +1,18 @@ +/* + * Copyright 2021, Red Hat, Inc., and individual contributors + * by the @authors tag. See the copyright.txt in the distribution for a + * full listing of individual contributors. + * + * Licensed 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. + */ package jakarta.enterprise.lang.model.types; import java.util.List; diff --git a/lang-model/src/main/java/jakarta/enterprise/lang/model/types/PrimitiveType.java b/lang-model/src/main/java/jakarta/enterprise/lang/model/types/PrimitiveType.java index 9ff246f9..940ef0de 100644 --- a/lang-model/src/main/java/jakarta/enterprise/lang/model/types/PrimitiveType.java +++ b/lang-model/src/main/java/jakarta/enterprise/lang/model/types/PrimitiveType.java @@ -1,3 +1,18 @@ +/* + * Copyright 2021, Red Hat, Inc., and individual contributors + * by the @authors tag. See the copyright.txt in the distribution for a + * full listing of individual contributors. + * + * Licensed 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. + */ package jakarta.enterprise.lang.model.types; /** diff --git a/lang-model/src/main/java/jakarta/enterprise/lang/model/types/Type.java b/lang-model/src/main/java/jakarta/enterprise/lang/model/types/Type.java index ae115d15..280f9cd7 100644 --- a/lang-model/src/main/java/jakarta/enterprise/lang/model/types/Type.java +++ b/lang-model/src/main/java/jakarta/enterprise/lang/model/types/Type.java @@ -1,3 +1,18 @@ +/* + * Copyright 2021, Red Hat, Inc., and individual contributors + * by the @authors tag. See the copyright.txt in the distribution for a + * full listing of individual contributors. + * + * Licensed 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. + */ package jakarta.enterprise.lang.model.types; import jakarta.enterprise.lang.model.AnnotationTarget; diff --git a/lang-model/src/main/java/jakarta/enterprise/lang/model/types/TypeVariable.java b/lang-model/src/main/java/jakarta/enterprise/lang/model/types/TypeVariable.java index cd6830dd..090a5451 100644 --- a/lang-model/src/main/java/jakarta/enterprise/lang/model/types/TypeVariable.java +++ b/lang-model/src/main/java/jakarta/enterprise/lang/model/types/TypeVariable.java @@ -1,3 +1,18 @@ +/* + * Copyright 2021, Red Hat, Inc., and individual contributors + * by the @authors tag. See the copyright.txt in the distribution for a + * full listing of individual contributors. + * + * Licensed 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. + */ package jakarta.enterprise.lang.model.types; import java.util.List; diff --git a/lang-model/src/main/java/jakarta/enterprise/lang/model/types/VoidType.java b/lang-model/src/main/java/jakarta/enterprise/lang/model/types/VoidType.java index a9029fec..b51fa862 100644 --- a/lang-model/src/main/java/jakarta/enterprise/lang/model/types/VoidType.java +++ b/lang-model/src/main/java/jakarta/enterprise/lang/model/types/VoidType.java @@ -1,3 +1,18 @@ +/* + * Copyright 2021, Red Hat, Inc., and individual contributors + * by the @authors tag. See the copyright.txt in the distribution for a + * full listing of individual contributors. + * + * Licensed 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. + */ package jakarta.enterprise.lang.model.types; /** diff --git a/lang-model/src/main/java/jakarta/enterprise/lang/model/types/WildcardType.java b/lang-model/src/main/java/jakarta/enterprise/lang/model/types/WildcardType.java index c2949fe6..693711f0 100644 --- a/lang-model/src/main/java/jakarta/enterprise/lang/model/types/WildcardType.java +++ b/lang-model/src/main/java/jakarta/enterprise/lang/model/types/WildcardType.java @@ -1,3 +1,18 @@ +/* + * Copyright 2021, Red Hat, Inc., and individual contributors + * by the @authors tag. See the copyright.txt in the distribution for a + * full listing of individual contributors. + * + * Licensed 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. + */ package jakarta.enterprise.lang.model.types; /** diff --git a/lang-model/src/main/java/jakarta/enterprise/lang/model/types/package-info.java b/lang-model/src/main/java/jakarta/enterprise/lang/model/types/package-info.java index 716200d4..2707a1cb 100644 --- a/lang-model/src/main/java/jakarta/enterprise/lang/model/types/package-info.java +++ b/lang-model/src/main/java/jakarta/enterprise/lang/model/types/package-info.java @@ -1,3 +1,18 @@ +/* + * Copyright 2021, Red Hat, Inc., and individual contributors + * by the @authors tag. See the copyright.txt in the distribution for a + * full listing of individual contributors. + * + * Licensed 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. + */ /** * Interfaces that represent {@linkplain jakarta.enterprise.lang.model.types.Type types}. */ diff --git a/lang-model/src/main/java/module-info.java b/lang-model/src/main/java/module-info.java index 6902e6c2..1ec025ce 100644 --- a/lang-model/src/main/java/module-info.java +++ b/lang-model/src/main/java/module-info.java @@ -1,3 +1,18 @@ +/* + * Copyright 2021, Red Hat, Inc., and individual contributors + * by the @authors tag. See the copyright.txt in the distribution for a + * full listing of individual contributors. + * + * Licensed 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. + */ module jakarta.cdi.lang.model { exports jakarta.enterprise.lang.model; exports jakarta.enterprise.lang.model.declarations;