Home  >  Article  >  Java  >  Java reflection basic notes

Java reflection basic notes

PHP中文网
PHP中文网Original
2017-06-19 10:32:421290browse

 

Since I found at work that my basic knowledge was not very solid, and the problems I encountered and the things I learned were not well documented, which resulted in me spending a lot of time searching online when I encountered them again, so I decided to write a series. Basic knowledge should be recorded as much as possible, so that you can look it up later if you forget it, and it can also be convenient for friends who need it to read it, so that everyone can discuss and learn together.

This article is about the basics of Java reflection. This series is the study notes of the author's MOOC reflection explanation video. It is recorded as fully as possible to help beginners quickly master the basic knowledge of reflection. If you want to reprint this series, please note Link to the original text.

1. Use of reflection Class class

2. Obtaining information by reflection

3. Reflection method Basic operations of reflection

IV. Reflection: Understanding the essence of collection generics through reflection

The above is the detailed content of Java reflection basic notes. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn