From a06a93dd374fb758356d5aac40419a0a1d62e187 Mon Sep 17 00:00:00 2001 From: Volker Berlin Date: Sun, 20 Jan 2019 17:41:10 +0100 Subject: [PATCH] remove unused classes --- .../jwebassembly/module/NativeHelperCode.java | 36 ---------- .../jwebassembly/module/SyntheticMember.java | 72 ------------------- 2 files changed, 108 deletions(-) delete mode 100644 src/de/inetsoftware/jwebassembly/module/NativeHelperCode.java delete mode 100644 src/de/inetsoftware/jwebassembly/module/SyntheticMember.java diff --git a/src/de/inetsoftware/jwebassembly/module/NativeHelperCode.java b/src/de/inetsoftware/jwebassembly/module/NativeHelperCode.java deleted file mode 100644 index c93e426..0000000 --- a/src/de/inetsoftware/jwebassembly/module/NativeHelperCode.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright 2018 Volker Berlin (i-net software) - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package de.inetsoftware.jwebassembly.module; - -import de.inetsoftware.jwebassembly.api.annotation.WasmTextCode; - -public class NativeHelperCode { - - @WasmTextCode( signature = "(I)II", value = "get_local 0 get_local 0 return" ) - native static void dup_i32(); - - @WasmTextCode( signature = "(F)FF", value = "get_local 0 get_local 0 return" ) - native static void dup_f32(); - - @WasmTextCode( signature = "(J)JJ", value = "get_local 0 get_local 0 return" ) - native static void dup_i64(); - - @WasmTextCode( signature = "(D)DD", value = "get_local 0 get_local 0 return" ) - native static void dup_f64(); - - @WasmTextCode( signature = "(Ljava.lang.Object;)Ljava.lang.Object;Ljava.lang.Object;", value = "get_local 0 get_local 0 return" ) - native static void dup_anyref(); -} diff --git a/src/de/inetsoftware/jwebassembly/module/SyntheticMember.java b/src/de/inetsoftware/jwebassembly/module/SyntheticMember.java deleted file mode 100644 index 73d6b0d..0000000 --- a/src/de/inetsoftware/jwebassembly/module/SyntheticMember.java +++ /dev/null @@ -1,72 +0,0 @@ -/* - Copyright 2018 Volker Berlin (i-net software) - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -*/ -package de.inetsoftware.jwebassembly.module; - -import de.inetsoftware.classparser.Member; - -/** - * A generated member that come not from the Java class parser. - * - * @author Volker Berlin - */ -public class SyntheticMember implements Member { - - - private final String className; - private final String name; - private final String type; - - /** - * Create a new instance - * - * @param className - * the className - * @param name - * the name - * @param type - * the Java signature - */ - SyntheticMember( String className, String name, String type ) { - this.className = className; - this.name = name; - this.type = type; - } - - /** - * {@inheritDoc} - */ - @Override - public String getName() { - return name; - } - - /** - * {@inheritDoc} - */ - @Override - public String getClassName() { - return className; - } - - /** - * {@inheritDoc} - */ - @Override - public String getType() { - return type; - } -}