My use case requires me to collect classes that have a TYPE_USE annotation on an extended or implemented type (i.e., after the extends or implements keyword).
For example:
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.TYPE_USE;
public interface Interface {}
@Target(TYPE_USE)
@interface Special {}
class Implementation implements @Special Interface
{
//...
}
ClassGraph appears to be able to process TYPE_USE annotation in many other scenarios but not the case where the annotation marks an extended or implemented type.
My use case requires me to collect classes that have a
TYPE_USEannotation on an extended or implemented type (i.e., after theextendsorimplementskeyword).For example:
ClassGraph appears to be able to process
TYPE_USEannotation in many other scenarios but not the case where the annotation marks an extended or implemented type.