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

com.g2forge.alexandria.java.reflect.JavaAccessorMethod Maven / Gradle / Ivy

There is a newer version: 0.0.18
Show newest version
package com.g2forge.alexandria.java.reflect;

import java.lang.reflect.Method;
import java.lang.reflect.Type;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

@Data
@Builder
@AllArgsConstructor
public class JavaAccessorMethod implements IJavaAccessorMethod {
	protected final Method method;

	@Override
	public String getName() {
		return getMethod().getName();
	}

	@Override
	public Type[] getParameterTypes() {
		return getMethod().getGenericParameterTypes();
	}

	@Override
	public Type getReturnType() {
		return getMethod().getGenericReturnType();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy