Class MethodMetadata
java.lang.Object
io.github.blyznytsiaorg.bibernate.dao.method.MethodMetadata
Represents metadata information for a method, including its name, return type, and parameters.
- Since:
- 1.0
- Author:
- Blyzhnytsia Team
-
Field Summary
Modifier and TypeFieldDescriptionprivate final String
The name of the method.The list of parameters associated with the method.private final ReturnType
The return type of the method. -
Constructor Summary
ConstructorDescriptionMethodMetadata
(String name, ReturnType returnType) Constructs a MethodMetadata instance with the given method name and return type. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addParameter
(String name, String type) Adds a parameter to the method metadata.
-
Field Details
-
name
The name of the method. -
returnType
The return type of the method. -
parameters
The list of parameters associated with the method.
-
-
Constructor Details
-
MethodMetadata
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
Adds a parameter to the method metadata.- Parameters:
name
- The name of the parameter.type
- The type of the parameter.
-