java.lang.reflect.Parameter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jtransc-rt Show documentation
Show all versions of jtransc-rt Show documentation
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];
}
}