public final class

SisuIndex

extends AbstractSisuIndex
implements QualifiedTypeListener
java.lang.Object
   ↳ org.eclipse.sisu.scanners.index.AbstractSisuIndex
     ↳ org.eclipse.sisu.scanners.index.SisuIndex

Class Overview

Command-line utility that generates a qualified class index for a space-separated list of JARs.

Summary

Fields
public static final String NAMED
Public Constructors
SisuIndex(File targetDirectory)
Public Methods
void hear(Annotation qualifier, Class<?> qualifiedType, Object source)
Invoked when the QualifiedTypeVisitor finds a qualified type.
void index(ClassSpace space)
static void main(String[] args)
Protected Methods
Reader getReader(String path)
Creates a new reader for the given input path.
Writer getWriter(String path)
Creates a new writer for the given output path.
void info(String message)
Reports an informational message.
void warn(String message)
Reports a warning message.
[Expand]
Inherited Methods
From class org.eclipse.sisu.scanners.index.AbstractSisuIndex
From class java.lang.Object
From interface org.eclipse.sisu.scanners.QualifiedTypeListener

Fields

public static final String NAMED

Public Constructors

public SisuIndex (File targetDirectory)

Public Methods

public void hear (Annotation qualifier, Class<?> qualifiedType, Object source)

Invoked when the QualifiedTypeVisitor finds a qualified type.

Parameters
qualifier The qualifier (unused)
qualifiedType The qualified type
source The source of this type

public void index (ClassSpace space)

public static void main (String[] args)

Protected Methods

protected Reader getReader (String path)

Creates a new reader for the given input path.

Parameters
path The input path
Returns
  • The relevant reader
Throws
IOException

protected Writer getWriter (String path)

Creates a new writer for the given output path.

Parameters
path The output path
Returns
  • The relevant writer
Throws
IOException

protected void info (String message)

Reports an informational message.

Parameters
message The message

protected void warn (String message)

Reports a warning message.

Parameters
message The message