Uses of Class
edu.university.ecs.lab.common.models.ir.JClass
Packages that use 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
Fields in edu.university.ecs.lab.common.models.enums with type parameters of type JClassMethods in edu.university.ecs.lab.common.models.enums that return types with arguments of type JClassModifier and TypeMethodDescriptionClassRole.classFromRoleName
(String roleName) Get the class role from the class typeConstructor parameters in edu.university.ecs.lab.common.models.enums with type arguments of type JClass -
Uses of JClass in edu.university.ecs.lab.common.models.ir
Fields in edu.university.ecs.lab.common.models.ir declared as JClassModifier and TypeFieldDescriptionprivate JClass
Flow.controller
private JClass
Flow.repository
private JClass
Flow.service
Fields in edu.university.ecs.lab.common.models.ir with type parameters of type JClassModifier 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.Methods in edu.university.ecs.lab.common.models.ir that return JClassModifier and TypeMethodDescriptionGet the class of a given endpointMethods in edu.university.ecs.lab.common.models.ir that return types with arguments of type JClassModifier and TypeMethodDescriptionMicroservice.getClasses()
This method returns all classes of the microservice in a new setMethods in edu.university.ecs.lab.common.models.ir with parameters of type JClass -
Uses of JClass in edu.university.ecs.lab.common.utils
Methods in edu.university.ecs.lab.common.utils that return JClassModifier 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.Methods in edu.university.ecs.lab.common.utils that return types with arguments of type JClassModifier 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 classesMethod parameters in edu.university.ecs.lab.common.utils with type arguments of type JClassModifier 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
Methods in edu.university.ecs.lab.delta.models that return JClassModifier and TypeMethodDescriptionDelta.getClassChange()
This method returns an instance of JClass if parsable. -
Uses of JClass in edu.university.ecs.lab.detection.architecture.models
Methods in edu.university.ecs.lab.detection.architecture.models with parameters of type JClassModifier and TypeMethodDescriptionAR4.getRemovedRestCalls
(Delta delta, JClass oldClass) This method collects rest calls that were modified and are no longer present in the new system.