forked from JavaTX/JavaCompilerCore
getDescription von FormalParameter angepasst
This commit is contained in:
parent
9aea618525
commit
2511d95a9f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user