diff --git a/src/mycompiler/myclass/FormalParameter.java b/src/mycompiler/myclass/FormalParameter.java index 4271a3276..103786947 100755 --- a/src/mycompiler/myclass/FormalParameter.java +++ b/src/mycompiler/myclass/FormalParameter.java @@ -26,6 +26,7 @@ import org.apache.log4j.Logger; + import sun.reflect.generics.reflectiveObjects.NotImplementedException; import typinferenz.JavaCodeResult; import typinferenz.ResultSet; @@ -233,6 +234,8 @@ public class FormalParameter extends SyntaxTreeNode implements ITypeReplacementL + + @Override public void setOffset(int offset) { //Das Offset steht in declId @@ -247,7 +250,6 @@ public class FormalParameter extends SyntaxTreeNode implements ITypeReplacementL } - @Override public void parserPostProcessing(SyntaxTreeNode parent) { super.parserPostProcessing(parent); @@ -285,6 +287,16 @@ public class FormalParameter extends SyntaxTreeNode implements ITypeReplacementL } return ret; } + + + @Override + public String getDescription() { + String ret = ""; + if(this.getType() != null && !(this.getType() instanceof TypePlaceholder)){ + ret += this.getType().getName() + " "; + } + return ret+this.getIdentifier(); + } } // ino.end