All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.babyfish.jimmer.client.meta.Visitor Maven / Gradle / Ivy

There is a newer version: 0.8.177
Show newest version
package org.babyfish.jimmer.client.meta;

import org.babyfish.jimmer.client.meta.impl.UnresolvedTypeVariableImpl;

public interface Visitor {

    default void visitingService(Service service) {}

    default void visitedService(Service service) {}

    default void visitingOperation(Operation operation) {}

    default void visitedOperation(Operation operation) {}

    default void visitParameter(Parameter parameter) {}


    default boolean isTypeVisitable(Type type) {
        return false; // Default value is false, because of circular reference
    }


    default void visitNullableType(NullableType nullableType) {}

    default void visitArrayType(ArrayType arrayType) {}

    default void visitMapType(MapType mapType) {}

    default boolean visitStaticObjectType(StaticObjectType staticObjectType) {
        return false;
    }

    default void visitImmutableObjectType(ImmutableObjectType immutableObjectType) {}

    default void visitEnumType(EnumType enumType) {}

    default void visitSimpleType(SimpleType simpleType) {}

    default void visitUnresolvedTypeVariable(UnresolvedTypeVariableImpl unresolvedTypeVariable) {}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy