com.softicar.platform.common.io.classfile.constants.ClassFileConstantMethodHandle Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of platform-common Show documentation
Show all versions of platform-common Show documentation
The SoftiCAR Platform is a lightweight, Java-based library to create interactive business web applications.
package com.softicar.platform.common.io.classfile.constants;
import com.softicar.platform.common.io.classfile.ClassFileReader;
import com.softicar.platform.common.io.classfile.constant.ClassFileConstantType;
public class ClassFileConstantMethodHandle extends ClassFileConstant {
private final int referenceKind;
private final int referenceIndex;
public ClassFileConstantMethodHandle(ClassFileReader reader) {
super(ClassFileConstantType.METHOD_HANDLE);
this.referenceKind = reader.readInt8();
this.referenceIndex = reader.readInt16();
}
public int getReferenceKind() {
return referenceKind;
}
public int getReferenceIndex() {
return referenceIndex;
}
}