Uses of Class
edu.university.ecs.lab.common.models.ir.Method
Package
Description
Provides utilities and classes for serializing Java objects to JSON and deserializing JSON
back to Java objects using Gson library.
Contains utility classes for file management, JSON handling, and source code parsing.
Provides services for detecting and analyzing various anti-patterns in microservices architecture.
-
Uses of Method in edu.university.ecs.lab.common.models.ir
Modifier and TypeFieldDescriptionprivate Method
Flow.repositoryMethod
private Method
Flow.serviceMethod
Modifier and TypeMethodDescriptionMicroservice.getMethods()
This method returns all methods of a microserviceModifier and TypeMethodDescriptionstatic boolean
MethodCall.matchMethod
(MethodCall methodCall, Method method) Checks if a method call matches a given method -
Uses of Method in edu.university.ecs.lab.common.models.sdg
Modifier and TypeMethodDescriptionprivate void
MethodDependencyGraph.addUpdateEdge
(Method source, Method target) Method to add and edge or update its weight if it already existscom.google.gson.JsonElement
MethodDependencyGraph.MethodSerializer.serialize
(Method method, Type type, com.google.gson.JsonSerializationContext jsonSerializationContext) -
Uses of Method in edu.university.ecs.lab.common.models.serialization
Modifier and TypeMethodDescriptionMethodDeserializer.deserialize
(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context) private Method
MethodDeserializer.jsonToEndpoint
(com.google.gson.JsonObject json, com.google.gson.JsonDeserializationContext context) private Method
MethodDeserializer.jsonToMethod
(com.google.gson.JsonObject json, com.google.gson.JsonDeserializationContext context) -
Uses of Method in edu.university.ecs.lab.common.utils
Modifier and TypeMethodDescriptionstatic Method
SourceToObjectUtils.convertValidEndpoints
(com.github.javaparser.ast.body.MethodDeclaration methodDeclaration, Method method, com.github.javaparser.ast.expr.AnnotationExpr requestMapping) This method converts a valid Method to an Endpointprivate static Method
FlowUtils.findRepositoryMethod
(Flow flow) This method finds the method affiliated with the repositoryMethodCall of a flowprivate static Method
FlowUtils.findServiceMethod
(Flow flow) This method finds the method affiliated with the serviceMethodCall of a flowModifier and TypeMethodDescriptionSourceToObjectUtils.parseMethods
(List<com.github.javaparser.ast.body.MethodDeclaration> methodDeclarations, com.github.javaparser.ast.expr.AnnotationExpr requestMapping) This method parses methodDeclarations list and returns a Set of Method modelsModifier and TypeMethodDescriptionstatic Method
SourceToObjectUtils.convertValidEndpoints
(com.github.javaparser.ast.body.MethodDeclaration methodDeclaration, Method method, com.github.javaparser.ast.expr.AnnotationExpr requestMapping) This method converts a valid Method to an Endpoint -
Uses of Method in edu.university.ecs.lab.detection.antipatterns.services
Modifier and TypeFieldDescriptionCyclicDependencyMethodLevelService.visited
ServiceChainMethodLevelService.visited
Modifier and TypeMethodDescriptionprivate void
Depth-first search (DFS) to explore and detect service chains starting from currentNode.private void
CyclicDependencyMethodLevelService.findCycles
(Method currentNode) Checks if there is a cycle starting from the current node.