Class ApiUsageMetadata.Invocation

java.lang.Object
com.sap.cloud.sdk.datamodel.metadata.generator.ApiUsageMetadata.Invocation
Enclosing interface:
ApiUsageMetadata

public static final class ApiUsageMetadata.Invocation extends Object
Method invocation type.
  • Constructor Details

  • Method Details

    • arg

      @Nonnull public ApiUsageMetadata.Invocation arg(@Nonnull String name, @Nonnull Class<?> type)
      Convenient method to add an argument reference.
      Parameters:
      name - argument name
      type - argument type, fully qualified type name
      Returns:
      A new instance with an additional argument
    • arg

      @Nonnull public ApiUsageMetadata.Invocation arg(@Nonnull String name, @Nonnull String typeName)
      Convenient method to add an argument reference.
      Parameters:
      name - argument name
      typeName - argument type, fully qualified type name
      Returns:
      A new instance with an additional argument
    • arg

      @Nonnull public ApiUsageMetadata.Invocation arg(@Nonnull String code)
      Convenient method to add static argument code.
      Parameters:
      code - argument code, e.g. "5" or "\"String\""
      Returns:
      A new instance with an additional argument
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class Object
    • getMethod

      @Nonnull public String getMethod()
    • getArguments

      @Nonnull public List<ApiUsageMetadata.MethodArgument> getArguments()
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object