A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pmd/pmd/issues/1207 below:

[java] Resolve explicit types using FQCNs, without hitting the classloader · Issue #1207 · pmd/pmd · GitHub

Many types are completely explicit in Java given the info that's present in the source file. These includes types in an extends/ implements clause, import statements, method and constructor formal parameter types, wildcard bounds, return types, (non-var) local variable types, etc. Even though the actual .class files may not be on our auxclasspath, we can resolve the qualified name of these in most cases, which could enhance the robustness of our type resolution when the auxclasspath is not set.

Implementation

The key would be to build some part of our type resolution around TypeQualifiedNames.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4