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

com.softicar.platform.common.io.classfile.constants.ClassFileConstantNameAndType Maven / Gradle / Ivy

Go to download

The SoftiCAR Platform is a lightweight, Java-based library to create interactive business web applications.

There is a newer version: 50.0.0
Show newest version
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 ClassFileConstantNameAndType extends ClassFileConstant {

	private final int nameIndex;
	private final int descriptorIndex;

	public ClassFileConstantNameAndType(ClassFileReader reader) {

		super(ClassFileConstantType.NAME_AND_TYPE);

		this.nameIndex = reader.readInt16();
		this.descriptorIndex = reader.readInt16();
	}

	public int getNameIndex() {

		return nameIndex;
	}

	public int getDescriptorIndex() {

		return descriptorIndex;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy