All Downloads are FREE. Search and download functionalities are using the official Maven repository.

java.lang.reflect.Parameter Maven / Gradle / Ivy

Go to download

JVM AOT compiler currently generating JavaScript, C++, Haxe, with initial focus on Kotlin and games.

The newest version!
package java.lang.reflect;

import com.jtransc.annotation.JTranscSync;

public class Parameter {
	private final MethodConstructor mc;
	private final int index;

	@JTranscSync
	Parameter(MethodConstructor mc, int index) {
		this.mc = mc;
		this.index = index;
	}

	@JTranscSync
	public boolean isNamePresent() {
		return false;
	}

	@JTranscSync
	public Class getType() {
		return mc.getParameterTypes()[index];
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy