diff --git a/AlgebraicDataflowArchitectureModel/src/algorithms/CodeGenerator.java b/AlgebraicDataflowArchitectureModel/src/algorithms/CodeGenerator.java index 82b4ab0..5add60e 100644 --- a/AlgebraicDataflowArchitectureModel/src/algorithms/CodeGenerator.java +++ b/AlgebraicDataflowArchitectureModel/src/algorithms/CodeGenerator.java @@ -53,11 +53,11 @@ for(TypeDeclaration type:codeTree) { codes.add("public class " + type.getTypeName() + "{"); for(FieldDeclaration field:type.getFields()) { - codes.add("\t" + field.getType().getImplementastionTypeName() + " " + field.getName() + ";"); + codes.add("\t" + field.getType().getImplementationTypeName() + " " + field.getName() + ";"); } codes.add(""); for(MethodDeclaration method:type.getMethods()) { - codes.add("\t" + "public " + method.getReturnType().getImplementastionTypeName() + " " + method.getName() + "{"); + codes.add("\t" + "public " + method.getReturnType().getImplementationTypeName() + " " + method.getName() + "{"); for(VariableDeclaration value:method.getParameters()) { }