Skip to content

JavaField cannot get generic parameters declared as List<JavaAnnotation> field #264

@HK-hub

Description

@HK-hub

problem description

The generic arguments declared in the annotationList field of the ClassDescriptor class cannot be retrieved from JavaField
Image

class

public class ClassDescriptor {

    /**
     * 包名:例如geek.plugin.rest.controller
     */
    private String packageName;

    /**
     * 全限定名
     */
    private String fullClassName;

    /**
     * 简单类名
     */
    private String simpleClassName;

    /**
     * 类标注注解
     */
    private List<Annotation> annotationList;

    /**
     * Controller分类标签
     */
    private List<String> tags;

    /**
     * 类
     */
    private JavaClass javaClass;

}

version

the QDox is latest version: 2.2.0

<dependency>
       <groupId>com.thoughtworks.qdox</groupId>
       <artifactId>qdox</artifactId>
        <version>2.2.0</version>
</dependency>

project link

detail project info please access this repository QuickDoc

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions