@Named(value="java-annotations") @Singleton public class JavaAnnotationsMojoDescriptorExtractor extends org.codehaus.plexus.logging.AbstractLogEnabled implements MojoDescriptorExtractor
Constructor and Description |
---|
JavaAnnotationsMojoDescriptorExtractor() |
Modifier and Type | Method and Description |
---|---|
protected Map<String,com.thoughtworks.qdox.model.JavaClass> |
discoverClasses(com.thoughtworks.qdox.JavaProjectBuilder builder) |
List<org.apache.maven.plugin.descriptor.MojoDescriptor> |
execute(PluginToolsRequest request) |
protected void |
extendJavaProjectBuilderWithSourcesJar(com.thoughtworks.qdox.JavaProjectBuilder builder,
org.apache.maven.artifact.Artifact artifact,
PluginToolsRequest request,
String classifier) |
protected MojoAnnotatedClass |
findClassWithExecuteAnnotationInParentHierarchy(MojoAnnotatedClass mojoAnnotatedClass,
Map<String,MojoAnnotatedClass> mojoAnnotatedClasses) |
protected List<ComponentAnnotationContent> |
getComponentParent(MojoAnnotatedClass mojoAnnotatedClass,
List<ComponentAnnotationContent> componentAnnotationContents,
Map<String,MojoAnnotatedClass> mojoAnnotatedClasses) |
protected Map<String,ComponentAnnotationContent> |
getComponentsParentHierarchy(MojoAnnotatedClass mojoAnnotatedClass,
Map<String,MojoAnnotatedClass> mojoAnnotatedClasses) |
protected org.apache.maven.project.MavenProject |
getFromProjectReferences(org.apache.maven.artifact.Artifact artifact,
org.apache.maven.project.MavenProject project) |
GroupKey |
getGroupKey() |
String |
getName() |
protected List<ParameterAnnotationContent> |
getParametersParent(MojoAnnotatedClass mojoAnnotatedClass,
List<ParameterAnnotationContent> parameterAnnotationContents,
Map<String,MojoAnnotatedClass> mojoAnnotatedClasses) |
protected Map<String,ParameterAnnotationContent> |
getParametersParentHierarchy(MojoAnnotatedClass mojoAnnotatedClass,
Map<String,MojoAnnotatedClass> mojoAnnotatedClasses) |
boolean |
isDeprecated() |
protected void |
populateDataFromJavadoc(com.thoughtworks.qdox.JavaProjectBuilder javaProjectBuilder,
Map<String,MojoAnnotatedClass> mojoAnnotatedClasses,
Map<String,com.thoughtworks.qdox.model.JavaClass> javaClassesMap,
JavadocLinkGenerator linkGenerator)
from sources scan to get @since and @deprecated and description of classes and fields.
|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRequiredJavaVersion
public static final String NAME
public JavaAnnotationsMojoDescriptorExtractor()
public String getName()
getName
in interface MojoDescriptorExtractor
public boolean isDeprecated()
isDeprecated
in interface MojoDescriptorExtractor
public GroupKey getGroupKey()
getGroupKey
in interface MojoDescriptorExtractor
public List<org.apache.maven.plugin.descriptor.MojoDescriptor> execute(PluginToolsRequest request) throws ExtractionException, org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException
execute
in interface MojoDescriptorExtractor
ExtractionException
org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException
protected void populateDataFromJavadoc(com.thoughtworks.qdox.JavaProjectBuilder javaProjectBuilder, Map<String,MojoAnnotatedClass> mojoAnnotatedClasses, Map<String,com.thoughtworks.qdox.model.JavaClass> javaClassesMap, JavadocLinkGenerator linkGenerator)
protected Map<String,com.thoughtworks.qdox.model.JavaClass> discoverClasses(com.thoughtworks.qdox.JavaProjectBuilder builder)
protected void extendJavaProjectBuilderWithSourcesJar(com.thoughtworks.qdox.JavaProjectBuilder builder, org.apache.maven.artifact.Artifact artifact, PluginToolsRequest request, String classifier) throws ExtractionException
ExtractionException
protected MojoAnnotatedClass findClassWithExecuteAnnotationInParentHierarchy(MojoAnnotatedClass mojoAnnotatedClass, Map<String,MojoAnnotatedClass> mojoAnnotatedClasses)
protected Map<String,ParameterAnnotationContent> getParametersParentHierarchy(MojoAnnotatedClass mojoAnnotatedClass, Map<String,MojoAnnotatedClass> mojoAnnotatedClasses)
protected List<ParameterAnnotationContent> getParametersParent(MojoAnnotatedClass mojoAnnotatedClass, List<ParameterAnnotationContent> parameterAnnotationContents, Map<String,MojoAnnotatedClass> mojoAnnotatedClasses)
protected Map<String,ComponentAnnotationContent> getComponentsParentHierarchy(MojoAnnotatedClass mojoAnnotatedClass, Map<String,MojoAnnotatedClass> mojoAnnotatedClasses)
protected List<ComponentAnnotationContent> getComponentParent(MojoAnnotatedClass mojoAnnotatedClass, List<ComponentAnnotationContent> componentAnnotationContents, Map<String,MojoAnnotatedClass> mojoAnnotatedClasses)
protected org.apache.maven.project.MavenProject getFromProjectReferences(org.apache.maven.artifact.Artifact artifact, org.apache.maven.project.MavenProject project)
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.