Class QDoxParser
java.lang.Object
uk.co.terminological.rjava.plugin.QDoxParser
The business end of the library.
This scans source code using QDox using the static scanModel method
which is called by the main maven plugin class
- Author:
- terminological
-
Method Summary
Modifier and TypeMethodDescriptioncreateClass
(com.thoughtworks.qdox.model.JavaClass clazz, RModel model) createMethod
(com.thoughtworks.qdox.model.JavaMethod m, RModel model, RClass cls, boolean async, boolean future, Map<String, Object> annotationMap) createType
(com.thoughtworks.qdox.model.JavaType type, RModel model) createType
(Class<?> type, RModel model) getOrCreateType
(com.thoughtworks.qdox.model.JavaType type, RModel model) Optional<com.thoughtworks.qdox.model.JavaClass>
javaClassFor
(Class<?> clazz) reflectionClassFor
(com.thoughtworks.qdox.model.JavaType type) scanModel
(List<?> list, PackageData config, org.apache.maven.plugin.logging.Log log)
-
Method Details
-
scanModel
public static Optional<RModel> scanModel(List<?> list, PackageData config, org.apache.maven.plugin.logging.Log log) throws org.apache.maven.plugin.MojoExecutionException - Throws:
org.apache.maven.plugin.MojoExecutionException
-
javaClassFor
-
reflectionClassFor
-
createClass
public RClass createClass(com.thoughtworks.qdox.model.JavaClass clazz, RModel model) throws org.apache.maven.plugin.MojoExecutionException - Throws:
org.apache.maven.plugin.MojoExecutionException
-
createMethod
public RMethod createMethod(com.thoughtworks.qdox.model.JavaMethod m, RModel model, RClass cls, boolean async, boolean future, Map<String, Object> annotationMap) throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getOrCreateType
public RType getOrCreateType(com.thoughtworks.qdox.model.JavaType type, RModel model) throws org.apache.maven.plugin.MojoExecutionException - Throws:
org.apache.maven.plugin.MojoExecutionException
-
createType
public RType createType(Class<?> type, RModel model) throws org.apache.maven.plugin.MojoExecutionException - Throws:
org.apache.maven.plugin.MojoExecutionException
-
createType
public RType createType(com.thoughtworks.qdox.model.JavaType type, RModel model) throws org.apache.maven.plugin.MojoExecutionException - Throws:
org.apache.maven.plugin.MojoExecutionException
-