org.ocpsoft.rewrite.annotation.api.Parameter Maven / Gradle / Ivy
package org.ocpsoft.rewrite.annotation.api;
import java.lang.reflect.AnnotatedElement;
import java.lang.reflect.Method;
/**
* {@link AnnotatedElement} for a method parameter.
*
* @author Lincoln Baxter, III
*/
public interface Parameter extends AnnotatedElement
{
/**
* Return the {@link Class} type of this parameter.
*/
public Class> getType();
/**
* Return the method declaring this parameter.
*/
public Method getDeclaringMethod();
/**
* Return the index of this parameter in the declaring {@link Method} signature.
*/
public int getIndex();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy