René's URL Explorer Experiment


Title: Import wildcards · Issue #44 · microsoftgraph/msgraph-sdk-java · GitHub

Open Graph Title: Import wildcards · Issue #44 · microsoftgraph/msgraph-sdk-java

X Title: Import wildcards · Issue #44 · microsoftgraph/msgraph-sdk-java

Description: I'd rank this as a nice to have. Import wildcards are used throughout the library. This has two primary effects: Namespace disambiguation must be controlled by class names rather than just package names Understanding the code outside a j...

Open Graph Description: I'd rank this as a nice to have. Import wildcards are used throughout the library. This has two primary effects: Namespace disambiguation must be controlled by class names rather than just package ...

X Description: I'd rank this as a nice to have. Import wildcards are used throughout the library. This has two primary effects: Namespace disambiguation must be controlled by class names rather than just pack...

Opengraph URL: https://github.com/microsoftgraph/msgraph-sdk-java/issues/44

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Import wildcards","articleBody":"I'd rank this as a nice to have. \r\n\r\nImport wildcards are used throughout the library. This has two primary effects:\r\n\r\n* Namespace disambiguation must be controlled by class names rather than just package names\r\n* Understanding the code outside a java enabled IDE is difficult (say in the browser)\r\n\r\nThe first one has been dealt with by ensuring no names are repeated between packages and I can cope with that though it is not ideal.\r\n\r\nThe second point is a more critical annoyance when trying to browse the code on github itself or as text locally because you can't see what package a referenced class is from.\r\n\r\nThe import wildcards in the generated code can be removed (and ambiguous names handled correctly with full qualification when necessary) using a technique like this (taken from https://github.com/davidmoten/state-machine/blob/master/state-machine-generator/src/main/java/com/github/davidmoten/fsm/model/Generator.java):\r\n\r\n```java\r\nImports imports = new Imports();\r\nByteArrayOutputStream bytes = new ByteArrayOutputStream();\r\nPrintStream out = new PrintStream(bytes);\r\nout.format(\"package %s;\\n\", pkg);\r\nout.println();\r\nout.println(\"\u003cIMPORTS>\");\r\nout.println();\r\nout.format(\"public interface %s\u003cId> extends %s\u003c%s, Id>{\\n\", behaviourClassSimpleName(),\r\n                    imports.add(EntityBehaviour.class), imports.add(clsName));\r\n...\r\nresult.print(new String(bytes.toByteArray(StandardCharsets.UTF_8))\r\n            .replace(\"\u003cIMPORTS>\", imports.importsAsString()));\r\n```\r\nIn a nutshell, you write your imports last after registering all types in the `Imports` and the `Imports` object decides which classes need to be fully qualified (first in best dressed).\r\n\r\nAn easy option is after pasting generated code, use an IDE like Eclipse to organize imports across the project (right mouse on project - Source - Organize imports).\r\n\r\nGot an opinion on this one @cbales?","author":{"url":"https://github.com/davidmoten","@type":"Person","name":"davidmoten"},"datePublished":"2018-02-08T02:50:26Z","url":"https://github.com/microsoftgraph/msgraph-sdk-java/issues/44"}

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/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:cd3743b1-d698-1554-c8e3-f86c2d7193e9
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9244:33B36B:EC3545:1384178:6B050CFC
html-safe-nonce85d5c8cfd289ac616533a985c919f44dfd61333cca599ac0a3a71afe4d806f64
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjQ0OjMzQjM2QjpFQzM1NDU6MTM4NDE3ODo2QjA1MENGQyIsInZpc2l0b3JfaWQiOiIxNjk5Mjc4ODYyOTkyODcwNjUyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac9a74b739c3aa81cbaf3f24f145e8c3fdc8d607f0f649be7ea7311f4666653c5f
hovercard-subject-tagissue:295367380
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoftgraph/msgraph-sdk-java/44/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b0aa124a18864845b630702c19c21b82e287715d3ac53f3f79b476a921fb21e8/microsoftgraph/msgraph-sdk-java/issues/44
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b0aa124a18864845b630702c19c21b82e287715d3ac53f3f79b476a921fb21e8/microsoftgraph/msgraph-sdk-java/issues/44
og:image:altI'd rank this as a nice to have. Import wildcards are used throughout the library. This has two primary effects: Namespace disambiguation must be controlled by class names rather than just package ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedavidmoten
hostnamegithub.com
expected-hostnamegithub.com
None854d880890b5e847b3fce9d1b31f032107baeddeebad2aa379c48aa4f1451f6b
turbo-cache-controlno-preview
go-importgithub.com/microsoftgraph/msgraph-sdk-java git https://github.com/microsoftgraph/msgraph-sdk-java.git
octolytics-dimension-user_id17304259
octolytics-dimension-user_loginmicrosoftgraph
octolytics-dimension-repository_id103300409
octolytics-dimension-repository_nwomicrosoftgraph/msgraph-sdk-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id103300409
octolytics-dimension-repository_network_root_nwomicrosoftgraph/msgraph-sdk-java
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
release220e980097d94ce616d5d11fbd5316d208e3fc93
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoftgraph/msgraph-sdk-java/issues/44#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoftgraph%2Fmsgraph-sdk-java%2Fissues%2F44
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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoftgraph%2Fmsgraph-sdk-java%2Fissues%2F44
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoftgraph%2Fmsgraph-sdk-java
Reloadhttps://github.com/microsoftgraph/msgraph-sdk-java/issues/44
Reloadhttps://github.com/microsoftgraph/msgraph-sdk-java/issues/44
Reloadhttps://github.com/microsoftgraph/msgraph-sdk-java/issues/44
microsoftgraphhttps://github.com/microsoftgraph
msgraph-sdk-javahttps://github.com/microsoftgraph/msgraph-sdk-java
Codehttps://github.com/microsoftgraph/msgraph-sdk-java
Issues107 (107)https://github.com/microsoftgraph/msgraph-sdk-java/issues
Pull requests23 (23)https://github.com/microsoftgraph/msgraph-sdk-java/pulls
Actionshttps://github.com/microsoftgraph/msgraph-sdk-java/actions
Projectshttps://github.com/microsoftgraph/msgraph-sdk-java/projects
Security and qualityhttps://github.com/microsoftgraph/msgraph-sdk-java/security
Insightshttps://github.com/microsoftgraph/msgraph-sdk-java/insights
https://github.com/microsoftgraph/msgraph-sdk-java
New issuehttps://github.com/login?return_to=https://github.com/microsoftgraph/msgraph-sdk-java/issues/44
New issuehttps://github.com/login?return_to=https://github.com/microsoftgraph/msgraph-sdk-java/issues/44
#125https://github.com/microsoftgraph/msgraph-sdk-java/pull/125
Import wildcardshttps://github.com/microsoftgraph/msgraph-sdk-java/issues/44#top
#125https://github.com/microsoftgraph/msgraph-sdk-java/pull/125
trackedhttps://github.com/microsoftgraph/msgraph-sdk-java/issues?q=state%3Aopen%20label%3A%22tracked%22
https://github.com/davidmoten
Dave Moten (davidmoten)https://github.com/davidmoten
on Feb 8, 2018https://github.com/microsoftgraph/msgraph-sdk-java/issues/44#issue-295367380
https://github.com/davidmoten/state-machine/blob/master/state-machine-generator/src/main/java/com/github/davidmoten/fsm/model/Generator.javahttps://github.com/davidmoten/state-machine/blob/master/state-machine-generator/src/main/java/com/github/davidmoten/fsm/model/Generator.java
Cbaleshttps://github.com/Cbales
Caitlin Russell (caitlinrussell)https://github.com/caitlinrussell
trackedhttps://github.com/microsoftgraph/msgraph-sdk-java/issues?q=state%3Aopen%20label%3A%22tracked%22
on Mar 6, 2018https://github.com/microsoftgraph/msgraph-sdk-java/issues/44#event-1507621635
Deepak Agrawal (deepak2016)https://github.com/deepak2016
completedhttps://github.com/microsoftgraph/msgraph-sdk-java/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#125https://github.com/microsoftgraph/msgraph-sdk-java/pull/125
on Aug 29, 2018https://github.com/microsoftgraph/msgraph-sdk-java/issues/44#event-1814940572
https://github.com/davidmoten
Dave Moten (davidmoten)https://github.com/davidmoten
on Aug 29, 2018https://github.com/microsoftgraph/msgraph-sdk-java/issues/44#issuecomment-416863511
Deepak Agrawal (@deepak2016)https://github.com/deepak2016
Deepak Agrawal (deepak2016)https://github.com/deepak2016
on Aug 29, 2018https://github.com/microsoftgraph/msgraph-sdk-java/issues/44#event-1814977365
https://github.com/baywet
Vincent Biret (baywet)https://github.com/baywet
on Sep 1, 2020https://github.com/microsoftgraph/msgraph-sdk-java/issues/44#issuecomment-684808128
Dave Moten (@davidmoten)https://github.com/davidmoten
Vincent Biret (baywet)https://github.com/baywet
completedhttps://github.com/microsoftgraph/msgraph-sdk-java/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Sep 1, 2020https://github.com/microsoftgraph/msgraph-sdk-java/issues/44#event-3714596789
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoftgraph/msgraph-sdk-java/issues/44
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoftgraph/msgraph-sdk-java/issues/44
trackedhttps://github.com/microsoftgraph/msgraph-sdk-java/issues?q=state%3Aopen%20label%3A%22tracked%22
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.