Registry / utility / geantyref

geantyref

JSON →
library2.0.1javamavenunverified

A generic type reflection library for Java that provides utilities for working with parameterized types and annotated types.

<dependency> <groupId>io.leangen.geantyref</groupId> <artifactId>geantyref</artifactId> <version>2.0.1</version> </dependency>
INSTALL
IMPORT
SIG · GEANTYREF
G
geantyref
utilityjavav2.0.1
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.

TypeToken
✓ io.leangen.geantyref.TypeToken

Demonstrates creating a TypeToken to capture a generic type.

import io.leangen.geantyref.TypeToken; public class Example { public static void main(String[] args) { TypeToken<List<String>> token = new TypeToken<List<String>>() {}; System.out.println(token.getType()); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.0.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
geantyref — mvn dependency:get geantyref · libregistry