Package aQute.bnd.osgi
Class Analyzer
java.lang.Object
aQute.bnd.osgi.Domain
aQute.bnd.osgi.Processor
aQute.bnd.osgi.Analyzer
- All Implemented Interfaces:
Constants,Registry,Report,Reporter,Closeable,AutoCloseable,Iterable<String>
- Direct Known Subclasses:
Builder
This class can calculate the required headers for a (potential) JAR file. It
analyzes a directory or JAR for the packages that are contained and that are
referred to by the bytecodes. The user can the use regular expressions to
define the attributes and directives. The matching is not fully regex for
convenience. A * and ? get a . prefixed and dots are escaped.
*;auto=true any org.acme.*;auto=true org.acme.xyz org.[abc]*;auto=true org.acme.xyzAdditional, the package instruction can start with a '=' or a '!'. The '!' indicates negation. Any matching package is removed. The '=' is literal, the expression will be copied verbatim and no matching will take place. Any headers in the given properties are used in the output properties.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class aQute.bnd.osgi.Processor
Processor.CL, Processor.FileLine, Processor.SetLocationImplNested classes/interfaces inherited from interface aQute.service.reporter.Report
Report.LocationNested classes/interfaces inherited from interface aQute.service.reporter.Reporter
Reporter.SetLocation -
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final StringThe extends macro traverses all classes and returns a list of class names that extend a base class.(package private) static final String(package private) static final String(package private) static final StringSHA1 macroprivate Descriptors.TypeRefprivate booleanprivate AnnotationHeadersprivate final MultiMap<Descriptors.PackageRef, Descriptors.PackageRef> private static final Patternmd5 macroprivate final Map<Descriptors.TypeRef, String> private Set<