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

org.ocpsoft.rewrite.annotation.api.Parameter Maven / Gradle / Ivy

There is a newer version: 10.0.2.Final
Show newest version
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