Update
This commit is contained in:
parent
ae89ce5a30
commit
bdf037da06
@ -41,9 +41,10 @@ public class GenDataSuperX extends ClassGenerator {
|
||||
classBuilder.addSuperinterface(iTypeClass);
|
||||
});
|
||||
|
||||
dataModel.getExtendsInterfaces(typeSuper).distinct().forEach(superType -> {
|
||||
classBuilder.addSuperinterface(superType.getJTypeName(basePackageName));
|
||||
});
|
||||
Stream
|
||||
.concat(dataModel.getSuperTypesOf(typeSuper, true), dataModel.getExtendsInterfaces(typeSuper))
|
||||
.distinct()
|
||||
.forEach(superType -> classBuilder.addSuperinterface(superType.getJTypeName(basePackageName)));
|
||||
|
||||
Stream
|
||||
.concat(dataModel.getCommonInterfaceData(typeSuper), dataModel.getCommonInterfaceGetters(typeSuper))
|
||||
@ -71,10 +72,6 @@ public class GenDataSuperX extends ClassGenerator {
|
||||
classBuilder.addMethod(setter.build());
|
||||
});
|
||||
|
||||
dataModel.getSuperTypesOf(typeSuper, true).forEach(superType -> {
|
||||
classBuilder.addSuperinterface(superType.getJTypeName(basePackageName));
|
||||
});
|
||||
|
||||
classBuilder.addMethod(MethodSpec
|
||||
.methodBuilder("getMetaId$" + typeSuper.getName())
|
||||
.addModifiers(Modifier.PUBLIC, Modifier.ABSTRACT)
|
||||
|
Loading…
Reference in New Issue
Block a user