See: Description
Interface | Description |
---|---|
UnifiedTypeFactory |
Factory for XClass implementations based on a given java.lang.Class or a javax.lang.model.type.TypeMirror.
|
XClass | |
XConstructor | |
XElement |
A Java Program element.
|
XEnumConstant | |
XExecutable | |
XField | |
XMember | |
XMethod |
Class | Description |
---|---|
DocumentationExtractor | |
ReflectionClassFactory |
Implementation relying on reflection.
|
This package also offers a concrete implementation based on Java reflection with java.lang.Class and java.lang.reflect to be used by annotation processors at runtime. Alternative implementations could use javax.lang.model as a source of type metadata.
This package is somewhat similar in purpose with JEP 119, but instead of offering a javax.lang.model implementation backed by Java reflection (which would be a lot of work) it just offers a minimal common API that unifies and abstracts java.lang.reflect and javax.lang.model so annotation processing and code generation can easily work with both.
Copyright © 2019 JBoss, a division of Red Hat. All rights reserved.