Class MethodMetadata

java.lang.Object
io.github.blyznytsiaorg.bibernate.dao.method.MethodMetadata

public class MethodMetadata extends Object
Represents metadata information for a method, including its name, return type, and parameters.
Since:
1.0
Author:
Blyzhnytsia Team
  • Field Details

    • name

      private final String name
      The name of the method.
    • returnType

      private final ReturnType returnType
      The return type of the method.
    • parameters

      private final List<Parameter> parameters
      The list of parameters associated with the method.
  • Constructor Details

    • MethodMetadata

      public MethodMetadata(String name, ReturnType returnType)
      Constructs a MethodMetadata instance with the given method name and return type.
      Parameters:
      name - The name of the method.
      returnType - The return type of the method.
  • Method Details

    • addParameter

      public void addParameter(String name, String type)
      Adds a parameter to the method metadata.
      Parameters:
      name - The name of the parameter.
      type - The type of the parameter.