René's URL Explorer Experiment


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

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

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

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

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

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

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

X: @github

direct link

Domain: redirect.github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/blob/*name(/*path)
route-controllerblob
route-actionshow
fetch-noncev2:ffc871d4-5ffa-042e-4bc2-c27a33df2014
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idB510:142C54:59E39F:7CDD0D:6AFCB955
html-safe-noncebd2c707774fe9a21adf1083d910264bb64066bb70cd4de82fc78044ef19d2cb0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTEwOjE0MkM1NDo1OUUzOUY6N0NERDBEOjZBRkNCOTU1IiwidmlzaXRvcl9pZCI6Ijc5OTYyNTk2Njg0MDM3MzA3NzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca0fbe86d735899b5d27111bb5d828cb99403e06b8e5f5b43fefe7ddacd415f98
hovercard-subject-tagrepository:567096189
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/sharingjoin/bestJavaer/blob/master/java-basic/java-reflect.md
twitter:imagehttps://opengraph.githubassets.com/4b5d44c40fa809ac9bdd72eac32bdeaa86ecaf8b45c8811ba9237bcff40065ee/sharingjoin/bestJavaer
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4b5d44c40fa809ac9bdd72eac32bdeaa86ecaf8b45c8811ba9237bcff40065ee/sharingjoin/bestJavaer
og:image:alt这是一个成为更好的Java程序员的系列教程. Contribute to sharingjoin/bestJavaer development by creating an account on GitHub.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonee3084aead77cbcb4f4904fba53851fa1a0546b0dec3619bd250815e72588dc6d
turbo-cache-controlno-cache
go-importgithub.com/sharingjoin/bestJavaer git https://github.com/sharingjoin/bestJavaer.git
octolytics-dimension-user_id18749359
octolytics-dimension-user_loginsharingjoin
octolytics-dimension-repository_id567096189
octolytics-dimension-repository_nwosharingjoin/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
release5410e4bebd3e45b138c853ecef3992279d86d5af
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://redirect.github.com/sharingjoin/bestJavaer/blob/master/java-basic/java-reflect.md#start-of-content
https://redirect.github.com/
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsharingjoin%2FbestJavaer%2Fblob%2Fmaster%2Fjava-basic%2Fjava-reflect.md
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsharingjoin%2FbestJavaer%2Fblob%2Fmaster%2Fjava-basic%2Fjava-reflect.md
Sign uphttps://redirect.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=sharingjoin%2FbestJavaer
Reloadhttps://redirect.github.com/sharingjoin/bestJavaer/blob/master/java-basic/java-reflect.md
Reloadhttps://redirect.github.com/sharingjoin/bestJavaer/blob/master/java-basic/java-reflect.md
Reloadhttps://redirect.github.com/sharingjoin/bestJavaer/blob/master/java-basic/java-reflect.md
sharingjoinhttps://redirect.github.com/sharingjoin
bestJavaerhttps://redirect.github.com/sharingjoin/bestJavaer
Codehttps://redirect.github.com/sharingjoin/bestJavaer
Pull requestshttps://redirect.github.com/sharingjoin/bestJavaer/pulls
Actionshttps://redirect.github.com/sharingjoin/bestJavaer/actions
Projectshttps://redirect.github.com/sharingjoin/bestJavaer/projects
Security and qualityhttps://redirect.github.com/sharingjoin/bestJavaer/security
Insightshttps://redirect.github.com/sharingjoin/bestJavaer/pulse
https://redirect.github.com/sharingjoin/bestJavaer
bestJavaerhttps://redirect.github.com/sharingjoin/bestJavaer/tree/master
java-basichttps://redirect.github.com/sharingjoin/bestJavaer/tree/master/java-basic
Historyhttps://redirect.github.com/sharingjoin/bestJavaer/commits/master/java-basic/java-reflect.md
https://redirect.github.com/sharingjoin/bestJavaer/commits/master/java-basic/java-reflect.md
bestJavaerhttps://redirect.github.com/sharingjoin/bestJavaer/tree/master
java-basichttps://redirect.github.com/sharingjoin/bestJavaer/tree/master/java-basic
Rawhttps://github.com/sharingjoin/bestJavaer/raw/refs/heads/master/java-basic/java-reflect.md
https://redirect.github.com/sharingjoin/bestJavaer/blob/master/java-basic/java-reflect.md#java基础-反射篇
Java基础 反射篇https://redirect.github.com/sharingjoin/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://redirect.github.com/sharingjoin/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://redirect.github.com/sharingjoin/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://redirect.github.com/sharingjoin/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://redirect.github.com/sharingjoin/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://redirect.github.com/sharingjoin/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://redirect.github.com/sharingjoin/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://redirect.github.com/sharingjoin/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://redirect.github.com/sharingjoin/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://redirect.github.com/sharingjoin/bestJavaer/blob/master/java-basic/java-reflect.md#%E8%8E%B7%E5%8F%96%E6%B3%A8%E8%A7%A3
通过反射调用方法https://redirect.github.com/sharingjoin/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://redirect.github.com/sharingjoin/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://redirect.github.com/sharingjoin/bestJavaer/blob/master/java-basic/java-reflect.md#spring-%E7%9A%84-ioc-%E5%AE%B9%E5%99%A8
反射 + 抽象工厂模式https://redirect.github.com/sharingjoin/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://redirect.github.com/sharingjoin/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://redirect.github.com/sharingjoin/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://redirect.github.com/sharingjoin/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://redirect.github.com/sharingjoin/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://redirect.github.com/sharingjoin/bestJavaer/blob/master/java-basic/java-reflect.md#%E6%80%A7%E8%83%BD%E6%8D%9F%E8%80%97
反射基础篇文末总结https://redirect.github.com/sharingjoin/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://redirect.github.com/sharingjoin/bestJavaer/blob/master/java-basic/java-reflect.md#反射的思想及作用
https://camo.githubusercontent.com/06769e8844e9af7d5483b4d643e9a787d797276b41539cef87d0eb567fbc0b3a/68747470733a2f2f63646e2e6e6c61726b2e636f6d2f79757175652f302f323032302f706e672f313639343032392f313539363532393731383731382d39303331353665662d326532322d343238652d393434392d6162323663656433623566382e706e67
https://redirect.github.com/sharingjoin/bestJavaer/blob/master/java-basic/java-reflect.md#反射的基本使用
https://camo.githubusercontent.com/323c3309775cd0f49c45691326b0f6c327982251f6884980f477843c36e35f1f/68747470733a2f2f63646e2e6e6c61726b2e636f6d2f79757175652f302f323032302f706e672f313639343032392f313539363535353832333631312d30663832643537612d643262312d343435372d613130662d6233366531303163306238652e706e67
https://redirect.github.com/sharingjoin/bestJavaer/blob/master/java-basic/java-reflect.md#获取类的-class-对象
https://camo.githubusercontent.com/549f81906dfdc750ae73fd1700cea3f113e4bb4741e4496e8e026c816f02462c/68747470733a2f2f63646e2e6e6c61726b2e636f6d2f79757175652f302f323032302f706e672f313639343032392f313539363533343738393031382d38373039353862612d393131662d343561332d623462372d6637336666393332353166642e706e67
https://redirect.github.com/sharingjoin/bestJavaer/blob/master/java-basic/java-reflect.md#构造类的实例化对象
https://redirect.github.com/sharingjoin/bestJavaer/blob/master/java-basic/java-reflect.md#获取一个类的所有信息
https://camo.githubusercontent.com/aeed20bda3298a39fb364fca36586f681039ff0d9bc4d897376668746720077f/68747470733a2f2f63646e2e6e6c61726b2e636f6d2f79757175652f302f323032302f706e672f313639343032392f313539373331333630373635392d32646634663836352d336263382d346462642d386466632d6636656166653334353139642e706e67
https://redirect.github.com/sharingjoin/bestJavaer/blob/master/java-basic/java-reflect.md#获取类中的变量field
https://redirect.github.com/sharingjoin/bestJavaer/blob/master/java-basic/java-reflect.md#获取类中的方法method
https://redirect.github.com/sharingjoin/bestJavaer/blob/master/java-basic/java-reflect.md#获取类的构造器constructor
https://redirect.github.com/sharingjoin/bestJavaer/blob/master/java-basic/java-reflect.md#获取注解
https://redirect.github.com/sharingjoin/bestJavaer/blob/master/java-basic/java-reflect.md#通过反射调用方法
https://redirect.github.com/sharingjoin/bestJavaer/blob/master/java-basic/java-reflect.md#反射的应用场景
https://redirect.github.com/sharingjoin/bestJavaer/blob/master/java-basic/java-reflect.md#spring-的-ioc-容器
https://redirect.github.com/sharingjoin/bestJavaer/blob/master/java-basic/java-reflect.md#反射--抽象工厂模式
https://redirect.github.com/sharingjoin/bestJavaer/blob/master/java-basic/java-reflect.md#jdbc-加载数据库驱动类
https://camo.githubusercontent.com/5bfb9f0c5f154557bc2805aadea9a9feb216da490b4433787b30b435e21610ff/68747470733a2f2f63646e2e6e6c61726b2e636f6d2f79757175652f302f323032302f706e672f313639343032392f313539373333323430363136382d35313033663333642d373966352d343536622d393936322d3066373739626162353137342e706e67
https://redirect.github.com/sharingjoin/bestJavaer/blob/master/java-basic/java-reflect.md#反射的优势及缺陷
https://redirect.github.com/sharingjoin/bestJavaer/blob/master/java-basic/java-reflect.md#增加程序的灵活性
https://camo.githubusercontent.com/d1e7a6050bff377068a10070f226010d9ebf63891a5d6de35f5b0c3ec5f537cd/68747470733a2f2f63646e2e6e6c61726b2e636f6d2f79757175652f302f323032302f706e672f313639343032392f313539363638393131393539322d39386165303666642d633539652d343739342d383133302d6666306264666530663535302e706e67
https://redirect.github.com/sharingjoin/bestJavaer/blob/master/java-basic/java-reflect.md#破坏类的封装性
https://redirect.github.com/sharingjoin/bestJavaer/blob/master/java-basic/java-reflect.md#性能损耗
https://redirect.github.com/sharingjoin/bestJavaer/blob/master/java-basic/java-reflect.md#反射基础篇文末总结
https://camo.githubusercontent.com/64d47cab7320552526c1e21a3ca1138c2c6b231cbf63173ff1e31c982b37b734/68747470733a2f2f747661312e73696e61696d672e636e2f6c617267652f3030386933736b4e6c7931677369766b62637a786f6a33316c32307438616c352e6a7067
https://camo.githubusercontent.com/d15ead80e46ed776dd253e5c3a5914e7fa7332043f7d7dbfc2c4906ed1c9975b/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.