Package aQute.bnd.help
Class SpecialConverter
java.lang.Object
aQute.lib.converter.Converter
aQute.bnd.help.SpecialConverter
Special handling of the instruction types like Parameters, Attrs, and the
type safe interfaces related to this.
-
Nested Class Summary
Nested classes/interfaces inherited from class aQute.lib.converter.Converter
Converter.Hook
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) Object
convertNeverNull
(Type type, Object value) static boolean
isSyntaxInterface
(Type type) Guess if this interface is a map to type interface.Methods inherited from class aQute.lib.converter.Converter
array, cnv, cnv, cnv, convert, convert, convert, hook, isMultiple, isMultiple, mangleMethodName, proxy, setBase, setFatalIsException, toCollection, toMap
-
Field Details
-
EMPTY
-
-
Constructor Details
-
SpecialConverter
SpecialConverter()
-
-
Method Details
-
isSyntaxInterface
Guess if this interface is a map to type interface. This is basically any interface - interfaces that extend of Map and Iterable.- Parameters:
type
- the type to guess- Returns:
- true if this is likely an interface that can be used for converting a map to a type.
-
convertNeverNull
- Throws:
Exception
-