ReflectionTypeSolver

Uses reflection to resolve types. Classes on the classpath used to run your application will be found. No source code is available for the resolved types.

Author

Federico Tomassetti

Constructors

Link copied to clipboard
constructor(classFilter: Predicate<String>)
constructor(jreOnly: Boolean)
constructor()
Resolves classes from the JRE that is currently running.

Properties

Link copied to clipboard
Class name filter matching all classes.
Link copied to clipboard
Link copied to clipboard
val JAVA_LANG_RECORD: String = "java.lang.Record"
Link copied to clipboard
Class name filter matching classes in the Java Class Library.
Link copied to clipboard
Class name filter matching classes in the core Java standard library.
Link copied to clipboard
open var parent: TypeSolver

Functions

Link copied to clipboard
open fun getRoot(): TypeSolver
Link copied to clipboard
open fun hasType(name: String): Boolean
Link copied to clipboard
Link copied to clipboard
open fun solveTypeInModule(qualifiedModuleName: String, simpleTypeName: String): ResolvedReferenceTypeDeclaration
Link copied to clipboard
abstract fun tryToSolveTypeInModule(qualifiedModuleName: String, simpleTypeName: String): SymbolReference<ResolvedReferenceTypeDeclaration>
open fun tryToSolveTypeInModule(qualifiedModuleName: String, simpleTypeName: String): SymbolReference<ResolvedReferenceTypeDeclaration>