org.apache.felix.scrplugin.helper
Class ClassScanner

java.lang.Object
  extended by org.apache.felix.scrplugin.helper.ClassScanner

public class ClassScanner
extends java.lang.Object

The class scanner scans class files for annotations and invokes the AnnotationProcessor on each scanned class file.


Constructor Summary
ClassScanner(Log log, IssueLog iLog, Project project, AnnotationProcessor aProcessor)
          Create a new scanner.
 
Method Summary
 ClassDescription getDescription(java.lang.Class<?> clazz)
          Get a description for the class
 java.util.List<ClassDescription> scanSources()
          Scan all source class files for annotations and process them.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassScanner

public ClassScanner(Log log,
                    IssueLog iLog,
                    Project project,
                    AnnotationProcessor aProcessor)
Create a new scanner.

Method Detail

scanSources

public java.util.List<ClassDescription> scanSources()
                                             throws SCRDescriptorFailureException,
                                                    SCRDescriptorException
Scan all source class files for annotations and process them.

Throws:
SCRDescriptorFailureException
SCRDescriptorException

getDescription

public ClassDescription getDescription(java.lang.Class<?> clazz)
                                throws SCRDescriptorException,
                                       SCRDescriptorFailureException
Get a description for the class

Throws:
SCRDescriptorException
SCRDescriptorFailureException


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.