java source code analysis - annotation AnnotatedElement interface

java source code analysis - annotation AnnotatedElement interface summary When we explained the annotated runtime processor, we wrote this Code: //Get getPersonInfo Method through Class object Method method = clazz.getDeclaredMethod("getPersonInfo", null); System.out.println(method.getName()); //Get the annotation on the Method according to ...

Added by gijs25 on Sun, 10 Oct 2021 04:21:07 +0300

[sduoj] create command line application

2021SC@SDUSC introduction As an oj system, it can not judge the submission results of only one language, and it may even support all common language types. However, different languages require different compile and run commands. If the task of judging the language type is entrusted to the problem solver, we may need to modify the source co ...

Added by mattmate on Thu, 07 Oct 2021 18:12:39 +0300

SQL Execution of Mybatis Core Working Principles

SQL Execution of Mybatis Core Working Principles Learn the structure, working principle and main modules of Mybatis from a macro perspective, and learn the working principle and design idea of Mybatis from a micro perspective. 1. SQL Execution Let's look at the execution of Mybatis's SQL statement. List<User> list = mapper.selectUserL ...

Added by feyd on Sun, 05 Sep 2021 23:40:38 +0300

Handwritten spring Chapter 2 - writing extensible containers using design patterns

preface Based on the previous chapter Handwritten spring Chapter 1 - Basic container construction , we have made a simple spring container to complete bean injection, but we still have many deficiencies in function and architecture design. requirement analysis In terms of framework design, we believe that the architecture must ensure th ...

Added by TEENFRONT on Fri, 03 Sep 2021 07:34:44 +0300