Example usage for java.lang.reflect Parameter getDeclaringExecutable

List of usage examples for java.lang.reflect Parameter getDeclaringExecutable

Introduction

In this page you can find the example usage for java.lang.reflect Parameter getDeclaringExecutable.

Prototype

public Executable getDeclaringExecutable() 

Source Link

Document

Return the Executable which declares this parameter.

Usage

From source file:com.github.ljtfreitas.restify.http.spring.contract.metadata.reflection.SpringWebJavaMethodParameterMetadata.java

public SpringWebJavaMethodParameterMetadata(java.lang.reflect.Parameter javaMethodParameter) {
    this(javaMethodParameter, javaMethodParameter.getDeclaringExecutable().getDeclaringClass());
}