public final class GeneratedAnnotationResolver
extends java.lang.Object
GeneratedAnnotationClassResolver
provides class name resolving functionality for resolving the annotation
type to be used on Serializer
s generated sources.Modifier and Type | Method and Description |
---|---|
static java.lang.Class<? extends java.lang.annotation.Annotation> |
resolve(@Nullable java.lang.String generatedAnnotationClass)
Use the
generatedAnnotationClass or use the JDK one. |
static java.lang.Class<? extends java.lang.annotation.Annotation> |
resolveDefault()
Resolve the java
@Generated annotation (can be of type javax.annotation.Generated
or javax.annotation.processing.Generated depending on the java version. |
public static java.lang.Class<? extends java.lang.annotation.Annotation> resolve(@Nullable @Nullable java.lang.String generatedAnnotationClass)
generatedAnnotationClass
or use the JDK one.
A null generatedAnnotationClass
will resolve to the java @Generated
annotation (can be of type javax.annotation.Generated
or javax.annotation.processing.Generated
depending on the java version.
generatedAnnotationClass
- the fully qualified class name of the Single-Element Annotation (with String
element)
to use or null
.generatedAnnotationClass
if not null
or the one from java. Never null
.public static java.lang.Class<? extends java.lang.annotation.Annotation> resolveDefault()
@Generated
annotation (can be of type javax.annotation.Generated
or javax.annotation.processing.Generated
depending on the java version.null
.Copyright © 2007–2021 Querydsl. All rights reserved.