io.activej.serializer.def.AbstractSerializerDef Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of activej-serializer Show documentation
Show all versions of activej-serializer Show documentation
Extremely fast and space-efficient serializers. Implemented using bytecode engineering.
package io.activej.serializer.def;
import io.activej.serializer.CompatibilityLevel;
import java.util.Set;
public abstract class AbstractSerializerDef implements SerializerDef {
@Override
public void accept(Visitor visitor) {
}
@Override
public Set getVersions() {
return Set.of();
}
@Override
public boolean isInline(int version, CompatibilityLevel compatibilityLevel) {
return true;
}
@Override
public Class> getDecodeType() {
return getEncodeType();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy