public static final class ApiUsageMetadata.Invocation extends Object
Constructor and Description |
---|
Invocation(String method,
List<ApiUsageMetadata.MethodArgument> arguments) |
Modifier and Type | Method and Description |
---|---|
ApiUsageMetadata.Invocation |
arg(String code)
Convenient method to add static argument code.
|
ApiUsageMetadata.Invocation |
arg(String name,
String type)
Convenient method to add an argument reference.
|
boolean |
equals(Object o) |
List<ApiUsageMetadata.MethodArgument> |
getArguments() |
String |
getMethod() |
int |
hashCode() |
String |
toString() |
public Invocation(@Nonnull String method, @Nonnull List<ApiUsageMetadata.MethodArgument> arguments)
@Nonnull public ApiUsageMetadata.Invocation arg(@Nonnull String name, @Nonnull String type)
name
- argument nametype
- argument type, fully qualified type name@Nonnull public ApiUsageMetadata.Invocation arg(@Nonnull String code)
code
- argument code, e.g. "5" or "\"String\""@Nonnull public List<ApiUsageMetadata.MethodArgument> getArguments()
Copyright © 2021 SAP SE. All rights reserved.