feat: Added an option to be able to see which attributes are actively set on the current level (and hereby which ones are inherited)
diff --git a/code-generation/types-base/src/main/java/org/apache/plc4x/plugins/codegenerator/types/fields/Field.java b/code-generation/types-base/src/main/java/org/apache/plc4x/plugins/codegenerator/types/fields/Field.java index bc7b44f..e7807ba 100644 --- a/code-generation/types-base/src/main/java/org/apache/plc4x/plugins/codegenerator/types/fields/Field.java +++ b/code-generation/types-base/src/main/java/org/apache/plc4x/plugins/codegenerator/types/fields/Field.java
@@ -23,6 +23,7 @@ import org.apache.plc4x.plugins.codegenerator.types.terms.Term; import java.util.Optional; +import java.util.Set; public interface Field extends FieldConversions { @@ -30,6 +31,10 @@ String getTypeName(); + Set<String> getAllAttributeNames(); + + Set<String> getCurrentAttributeNames(); + Optional<Term> getAttribute(String attributeName); default Optional<Term> getEncoding() {