Class MethodInvocation

java.lang.Object
io.smallrye.graphql.client.impl.typesafe.reflection.MethodInvocation
All Implemented Interfaces:
NamedElement

public class MethodInvocation extends Object implements NamedElement
  • Method Details

    • of

      public static MethodInvocation of(Method method, Object... args)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getKey

      public String getKey()
    • getMethodKey

      public MethodKey getMethodKey()
    • getOperationType

      public OperationType getOperationType()
    • getName

      public String getName()
      Specified by:
      getName in interface NamedElement
    • getRawName

      public String getRawName()
      Specified by:
      getRawName in interface NamedElement
    • getReturnType

      public TypeInfo getReturnType()
    • hasValueParameters

      public boolean hasValueParameters()
    • hasRootParameters

      public boolean hasRootParameters()
    • headerParameters

      public Stream<ParameterInfo> headerParameters()
    • valueParameters

      public Stream<ParameterInfo> valueParameters()
    • rootParameters

      public Stream<ParameterInfo> rootParameters()
    • nestedParameters

      public List<ParameterInfo> nestedParameters(String path)
    • getDeclaringType

      public TypeInfo getDeclaringType()
    • getResolvedAnnotations

      public <A extends Annotation> Stream<A> getResolvedAnnotations(Class<?> declaring, Class<A> type)
    • invoke

      public Object invoke(Object instance)
    • isStatic

      public boolean isStatic()
    • isPublic

      public boolean isPublic()
    • isPackagePrivate

      public boolean isPackagePrivate()
    • isProtected

      public boolean isProtected()
    • isPrivate

      public boolean isPrivate()
    • isAccessibleFrom

      public boolean isAccessibleFrom(TypeInfo caller)
    • isSingle

      public boolean isSingle()
    • isDeclaredInObject

      public boolean isDeclaredInObject()
    • isDeclaredInCloseable

      public boolean isDeclaredInCloseable()
    • getOperationTypeAsString

      public String getOperationTypeAsString()
    • getNamespaces

      public List<String> getNamespaces()
    • getOperationName

      public String getOperationName()