java-classmate
java-classmate copied to clipboard
Library for introspecting generic type information of types, member/static methods, fields. Especially useful for POJO/Bean introspection.
Some function like `Jackson2JsonRedisSerializer` requires `JavaType` as parameter. When I tried to pass generic type parameter via `GenericType` object, I find that `GenericType` can only be converted to `ResolvedType`, and...
I've recently come across a surprising behaviour regarding `MemberResolver`'s `getMemberMethods`. Consider the following classes: ```java interface Foo {} class Bar implements Foo {} interface A { Foo doSomething(); } class...
Thanks for a great project! It would be helpful if there were a method on `ResolvedType` that could provide a `List` or `Set` of all implemented and extended `Type`s. I...
Convenience method for the full set of types for a type (fixes #50)
I've been using `classmate` for type resolutions within my [victools/jsonschema-generator](https://github.com/victools/jsonschema-generator) library. Unfortunately, I've hit a snag. It's this particular piece of code in the `TypeResolver (lines 288-299)`: ```java for (int...
When looking at this project there was no copyright information found, only a hint to the developer Tatu Solaranta. Is it correct then that this project may be used without...
New to Java 8, the AnnotatedType class carries annotations bind to types in Generic expressions. So if I write ``` @MaxLength(3) List myField; ``` I can get the `@NotNull` annotation...
The JLS indicates that a subclass array type [should have the parent class array type as a supertype](https://docs.oracle.com/javase/specs/jls/se7/html/jls-4.html#jls-4.10.3), although it stops short of saying that it should have the parent...
We have a new format, [SURF](https://urf.io/surf/), for which we want to create a marshaling system (like Jackson) for JAX-RS. (We already have [reference implementation parsers/serializers](https://urf.io/surf/impl/ref) in place.) We considered piggy-backing...
I am using classmate-1.3.3 and I faced with an issue when using MemberResolver. The problem is that if a class and its child class have exactly the same private methods...