com.softicar.platform.common.io.classfile.constants.ClassFileConstantInterfaceMethodReference 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 ClassFileConstantInterfaceMethodReference extends ClassFileConstant {
private final int classIndex;
private final int nameAndTypeIndex;
public ClassFileConstantInterfaceMethodReference(ClassFileReader reader) {
super(ClassFileConstantType.INTERFACE_METHOD_REFERENCE);
this.classIndex = reader.readInt16();
this.nameAndTypeIndex = reader.readInt16();
}
public int getClassIndex() {
return classIndex;
}
public int getNameAndTypeIndex() {
return nameAndTypeIndex;
}
}