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

jodd.paramo.MethodParameter Maven / Gradle / Ivy

Go to download

Jodd Proxetta is the fastest proxy creator with unique approach for defying pointcuts and advices.

There is a newer version: 6.0.1
Show newest version
// Copyright (c) 2003-2014, Jodd Team (jodd.org). All Rights Reserved.

package jodd.paramo;

/**
 * Resolved method parameter from bytecode.
 * It consist of parameter name and parameter bytecode signature
 * (including generics info).
 */
public class MethodParameter {

	public static final MethodParameter[] EMPTY_ARRAY = new MethodParameter[0];

	protected final String name;

	protected final String signature;

	public MethodParameter(String name, String signature) {
		this.name = name;
		this.signature = signature;
	}

	/**
	 * Returns method parameter name.
	 */
	public String getName() {
		return name;
	}

	/**
	 * Returns method parameter signature.
	 * Generics information is available, too.
	 */
	public String getSignature() {
		return signature;
	}


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy