From 22a5a2723edece2e9cd2f88298fc853b4fafaf30 Mon Sep 17 00:00:00 2001
From: Sven Gestegard Robertz <sven.robertz@cs.lth.se>
Date: Mon, 2 Feb 2015 00:57:25 +0100
Subject: [PATCH] design idea in comment

---
 lib/java/se/lth/control/labcomm/TypeDefParser.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/java/se/lth/control/labcomm/TypeDefParser.java b/lib/java/se/lth/control/labcomm/TypeDefParser.java
index f6904bc..ed515fb 100644
--- a/lib/java/se/lth/control/labcomm/TypeDefParser.java
+++ b/lib/java/se/lth/control/labcomm/TypeDefParser.java
@@ -55,7 +55,9 @@ public class TypeDefParser implements TypeDef.Handler, TypeBinding.Handler {
         if(d.getTypeIndex() == Constant.TYPE_BIND_SELF){
             //TODO: make the sample_def signature a TypeDef.
             // e.g., by looking up the signature in the decoder
-            // (how to expose that?)
+            // (how to expose that? A good option may be to
+            // make this internal to the Decoder, and just expose a
+            // HierarchicalTypeDef for user code to register handlers for)
             //td = typeDefs.get(d.getTypeIndex());
            
             //XXX this will return a SelfBinding (w/o a signature)
-- 
GitLab