@Documented @Target(value={FIELD,METHOD,TYPE,CONSTRUCTOR}) @Retention(value=RUNTIME) @Inherited public @interface BeanIgnore
Applied to classes that may look like beans, but you want to be treated as non-beans.
For example, if you want to force a bean to be converted to a string using the
Applies to fields that should not be interpreted as bean property fields.
Applies to getters or setters that should not be interpreted as bean property getters or setters.
public abstract String on
Used in conjunction with the BeanConfig.applyBeanIgnore()
.
It is ignored when the annotation is applied directly to classes/methods/fields/constructors.
Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.