remove unused classes

This commit is contained in:
Volker Berlin 2019-01-20 17:41:10 +01:00
parent a8c5affb18
commit a06a93dd37
2 changed files with 0 additions and 108 deletions

View File

@ -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();
}

View File

@ -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;
}
}