public Class<?> getParameterType() { return getResolvableTypeAccessor().getActualType(); }
public String getGraphQLInDefaultValueSpel() { return getResolvableTypeAccessor().getGraphQLInDefaultValueSpel(); }
public MethodParameterInfo(int idx, String name, ResolvableTypeAccessor resolvableTypeAccessor) { this.idx = idx; this.name = name; this.resolvableTypeAccessor = resolvableTypeAccessor; this.isRequired = resolvableTypeAccessor.isRequiredGraphQLInParameter(); }
public GraphQLMethodParameters(Method method, Class<?> implClass) { super(method, implClass); ResolvableTypeAccessor resolvableTypeAccessor = ResolvableTypeAccessor.forMethodReturnType(method, implClass); returnType = resolvableTypeAccessor.resolve(); returnTypeName = resolvableTypeAccessor.getGraphQLOutName(); }
public String getDescription() { return getResolvableTypeAccessor().getDescription(); }
public String getGraphQLInDefaultValueProviderMethodName() { return getResolvableTypeAccessor().getGraphQLInDefaultValueProviderMethodName(); }
public boolean isGraphQLInParameter() { return getResolvableTypeAccessor().isGraphQLInParameter(); }
public Class<?> getRawType() { return getResolvableTypeAccessor().resolve(); }
public boolean isCollectionLike() { return getResolvableTypeAccessor().isCollectionLike(); }
public boolean isGraphQLIdOrGraphQLField() { return isGraphQLId() || isGraphQLField(); }
public String getName() { String result = getAnnotationValue(GraphQLField.class, this.name); result = getAnnotationValue(GraphQLID.class, result); result = getAnnotationValue(GraphQLMutation.class, result); result = getAnnotationValue(GraphQLObject.class, result); result = getAnnotationValue(GraphQLInterface.class, result); result = getAnnotationValue(GraphQLUnion.class, result); result = getAnnotationValue(GraphQLEnum.class, result); return result; }
@Override public Object parseValue(Object input) { return serialize(input); }
public boolean hasNoParameters() { return !hasParameters(); } }
@Override public Object parseValue(Object input) { return serialize(input); }
public boolean isNotIgnorable() { return !isIgnorable(); }
public boolean isGraphQLId() { return isAnnotationPresent(GraphQLID.class); }
public String getGraphQLComplexitySpelExpression() { String result = getAnnotationValue(GraphQLComplexity.class, null); return result; }
public String getGraphQLDeprecationReason() { String result = getAnnotationValue(GraphQLDeprecate.class, null); return result; }
public String getGraphQLOutName() { String result = getAnnotationValue(GraphQLOut.class, this.name); return result; }
public String getGraphQLInName() { String result = getAnnotationValue(GraphQLIn.class, ""); return result; }