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

com.softicar.platform.common.io.classfile.constants.ClassFileConstantInvokeDynamic 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 ClassFileConstantInvokeDynamic extends ClassFileConstant {

	private final int bootstrapMethodAttributeIndex;
	private final int nameAndTypeIndex;

	public ClassFileConstantInvokeDynamic(ClassFileReader reader) {

		super(ClassFileConstantType.INVOKE_DYNAMIC);

		this.bootstrapMethodAttributeIndex = reader.readInt16();
		this.nameAndTypeIndex = reader.readInt16();
	}

	public int getBootstrapMethodAttributeIndex() {

		return bootstrapMethodAttributeIndex;
	}

	public int getNameAndTypeIndex() {

		return nameAndTypeIndex;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy