Package io.micronaut.serde.support.util
Class SerdeArgumentConf
java.lang.Object
io.micronaut.serde.support.util.SerdeArgumentConf
Extra configuration placed at the argument.
- Since:
- 2.3.2
- Author:
- Denis Stepanov
-
Constructor Summary
ConstructorDescriptionSerdeArgumentConf
(io.micronaut.core.annotation.AnnotationMetadata annotationMetadata) -
Method Summary
Modifier and TypeMethodDescriptionapplyPrefixSuffix
(String name) Apply prefix/suffix.boolean
<Z> io.micronaut.core.type.Argument<Z>
extendArgumentWithPrefixSuffix
(io.micronaut.core.type.Argument<Z> argument) Extend existing argument annotation metadata to include a new prefix/suffix.@Nullable String[]
@Nullable String[]
@Nullable SubtypeInfo
int
hashCode()
@Nullable String[]
order()
resolveAllowPropertyPredicate
(boolean allowIgnoredProperties)
-
Constructor Details
-
SerdeArgumentConf
public SerdeArgumentConf(io.micronaut.core.annotation.AnnotationMetadata annotationMetadata)
-
-
Method Details
-
applyPrefixSuffix
Apply prefix/suffix.- Parameters:
name
- The name- Returns:
- The name with applied prefix/suffix
-
extendArgumentWithPrefixSuffix
public <Z> io.micronaut.core.type.Argument<Z> extendArgumentWithPrefixSuffix(io.micronaut.core.type.Argument<Z> argument) Extend existing argument annotation metadata to include a new prefix/suffix.- Type Parameters:
Z
- The argument type- Parameters:
argument
- The argument- Returns:
- The new argument or the previous one if not changes
-
resolveAllowPropertyPredicate
@Nullable public @Nullable Predicate<String> resolveAllowPropertyPredicate(boolean allowIgnoredProperties) - Parameters:
allowIgnoredProperties
- Should allow ignored properties- Returns:
- The predicate or null to include all
-
equals
-
hashCode
public int hashCode() -
order
- Returns:
- The order
-
getIgnored
- Returns:
- The ignored properties
-
getIncluded
- Returns:
- The included properties
-
getSubtypeInfo
-