question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

0.10-RC1: Incorrect example for TypesAnnotated.with()

See original GitHub issue

In the example in the readme it states that

Set<Class<?>> annotated = 
  reflections.get(TypesAnnotated.with(SomeAnnotation.class));

In 0.10-RC1, it results in a Set<String>, as with() is backed by default QueryFunction<Store, String> with(Class<?>... keys) { return of(keys); }. Not only that, the collection is empty contrary to what was returned in 0.9.12.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
davidburstromcommented, Oct 10, 2021

I can confirm the fix works as intended in 0.10.1 😃

0reactions
ronmamocommented, Oct 8, 2021

fixed in 0.10.1

Read more comments on GitHub >

github_iconTop Results From Across the Web

Reflections (Reflections 0.9.10 API) - javadoc.io
Reflections one-stop-shop object. Reflections scans your classpath, indexes the metadata, allows you to query it on runtime and may save and collect that ......
Read more >
reflections - Bountysource
annotated = reflections.get(TypesAnnotated.with(SomeAnnotation.class));. In 0.10-RC1, it results in a Set<String> , as with() is backed by default ...
Read more >
org.reflections.Reflections Maven / Gradle / Ivy
Reflections maven / gradle build tool code. The class is part of the package ➦ Group: org.reflections ➦ Artifact: reflections ➦ Version: 0.10-RC1....
Read more >
reflections - bytemeta
0.10-RC1 : Incorrect example for TypesAnnotated.with(). davidburstrom ... 0.10-RC1: org.slf4j:slf4j-api missing from runtime classpath. cmrockwell.
Read more >
Preloader error with Yousician - BepInEx/BepInEx - IssueHint
0.10-RC1 : Incorrect example for TypesAnnotated.with(), 13, 2021-09-25 ; XML Tools: Pretty print crashes Notepad++, 3, 2022-02-10 ; Allow configuration of OCI ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found