org.babyfish.jimmer.client.source.SourceFile Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jimmer-client Show documentation
Show all versions of jimmer-client Show documentation
A revolutionary ORM framework for both java and kotlin
package org.babyfish.jimmer.client.source;
import org.babyfish.jimmer.client.generator.Render;
import org.jetbrains.annotations.Nullable;
import java.util.List;
import java.util.Objects;
class SourceFile extends AbstractSource {
private final List dirs;
private final String name;
public SourceFile(List dirs, String name, Render render) {
super(render);
this.dirs = dirs;
this.name = Objects.requireNonNull(name, "source name cannot be null");
}
@Override
public List getDirs() {
return dirs;
}
@Override
public String getName() {
return name;
}
@Nullable
@Override
public Source getParent() {
return null;
}
@Override
public Source getRoot() {
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy