@Override public List<metadslx.core.MetaProperty> MetaClass_getAllProperties( metadslx.core.MetaClass _this) { ArrayList<MetaProperty> result = new ArrayList<>(); for (MetaProperty prop : _this.getProperties()) { result.add(prop); } for (MetaClass cls : _this.getAllSuperClasses()) { for (MetaProperty prop : cls.getProperties()) { result.add(prop); } } return result; }
@Override public List<metadslx.core.MetaOperation> MetaClass_getAllOperations( metadslx.core.MetaClass _this) { ArrayList<MetaOperation> result = new ArrayList<>(); for (MetaOperation oper : _this.getOperations()) { result.add(oper); } for (MetaClass cls : _this.getAllSuperClasses()) { for (MetaOperation oper : cls.getOperations()) { result.add(oper); } } return result; }