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

com.github.bloodshura.ignitium.venus.function.Argument Maven / Gradle / Ivy

The newest version!
package com.github.bloodshura.ignitium.venus.function;

import com.github.bloodshura.ignitium.object.Base;
import com.github.bloodshura.ignitium.venus.type.Type;

import javax.annotation.Nonnull;

public class Argument extends Base {
	private final String name;
	private final Type type;

	public Argument(String name, Type type) {
		this.name = name;
		this.type = type;
	}

	public String getName() {
		return name;
	}

	public Type getType() {
		return type;
	}

	@Nonnull
	@Override
	protected Object[] stringValues() {
		return new Object[] { getName(), getType() };
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy