This is an automated email from the ASF dual-hosted git repository.
cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x-build-tools.git
The following commit(s) were added to refs/heads/develop by this push:
new 46bf793 feat: Added an option to be able to see which attributes are
actively set on the current level (and hereby which ones are inherited)
46bf793 is described below
commit 46bf7937875e683b00ffb06a717d6d806bc6c35b
Author: Christofer Dutz <[email protected]>
AuthorDate: Mon Sep 22 10:23:14 2025 +0200
feat: Added an option to be able to see which attributes are actively set
on the current level (and hereby which ones are inherited)
---
.../org/apache/plc4x/plugins/codegenerator/types/fields/Field.java | 5 +++++
1 file changed, 5 insertions(+)
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.definitions.TypeDefinition;
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 @@ public interface Field extends FieldConversions {
String getTypeName();
+ Set<String> getAllAttributeNames();
+
+ Set<String> getCurrentAttributeNames();
+
Optional<Term> getAttribute(String attributeName);
default Optional<Term> getEncoding() {