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 | Name and Description |
---|---|
boolean |
callSuper Should super properties be called within a call to the parent constructor. |
String[] |
excludes List of field and/or property names to exclude from the constructor. |
boolean |
force By default, this annotation becomes a no-op if you provide your own constructor. |
boolean |
includeFields Include fields in the constructor. |
boolean |
includeProperties Include properties in the constructor. |
boolean |
includeSuperFields Include fields from super classes in the constructor. |
boolean |
includeSuperProperties Include properties from super classes in the constructor. |
String[] |
includes List of field and/or property names to include within the constructor. |
Should super properties be called within a call to the parent constructor. rather than set as properties @default false
List of field and/or property names to exclude from the constructor. Must not be used if 'includes' is used. For convenience, a String with comma separated names can be used in addition to an array (using Groovy's literal list notation) of String values. @default {}
By default, this annotation becomes a no-op if you provide your own constructor.
By setting force=true
then the tuple constructor(s) will be added regardless of
whether existing constructors exist. It is up to you to avoid creating duplicate constructors.
@default false
Include fields in the constructor. @default false
Include properties in the constructor. @default true
Include fields from super classes in the constructor. @default false
Include properties from super classes in the constructor. @default false
List of field and/or property names to include within the constructor. Must not be used if 'excludes' is used. For convenience, a String with comma separated names can be used in addition to an array (using Groovy's literal list notation) of String values. @default {}