Package aQute.bnd.classindex
Class ClassIndexerAnalyzer
- java.lang.Object
-
- aQute.bnd.classindex.ClassIndexerAnalyzer
-
- All Implemented Interfaces:
AnalyzerPlugin
public class ClassIndexerAnalyzer extends java.lang.Object implements AnalyzerPlugin
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
BND_HASHES
static java.lang.String
X_CLASSINDEX
-
Constructor Summary
Constructors Constructor Description ClassIndexerAnalyzer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
analyzeJar(Analyzer analyzer)
This plugin is called after analysis.static int
hash(java.lang.String last)
static boolean
isEqual(java.lang.String a, java.lang.String b)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface aQute.bnd.service.AnalyzerPlugin
ordering
-
-
-
-
Field Detail
-
X_CLASSINDEX
public static final java.lang.String X_CLASSINDEX
- See Also:
- Constant Field Values
-
BND_HASHES
public static final java.lang.String BND_HASHES
- See Also:
- Constant Field Values
-
-
Method Detail
-
analyzeJar
public boolean analyzeJar(Analyzer analyzer) throws java.lang.Exception
Description copied from interface:AnalyzerPlugin
This plugin is called after analysis. The plugin is free to modify the jar and/or change the classpath information (see referred, contained). This plugin is called after analysis of the JAR but before manifest generation.- Specified by:
analyzeJar
in interfaceAnalyzerPlugin
- Returns:
- true if the classpace has been modified so that the bundle classpath must be reanalyzed
- Throws:
java.lang.Exception
-
hash
public static int hash(java.lang.String last)
-
isEqual
public static boolean isEqual(java.lang.String a, java.lang.String b)
-
-