Aufräumen

This commit is contained in:
JanUlrich 2017-01-26 17:16:06 +01:00
parent acf9cbd20b
commit f92a53ce74
3 changed files with 4 additions and 8 deletions

View File

@ -32,11 +32,11 @@ public class ASTFactory {
names = scope;
}
public static Method createEmptyMethod(String withSignature, Class parent) {
public Method createEmptyMethod(String withSignature, Class parent) {
return ASTFactory.createMethod(withSignature, new ParameterList(), new Block(), parent);
}
public static Constructor createEmptyConstructor(Class parent){
public Constructor createEmptyConstructor(Class parent){
Block block = new Block();
block.setType(new de.dhbwstuttgart.syntaxtree.type.Void(block, 0));
block.statements.add(new SuperCall(block));

View File

@ -36,7 +36,7 @@ import de.dhbwstuttgart.typeinference.exceptions.TypeinferenceException;
public class MethodCall extends Expr
{
public MethodCall(Receiver receiver, String methodName, ArgumentList argumentList, int offset){
this(offset, 0);
this(offset);
this.set_Receiver(receiver);
this.set_Name(methodName);
this.set_ArgumentList(argumentList);

View File

@ -50,10 +50,6 @@ public class PostIncExpr extends UnaryExpr
public String get_Name()
{
return null;
}
public void wandleRefTypeAttributes2GenericAttributes(Menge<Type> paralist, Menge<GenericTypeVar> genericMethodParameters)
{
}
@Override