Uses of Class
edu.university.ecs.lab.common.models.ir.JClass
Package
Description
Contains utility classes for file management, JSON handling, and source code parsing.
This package and subpackage
edu.university.ecs.lab.delta.models.enums
contains models used for representing changes between two commits in a microservice system.Provides classes and enums for representing architectural rules within the microservice system.
-
Uses of JClass in edu.university.ecs.lab.common.models.enums
Modifier and TypeMethodDescriptionClassRole.classFromRoleName
(String roleName) Get the class role from the class type -
Uses of JClass in edu.university.ecs.lab.common.models.ir
Modifier and TypeFieldDescriptionprivate JClass
Flow.controller
private JClass
Flow.repository
private JClass
Flow.service
Modifier and TypeFieldDescriptionMicroservice.controllers
Controller classes belonging to the microservice.Microservice.entities
Entity classes belonging to the microservice.Microservice.feignClients
Feign client classes belonging to the microservice.Microservice.repositories
Repository classes belonging to the microservice.Microservice.services
Service classes to the microservice.Modifier and TypeMethodDescriptionGet the class of a given endpointModifier and TypeMethodDescriptionMicroservice.getClasses()
This method returns all classes of the microservice in a new set -
Uses of JClass in edu.university.ecs.lab.common.utils
Modifier and TypeMethodDescriptionprivate static JClass
SourceToObjectUtils.handleFeignClient
(com.github.javaparser.ast.expr.AnnotationExpr requestMapping, Set<com.github.javaparser.ast.expr.AnnotationExpr> classAnnotations) FeignClient represents an interface for making rest calls to a service other than the current one.private static JClass
private static JClass
SourceToObjectUtils.handleRepositoryRestResource
(com.github.javaparser.ast.expr.AnnotationExpr requestMapping, Set<com.github.javaparser.ast.expr.AnnotationExpr> classAnnotations) FeignClient represents an interface for making rest calls to a service other than the current one.static JClass
SourceToObjectUtils.parseClass
(File sourceFile, Config config, String microserviceName) This method parses a Java class file and return a JClass object.Modifier and TypeMethodDescriptionFlowUtils.findAllRepositorys
(Flow flow) This method finds any jClass affiliated with the repositoryField of a flow.FlowUtils.findAllServices
(Flow flow) This method finds any jClass affiliated with the serviceField of a flow.private static Map<Microservice,
Set<JClass>> FlowUtils.getAllMicroserviceControllers
(MicroserviceSystem microserviceSystem) This method returns a map of microservices to their controller classesModifier and TypeMethodDescriptionFlowUtils.generateNewFlows
(Microservice microservice, List<JClass> controllers) FlowUtils.generateNewFlows
(Map<Microservice, Set<JClass>> controllerMap) This method generates the base flows -
Uses of JClass in edu.university.ecs.lab.delta.models
Modifier and TypeMethodDescriptionDelta.getClassChange()
This method returns an instance of JClass if parsable. -
Uses of JClass in edu.university.ecs.lab.detection.architecture.models
Modifier and TypeMethodDescriptionAR4.getRemovedRestCalls
(Delta delta, JClass oldClass) This method collects rest calls that were modified and are no longer present in the new system.