René's URL Explorer Experiment


Title: bestJavaer/java-basic/java-reflect.md at master · JR-Rong/bestJavaer · GitHub

Open Graph Title: bestJavaer/java-basic/java-reflect.md at master · JR-Rong/bestJavaer

X Title: bestJavaer/java-basic/java-reflect.md at master · JR-Rong/bestJavaer

Description: 这是一个成为更好的Java程序员的系列教程. Contribute to JR-Rong/bestJavaer development by creating an account on GitHub.

Open Graph Description: 这是一个成为更好的Java程序员的系列教程. Contribute to JR-Rong/bestJavaer development by creating an account on GitHub.

X Description: 这是一个成为更好的Java程序员的系列教程. Contribute to JR-Rong/bestJavaer development by creating an account on GitHub.

Opengraph URL: https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/blob/*name(/*path)
route-controllerblob
route-actionshow
fetch-noncev2:546c6316-500b-c631-7051-b778c63e8007
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idBD1C:FAECF:E8E77A:136702F:6A529287
html-safe-noncef4078adb96130a5240102ada6e8cd1c6a4788cf6001edc2281eb911031d42c4e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDFDOkZBRUNGOkU4RTc3QToxMzY3MDJGOjZBNTI5Mjg3IiwidmlzaXRvcl9pZCI6Ijg0MzIxNzAwODU1NDA1OTg0MDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac15436a1c8a57638e4d43efe905ef9ce36288ff6e6da22a72c60646459ae85cf1
hovercard-subject-tagrepository:541431745
github-keyboard-shortcutsrepository,source-code,file-tree,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///blob/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md
twitter:imagehttps://opengraph.githubassets.com/d7752d20ca89d3212bbe7fd47a429b925edb9b5ca9e705f6cfe85b400d98f85a/JR-Rong/bestJavaer
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d7752d20ca89d3212bbe7fd47a429b925edb9b5ca9e705f6cfe85b400d98f85a/JR-Rong/bestJavaer
og:image:alt这是一个成为更好的Java程序员的系列教程. Contribute to JR-Rong/bestJavaer development by creating an account on GitHub.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-cache
go-importgithub.com/JR-Rong/bestJavaer git https://github.com/JR-Rong/bestJavaer.git
octolytics-dimension-user_id73985642
octolytics-dimension-user_loginJR-Rong
octolytics-dimension-repository_id541431745
octolytics-dimension-repository_nwoJR-Rong/bestJavaer
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id269198820
octolytics-dimension-repository_parent_nwocrisxuan/bestJavaer
octolytics-dimension-repository_network_root_id269198820
octolytics-dimension-repository_network_root_nwocrisxuan/bestJavaer
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJR-Rong%2FbestJavaer%2Fblob%2Fmaster%2Fjava-basic%2Fjava-reflect.md
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJR-Rong%2FbestJavaer%2Fblob%2Fmaster%2Fjava-basic%2Fjava-reflect.md
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fblob%2Fshow&source=header-repo&source_repo=JR-Rong%2FbestJavaer
Reloadhttps://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md
Reloadhttps://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md
Reloadhttps://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md
JR-Rong https://github.com/JR-Rong
bestJavaerhttps://github.com/JR-Rong/bestJavaer
crisxuan/bestJavaerhttps://github.com/crisxuan/bestJavaer
Notifications https://github.com/login?return_to=%2FJR-Rong%2FbestJavaer
Fork 0 https://github.com/login?return_to=%2FJR-Rong%2FbestJavaer
Star 0 https://github.com/login?return_to=%2FJR-Rong%2FbestJavaer
Code https://github.com/JR-Rong/bestJavaer
Pull requests 0 https://github.com/JR-Rong/bestJavaer/pulls
Actions https://github.com/JR-Rong/bestJavaer/actions
Projects https://github.com/JR-Rong/bestJavaer/projects
Security and quality 0 https://github.com/JR-Rong/bestJavaer/security
Insights https://github.com/JR-Rong/bestJavaer/pulse
Code https://github.com/JR-Rong/bestJavaer
Pull requests https://github.com/JR-Rong/bestJavaer/pulls
Actions https://github.com/JR-Rong/bestJavaer/actions
Projects https://github.com/JR-Rong/bestJavaer/projects
Security and quality https://github.com/JR-Rong/bestJavaer/security
Insights https://github.com/JR-Rong/bestJavaer/pulse
https://github.com/JR-Rong/bestJavaer
bestJavaerhttps://github.com/JR-Rong/bestJavaer/tree/master
java-basichttps://github.com/JR-Rong/bestJavaer/tree/master/java-basic
Historyhttps://github.com/JR-Rong/bestJavaer/commits/master/java-basic/java-reflect.md
https://github.com/JR-Rong/bestJavaer/commits/master/java-basic/java-reflect.md
bestJavaerhttps://github.com/JR-Rong/bestJavaer/tree/master
java-basichttps://github.com/JR-Rong/bestJavaer/tree/master/java-basic
Rawhttps://github.com/JR-Rong/bestJavaer/raw/refs/heads/master/java-basic/java-reflect.md
https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#java基础-反射篇
Java基础 反射篇https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#java%E5%9F%BA%E7%A1%80-%E5%8F%8D%E5%B0%84%E7%AF%87
反射的思想及作用https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#%E5%8F%8D%E5%B0%84%E7%9A%84%E6%80%9D%E6%83%B3%E5%8F%8A%E4%BD%9C%E7%94%A8
反射的基本使用https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#%E5%8F%8D%E5%B0%84%E7%9A%84%E5%9F%BA%E6%9C%AC%E4%BD%BF%E7%94%A8
获取类的 Class 对象https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#%E8%8E%B7%E5%8F%96%E7%B1%BB%E7%9A%84-class-%E5%AF%B9%E8%B1%A1
构造类的实例化对象https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#%E6%9E%84%E9%80%A0%E7%B1%BB%E7%9A%84%E5%AE%9E%E4%BE%8B%E5%8C%96%E5%AF%B9%E8%B1%A1
获取一个类的所有信息https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#%E8%8E%B7%E5%8F%96%E4%B8%80%E4%B8%AA%E7%B1%BB%E7%9A%84%E6%89%80%E6%9C%89%E4%BF%A1%E6%81%AF
获取类中的变量(Field)https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#%E8%8E%B7%E5%8F%96%E7%B1%BB%E4%B8%AD%E7%9A%84%E5%8F%98%E9%87%8Ffield
获取类中的方法(Method)https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#%E8%8E%B7%E5%8F%96%E7%B1%BB%E4%B8%AD%E7%9A%84%E6%96%B9%E6%B3%95method
获取类的构造器(Constructor)https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#%E8%8E%B7%E5%8F%96%E7%B1%BB%E7%9A%84%E6%9E%84%E9%80%A0%E5%99%A8constructor
获取注解https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#%E8%8E%B7%E5%8F%96%E6%B3%A8%E8%A7%A3
通过反射调用方法https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#%E9%80%9A%E8%BF%87%E5%8F%8D%E5%B0%84%E8%B0%83%E7%94%A8%E6%96%B9%E6%B3%95
反射的应用场景https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#%E5%8F%8D%E5%B0%84%E7%9A%84%E5%BA%94%E7%94%A8%E5%9C%BA%E6%99%AF
Spring 的 IOC 容器https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#spring-%E7%9A%84-ioc-%E5%AE%B9%E5%99%A8
反射 + 抽象工厂模式https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#%E5%8F%8D%E5%B0%84--%E6%8A%BD%E8%B1%A1%E5%B7%A5%E5%8E%82%E6%A8%A1%E5%BC%8F
JDBC 加载数据库驱动类https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#jdbc-%E5%8A%A0%E8%BD%BD%E6%95%B0%E6%8D%AE%E5%BA%93%E9%A9%B1%E5%8A%A8%E7%B1%BB
反射的优势及缺陷https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#%E5%8F%8D%E5%B0%84%E7%9A%84%E4%BC%98%E5%8A%BF%E5%8F%8A%E7%BC%BA%E9%99%B7
增加程序的灵活性https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#%E5%A2%9E%E5%8A%A0%E7%A8%8B%E5%BA%8F%E7%9A%84%E7%81%B5%E6%B4%BB%E6%80%A7
破坏类的封装性https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#%E7%A0%B4%E5%9D%8F%E7%B1%BB%E7%9A%84%E5%B0%81%E8%A3%85%E6%80%A7
性能损耗https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#%E6%80%A7%E8%83%BD%E6%8D%9F%E8%80%97
反射基础篇文末总结https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#%E5%8F%8D%E5%B0%84%E5%9F%BA%E7%A1%80%E7%AF%87%E6%96%87%E6%9C%AB%E6%80%BB%E7%BB%93
https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#反射的思想及作用
https://camo.githubusercontent.com/261a471074be71baba9503a9a4ed91c1c7aad11c5a13cc32cfb74e1858078089/68747470733a2f2f63646e2e6e6c61726b2e636f6d2f79757175652f302f323032302f706e672f313639343032392f313539363532393731383731382d39303331353665662d326532322d343238652d393434392d6162323663656433623566382e706e67
https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#反射的基本使用
https://camo.githubusercontent.com/9fa1e9b124c8c3b29930a661e413f17ddc4dac23c4446e22a3c23fb6d25c60d0/68747470733a2f2f63646e2e6e6c61726b2e636f6d2f79757175652f302f323032302f706e672f313639343032392f313539363535353832333631312d30663832643537612d643262312d343435372d613130662d6233366531303163306238652e706e67
https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#获取类的-class-对象
https://camo.githubusercontent.com/7e602093756a23feb11d366a7ea686ee928a8cb449bb01b63059abd90b5b85e5/68747470733a2f2f63646e2e6e6c61726b2e636f6d2f79757175652f302f323032302f706e672f313639343032392f313539363533343738393031382d38373039353862612d393131662d343561332d623462372d6637336666393332353166642e706e67
https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#构造类的实例化对象
https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#获取一个类的所有信息
https://camo.githubusercontent.com/5d1b9e59b3870266112d0e88051c3a8cb2b3d6c6777cfca3e50daf8ca61e6ae5/68747470733a2f2f63646e2e6e6c61726b2e636f6d2f79757175652f302f323032302f706e672f313639343032392f313539373331333630373635392d32646634663836352d336263382d346462642d386466632d6636656166653334353139642e706e67
https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#获取类中的变量field
https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#获取类中的方法method
https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#获取类的构造器constructor
https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#获取注解
https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#通过反射调用方法
https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#反射的应用场景
https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#spring-的-ioc-容器
https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#反射--抽象工厂模式
https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#jdbc-加载数据库驱动类
https://camo.githubusercontent.com/596c5af001ff1e9d12c38eaee0e054394107951e60175a496084c026161a6e36/68747470733a2f2f63646e2e6e6c61726b2e636f6d2f79757175652f302f323032302f706e672f313639343032392f313539373333323430363136382d35313033663333642d373966352d343536622d393936322d3066373739626162353137342e706e67
https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#反射的优势及缺陷
https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#增加程序的灵活性
https://camo.githubusercontent.com/f355a1944223c5df62bc9bf1d164fc85e24a25bfca58038733e9212b6e4de359/68747470733a2f2f63646e2e6e6c61726b2e636f6d2f79757175652f302f323032302f706e672f313639343032392f313539363638393131393539322d39386165303666642d633539652d343739342d383133302d6666306264666530663535302e706e67
https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#破坏类的封装性
https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#性能损耗
https://github.com/JR-Rong/bestJavaer/blob/master/java-basic/java-reflect.md#反射基础篇文末总结
https://camo.githubusercontent.com/5257b29f1b8ce9abc4c09aecd1118e1c9f5dfa747e1ef7ef98005deb965da229/68747470733a2f2f747661312e73696e61696d672e636e2f6c617267652f3030386933736b4e6c7931677369766b62637a786f6a33316c32307438616c352e6a7067
https://camo.githubusercontent.com/12e654e93be0dc50b58a12ecb13cd541f27eb252eba30c4df07978b8150fcf08/68747470733a2f2f747661312e73696e61696d672e636e2f6c617267652f3030386933736b4e6c7931677369766c346b687a396a333164363068386d7a652e6a7067
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.