From 84cb7d871b6c74686c746c0d41dbd6fdd09fd4c0 Mon Sep 17 00:00:00 2001 From: Vic Nightfall Date: Mon, 14 Nov 2022 15:55:40 +0100 Subject: [PATCH] Move package --- .../de/dhbwstuttgart/bytecode/{funN => }/FunNGenerator.java | 6 +----- .../de/dhbwstuttgart/target/generate/ASTToTargetAST.java | 3 +-- .../de/dhbwstuttgart/target/tree/type/TargetFunNType.java | 3 +-- 3 files changed, 3 insertions(+), 9 deletions(-) rename src/main/java/de/dhbwstuttgart/bytecode/{funN => }/FunNGenerator.java (95%) diff --git a/src/main/java/de/dhbwstuttgart/bytecode/funN/FunNGenerator.java b/src/main/java/de/dhbwstuttgart/bytecode/FunNGenerator.java similarity index 95% rename from src/main/java/de/dhbwstuttgart/bytecode/funN/FunNGenerator.java rename to src/main/java/de/dhbwstuttgart/bytecode/FunNGenerator.java index 832688d5..68784071 100644 --- a/src/main/java/de/dhbwstuttgart/bytecode/funN/FunNGenerator.java +++ b/src/main/java/de/dhbwstuttgart/bytecode/FunNGenerator.java @@ -1,9 +1,5 @@ -package de.dhbwstuttgart.bytecode.funN; +package de.dhbwstuttgart.bytecode; -import de.dhbwstuttgart.parser.scope.JavaClassName; -import de.dhbwstuttgart.syntaxtree.type.GenericRefType; -import de.dhbwstuttgart.syntaxtree.type.RefType; -import de.dhbwstuttgart.syntaxtree.type.TypePlaceholder; import de.dhbwstuttgart.target.tree.type.TargetGenericType; import de.dhbwstuttgart.target.tree.type.TargetRefType; import de.dhbwstuttgart.target.tree.type.TargetType; diff --git a/src/main/java/de/dhbwstuttgart/target/generate/ASTToTargetAST.java b/src/main/java/de/dhbwstuttgart/target/generate/ASTToTargetAST.java index 710808af..8d20b8f8 100644 --- a/src/main/java/de/dhbwstuttgart/target/generate/ASTToTargetAST.java +++ b/src/main/java/de/dhbwstuttgart/target/generate/ASTToTargetAST.java @@ -1,8 +1,7 @@ package de.dhbwstuttgart.target.generate; -import de.dhbwstuttgart.bytecode.funN.FunNGenerator; +import de.dhbwstuttgart.bytecode.FunNGenerator; import de.dhbwstuttgart.environment.ByteArrayClassLoader; -import de.dhbwstuttgart.environment.DirectoryClassLoader; import de.dhbwstuttgart.environment.IByteArrayClassLoader; import de.dhbwstuttgart.parser.NullToken; import de.dhbwstuttgart.syntaxtree.*; diff --git a/src/main/java/de/dhbwstuttgart/target/tree/type/TargetFunNType.java b/src/main/java/de/dhbwstuttgart/target/tree/type/TargetFunNType.java index 94879b21..afbf9f4e 100644 --- a/src/main/java/de/dhbwstuttgart/target/tree/type/TargetFunNType.java +++ b/src/main/java/de/dhbwstuttgart/target/tree/type/TargetFunNType.java @@ -1,9 +1,8 @@ package de.dhbwstuttgart.target.tree.type; -import de.dhbwstuttgart.bytecode.funN.FunNGenerator; +import de.dhbwstuttgart.bytecode.FunNGenerator; import java.util.List; -import java.util.stream.Collectors; public record TargetFunNType(int N, List params) implements TargetSpecializedType {