1
mirror of https://github.com/CarmJos/EasyConfiguration.git synced 2026-06-04 18:48:20 +08:00

测试抽象类继承获取

This commit is contained in:
2022-04-18 22:38:49 +08:00
parent 0bda97d82a
commit 0d10a06547
5 changed files with 76 additions and 11 deletions
@@ -0,0 +1,16 @@
package config.model;
import org.jetbrains.annotations.NotNull;
public abstract class AbstractModel {
protected final @NotNull String name;
public AbstractModel(@NotNull String name) {
this.name = name;
}
public @NotNull String getName() {
return name;
}
}