com.g2forge.alexandria.reflection.object.IJavaMethodReflection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ax-reflection Show documentation
Show all versions of ax-reflection Show documentation
Generic type safe reflection library, which adds significant usability over the standard Java runtime.
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());
}
}