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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeInfogetDeclaringType()StringgetKey()StringgetName()OperationTypegetOperationType()StringgetRawName()<A extends Annotation>
Stream<A>getResolvedAnnotations(Class<?> declaring, Class<A> type)TypeInfogetReturnType()booleanhasRootParameters()booleanhasValueParameters()Stream<ParameterInfo>headerParameters()Objectinvoke(Object instance)booleanisAccessibleFrom(TypeInfo caller)booleanisDeclaredInCloseable()booleanisDeclaredInObject()booleanisPackagePrivate()booleanisPrivate()booleanisProtected()booleanisPublic()booleanisSingle()booleanisStatic()List<ParameterInfo>nestedParameters(String path)static MethodInvocationof(Method method, Object... args)Stream<ParameterInfo>rootParameters()StringtoString()Stream<ParameterInfo>valueParameters()-
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()
-
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()
-
-