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.
Interface Summary Interface Description XClass XConstructor XElementA Java Program element. XEnumConstant XExecutable XField XMember XMethod XTypeFactoryFactory for XClass implementations based on a given java.lang.Class or a javax.lang.model.type.TypeMirror.
Class Summary Class Description DocumentationExtractor ReflectionTypeFactoryImplementation relying on reflection.