reflection
annotation 1. What is Annotation Annotation is a technology introduced from JDK5.0 The function of Annotation It's not the program itself, it can be explained. It can be read by other programs (such as compiler, etc.). Format of Annotation: Comments exist in the code as "@ comment name". You cUTF-8...
Posted by MrAdam on Fri, 04 Jun 2021 04:35:41 +0930
reflex Personal blog: www.xiaobeigua.icu Class loader Class loading When the program wants to use a class, if the class has not been loaded into memory, the system will initialize the class by loading, linking and initialization. Loading is to read the class file into memory and create a classUTF-8...
Posted by Gen-ik on Wed, 09 Jun 2021 02:39:26 +0930
What is annotation Annotation and reflection are the bottom layers of all frameworks, such as Mybatis, Spring, etc. annotation is for programs, and comment is for people. Annotation is the simplest chapter in Java foundation, so it's not hard to feel it. The function of annotation Annotation isUTF-8...
Posted by simonp on Wed, 09 Jun 2021 04:39:53 +0930
Many people ask me what my schoolgirl looks like, not to mention the picture above! [access to information] 1, Enumeration class Class has only a limited number of objects, which are deterministic. We call this class enumeration class explain: 1. There are only a limited number of objects in thUTF-8...
Posted by SnakeO on Wed, 16 Jun 2021 04:00:27 +0930
Static proxy Dynamic Proxy Dynamic agent -- CGLIB Weaving form What is agency Proxy is translated from English. The agents we have seen in our life are just like agents of campus cards, which sell campus cards to the students around us. Students buy campus cards from agents, and agents take goUTF-8...
Posted by frost on Fri, 18 Jun 2021 02:30:06 +0930
Annotation and reflection 1, Annotation 1, What is annotation Annotation is a new technology introduced from JDK 5.0 The function of Annotation It is the procedure itself, which can be interpreted( This is no different from comments.) Can be read by other programs (such as compiler, etc.) The fUTF-8...
Posted by deltawing on Wed, 23 Jun 2021 03:35:58 +0930
Defining a grouping parameter checker based on annotation Grouping check parameters In the actual development process, you may encounter this situation. When you define an entity class as the entity to accept parameters, this entity class is used in multiple interfaces, but each interface needsUTF-8...
Posted by pleek on Wed, 23 Jun 2021 06:20:36 +0930
classloader _When our program is just loading and first uses a class, lass files (byte code files) of this class are loaded into the method area of the JVM and all the information of this class is stored in a Class object.The class loader is used here. Class loading moment When an object is crUTF-8...
Posted by Dragonfly on Tue, 06 Jul 2021 02:40:31 +0930
Structural pattern mainly solves the problems related to the definition of components. 1. Adapter pattern An interface is transformed into another interface that customers want. Adapter mode enables those incompatible classes to work together. Adapter mode is divided into class structure mode UTF-8...
Posted by rupturedtoad on Fri, 23 Jul 2021 09:34:53 +0930
Java annotations and reflection 1. Notes Annotations are introduced from JDK5.0, not the program itself. They can explain the program (like comments), but can be read by other programs (such as compilers)Annotation format: "@ annotation name", some parameter values can be addedUsage: it can be UTF-8...
Posted by Kisses on Sun, 25 Jul 2021 08:00:12 +0930