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 Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.smallrye.graphql.client.impl.typesafe.reflection.NamedElement
isRenamed
-
-
-
-
Method Detail
-
of
public static MethodInvocation of(Method method, Object... args)
-
getKey
public String getKey()
-
getMethodKey
public MethodKey getMethodKey()
-
getOperationType
public OperationType getOperationType()
-
getName
public String getName()
- Specified by:
getNamein interfaceNamedElement
-
getRawName
public String getRawName()
- Specified by:
getRawNamein interfaceNamedElement
-
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)
-
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()
-
getOperationName
public String getOperationName()
-
-