Class ReflectedProxyMethod

java.lang.Object
me.ehp246.aufjms.core.reflection.ReflectedProxyMethod

public final class ReflectedProxyMethod extends Object
Author:
Lei Yang
  • Constructor Details

    • ReflectedProxyMethod

      public ReflectedProxyMethod(Method method)
  • Method Details

    • firstPayloadParameter

      public Optional<ReflectedParameter> firstPayloadParameter(Set<Class<? extends Annotation>> exclusions)
    • allParametersWith

      public List<ReflectedParameter> allParametersWith(Class<? extends Annotation> annotationType)
    • method

      public Method method()
    • getParameter

      public Parameter getParameter(int index)
    • findOnMethodUp

      public <A extends Annotation> Optional<A> findOnMethodUp(Class<A> annotationClass)
    • isOnThrows

      public boolean isOnThrows(Class<?> type)
      Is the given type on the throws. Must be explicitly declared. Not on the clause doesn't mean the exception can not be thrown by the method, e.g., all runtime exceptions.
    • returnsVoid

      public boolean returnsVoid()