Class JavaServiceMethodResolver
java.lang.Object
com.sap.cloud.sdk.datamodel.metadata.generator.JavaServiceMethodResolver
Helper class to resolve service method and return type from existing Java code.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Helper class to store additional service method invocations, grouped by method name prefix.static class
-
Method Summary
-
Method Details
-
forPrefix
@Nonnull public static JavaServiceMethodResolver.AdditionalInvocation forPrefix(@Nonnull String prefix) Convenience method to define an additional service method invocation, e.g.forPrefix("getAll").add(ApiUsageMetadata.method("top").arg("5"))
.- Parameters:
prefix
- The service method name prefix to apply this additional method invocation to.- Returns:
- An instance to continuously add invocations.
-
builder
-
toString
-
getInvocations
-
getResultType
-