Comments (6)
and theforName
method call will cause the class been initialized ,which may no what we want
from classgraph.
I'm all for not loading classes unless absolutely necessary. But what will you do with a class, if it's not to load it eventually? Are you saying you just want a list of strings back of matching fully-qualified class names, and then you'll decide yourself whether to load them or not?
from classgraph.
Fixed, please see the version I just pushed. Thanks for the suggestion!
from classgraph.
@lukehutch yes,I may want to load but don't initialized it.another issue I will check when I am free is that,currently,this library could not find the classpath,if I am using sbt or package the classpath in a classpath.jar.
thanks :P
from classgraph.
Hi @hepin1989, this library should be able to scan within JAR files, but if it's not working, please narrow down the problem and open another bug. Thanks!
from classgraph.
@lukehutch will later :),thanks too.
from classgraph.
Related Issues (20)
- Documentation issue HOT 2
- META-INF/MANIFEST.MF must include Dependencies: jdk.unsupported HOT 8
- Issue 673 test sometimes fails
- ClassGraph can't scan the jce.jar in jdk on the linux system, why? HOT 1
- ClassGraph thinks the application jars are JRE_LIB_OR_EXT_JARS HOT 5
- Get the Class and method comments HOT 2
- How to expose the full classpath from classloader? HOT 1
- Feature request:Add getClassesWithAllAnnotations HOT 8
- Expose a way to get the jar version that a Resource belongs to HOT 2
- zip64 bug in LogicalZipFile HOT 3
- JBoss EAP 7.4.15 class loading issue on EJB Modules HOT 17
- ClassRefTypeSignature.getFullyQualifiedClassName() can return incorrect classnames in some circumstances, using "." instead of "$" HOT 4
- Trouble with GraalVM native-image post compile HOT 3
- classgraph cannot scan all files of guava 33.2.1 HOT 4
- GraalVM static initializer -- unsure if actually working? HOT 1
- Consider bridge to nio Path HOT 7
- acceptPackages with glob wildcard not working properly HOT 1
- #rejectPaths usage with relative paths HOT 3
- #rejectClasses usage for module-info.class HOT 2
- Cannot find private methods in Kotlin files HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from classgraph.