Registry / utility / typetools

typetools

JSON →
library0.6.3javamavenunverified

TypeTools is a Java library for resolving generic type information at runtime, useful for reflection-based frameworks.

<dependency> <groupId>net.jodah</groupId> <artifactId>typetools</artifactId> <version>0.6.3</version> </dependency>
INSTALL
IMPORT
SIG · TYPETOOLS
T
typetools
utilityjavav0.6.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TypeResolver
net.jodah.typetools.TypeResolver

Resolve the generic type argument of a List subclass using TypeResolver.

import net.jodah.typetools.TypeResolver; public class TypeToolsExample { public static void main(String[] args) { Class<?> type = TypeResolver.resolveRawArgument(List.class, new ArrayList<String>() {}); System.out.println(type); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.6.3latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
typetools — mvn dependency:get typetools · libregistry