Class QDoxParser

java.lang.Object
uk.co.terminological.rjava.plugin.QDoxParser

public class QDoxParser extends Object
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 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

      public Optional<com.thoughtworks.qdox.model.JavaClass> javaClassFor(Class<?> clazz)
    • reflectionClassFor

      public Optional<Class<?>> reflectionClassFor(com.thoughtworks.qdox.model.JavaType type)
    • 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