From 2b7432167dbd1bf21dcfbabb78b8ecade893aa13 Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff Date: Thu, 23 May 2024 12:59:59 -0500 Subject: [PATCH] Actually add the @QIgnore annotation :) --- .../qqq/backend/core/model/data/QIgnore.java | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 qqq-backend-core/src/main/java/com/kingsrook/qqq/backend/core/model/data/QIgnore.java diff --git a/qqq-backend-core/src/main/java/com/kingsrook/qqq/backend/core/model/data/QIgnore.java b/qqq-backend-core/src/main/java/com/kingsrook/qqq/backend/core/model/data/QIgnore.java new file mode 100644 index 00000000..9c702049 --- /dev/null +++ b/qqq-backend-core/src/main/java/com/kingsrook/qqq/backend/core/model/data/QIgnore.java @@ -0,0 +1,39 @@ +/* + * QQQ - Low-code Application Framework for Engineers. + * Copyright (C) 2021-2024. Kingsrook, LLC + * 651 N Broad St Ste 205 # 6917 | Middletown DE 19709 | United States + * contact@kingsrook.com + * https://github.com/Kingsrook/ + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +package com.kingsrook.qqq.backend.core.model.data; + + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + + +/******************************************************************************* + ** Marker - that a piece of code should be ignored (e.g., a field not treated as + ** a @QField) + *******************************************************************************/ +@Target({ ElementType.FIELD, ElementType.METHOD }) +@Retention(RetentionPolicy.RUNTIME) +public @interface QIgnore +{ +}