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

com.g2forge.alexandria.reflection.object.IJavaMethodReflection Maven / Gradle / Ivy

Go to download

Generic type safe reflection library, which adds significant usability over the standard Java runtime.

There is a newer version: 0.0.18
Show newest version
package com.g2forge.alexandria.reflection.object;

import com.g2forge.alexandria.generic.type.java.member.IJavaMethodType;
import com.g2forge.alexandria.java.reflect.IJavaAccessorMethod;
import com.g2forge.alexandria.java.reflect.JavaAccessorMethod;

public interface IJavaMethodReflection extends IJavaMemberReflection {
	public IJavaTypeReflection getReturnType();

	@Override
	public IJavaMethodType getType();

	public O invoke(T object, Object... args);

	public default IJavaAccessorMethod toAccessorMethod() {
		return new JavaAccessorMethod(IJavaMethodReflection.this.getType().getJavaMember());
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy