Class OciSdkModelSerdeVisitor
java.lang.Object
io.micronaut.oraclecloud.httpclient.netty.visitor.OciSdkModelSerdeVisitor
- All Implemented Interfaces:
io.micronaut.core.order.Ordered
,io.micronaut.core.util.Toggleable
,io.micronaut.inject.visitor.TypeElementVisitor<Object,
Object>
@Internal
public class OciSdkModelSerdeVisitor
extends Object
implements io.micronaut.inject.visitor.TypeElementVisitor<Object,Object>
Type element visitor vising oci sdk models and enums.
Initiates the creation of serializable introspections for the models and enums. The introspections are written to a separate .introspection package. The introspections need to be used with the oraclecloud-httpclient-netty which defines the explicitly set property filter required for correct serialization.
Initiates the creation of serializable introspections for the models and enums. The introspections are written to a separate .introspection package. The introspections need to be used with the oraclecloud-httpclient-netty which defines the explicitly set property filter required for correct serialization.
- Since:
- 2.3.2
- Author:
- Andriy Dmytruk
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.inject.visitor.TypeElementVisitor
io.micronaut.inject.visitor.TypeElementVisitor.VisitorKind
-
Field Summary
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getOrder()
@NonNull io.micronaut.inject.visitor.TypeElementVisitor.VisitorKind
void
visitClass
(io.micronaut.inject.ast.ClassElement element, io.micronaut.inject.visitor.VisitorContext context) void
visitConstructor
(io.micronaut.inject.ast.ConstructorElement element, io.micronaut.inject.visitor.VisitorContext context) void
visitField
(io.micronaut.inject.ast.FieldElement element, io.micronaut.inject.visitor.VisitorContext context) void
visitMethod
(io.micronaut.inject.ast.MethodElement element, io.micronaut.inject.visitor.VisitorContext context) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.core.util.Toggleable
isEnabled
Methods inherited from interface io.micronaut.inject.visitor.TypeElementVisitor
finish, getClassType, getElementType, getSupportedAnnotationNames, getSupportedOptions, start, visitEnumConstant
-
Constructor Details
-
OciSdkModelSerdeVisitor
public OciSdkModelSerdeVisitor()
-
-
Method Details
-
getOrder
public int getOrder()- Specified by:
getOrder
in interfaceio.micronaut.core.order.Ordered
-
getVisitorKind
@NonNull public @NonNull io.micronaut.inject.visitor.TypeElementVisitor.VisitorKind getVisitorKind() -
visitClass
public void visitClass(io.micronaut.inject.ast.ClassElement element, io.micronaut.inject.visitor.VisitorContext context) -
visitField
public void visitField(io.micronaut.inject.ast.FieldElement element, io.micronaut.inject.visitor.VisitorContext context) -
visitConstructor
public void visitConstructor(io.micronaut.inject.ast.ConstructorElement element, io.micronaut.inject.visitor.VisitorContext context) -
visitMethod
public void visitMethod(io.micronaut.inject.ast.MethodElement element, io.micronaut.inject.visitor.VisitorContext context)
-