Uses of Class
edu.university.ecs.lab.common.models.ir.Method
Packages that use 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
Subclasses of Method in edu.university.ecs.lab.common.models.irFields in edu.university.ecs.lab.common.models.ir declared as MethodModifier and TypeFieldDescriptionprivate Method
Flow.repositoryMethod
private Method
Flow.serviceMethod
Fields in edu.university.ecs.lab.common.models.ir with type parameters of type MethodMethods in edu.university.ecs.lab.common.models.ir that return types with arguments of type MethodModifier and TypeMethodDescriptionMicroservice.getMethods()
This method returns all methods of a microserviceMethods in edu.university.ecs.lab.common.models.ir with parameters of type MethodModifier and TypeMethodDescriptionstatic boolean
MethodCall.matchMethod
(MethodCall methodCall, Method method) Checks if a method call matches a given methodConstructors in edu.university.ecs.lab.common.models.ir with parameters of type MethodConstructor parameters in edu.university.ecs.lab.common.models.ir with type arguments of type Method -
Uses of Method in edu.university.ecs.lab.common.models.sdg
Methods in edu.university.ecs.lab.common.models.sdg with parameters of type MethodModifier 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
Methods in edu.university.ecs.lab.common.models.serialization that return MethodModifier 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
Methods in edu.university.ecs.lab.common.utils that return MethodModifier 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 flowMethods in edu.university.ecs.lab.common.utils that return types with arguments of type MethodModifier 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 modelsMethods in edu.university.ecs.lab.common.utils with parameters of type MethodModifier 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
Fields in edu.university.ecs.lab.detection.antipatterns.services with type parameters of type MethodModifier and TypeFieldDescriptionCyclicDependencyMethodLevelService.visited
ServiceChainMethodLevelService.visited
Methods in edu.university.ecs.lab.detection.antipatterns.services with parameters of type MethodModifier 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.