classfileResource not set for superclasses
See original GitHub issuei use Classgraph for JDK classes.
i have the following problem
if a subclass is scanned first and the parent class after
the superclass entry will have classfileResource == null
as of io.github.classgraph.ClassInfo.getOrCreateClassInfo(String, int, Map<String, ClassInfo>)
my expectation would be that
io.github.classgraph.ClassInfo.addScannedClass(String, int, boolean, Map<String, ClassInfo>, ClasspathElement, Resource)
corrects this in the else branch, (classInfo.classfileResource = classfileResource;
)
but it does not
Issue Analytics
- State:
- Created 4 years ago
- Comments:27 (27 by maintainers)
Top Results From Across the Web
Can't access protected member of superclass from same ...
The scope for an anonymous inner class is only the point where it is defined. So it will not have access to inherited...
Read more >Example usage for org.eclipse.jdt.core.compiler ... - Java2s.com
Object only if the super class is not missing if (objectIndex > -1 && (!this. ... else { IResource file = classFile.resource(); binaryType...
Read more >org.eclipse.jdt.internal.core.hierarchy.HierarchyBuilder java ...
Returns a handle for the given generic type or null if not found. getType · lookupBinaryHandle. Looks up and returns a handle for...
Read more >Java Examples for org.codehaus.groovy.runtime ... - Javatips.net
Header last = null; for (Iterator iter = superClasses.iterator(); iter. ... This method is invoked by Groovy when a method that's not defined...
Read more >Resource assignment with service classes - IBM
You can create different service superclasses to provide the execution ... to run activities that you do not assign to an explicitly defined...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
nice. many thanks
Yes