Package aQute.bnd.xmlattribute
Class XMLAttributeFinder
- java.lang.Object
-
- aQute.bnd.osgi.ClassDataCollector
-
- aQute.bnd.xmlattribute.XMLAttributeFinder
-
public class XMLAttributeFinder extends ClassDataCollector
-
-
Field Summary
Fields Modifier and Type Field Description private Analyzer
analyzer
(package private) java.util.Map<Descriptors.TypeRef,XMLAttribute>
annoCache
(package private) java.util.Map<Descriptors.TypeRef,java.util.Map<java.lang.String,java.lang.String>>
defaultsCache
(package private) XMLAttribute
xmlAttr
-
Constructor Summary
Constructors Constructor Description XMLAttributeFinder(Analyzer analyzer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
annotation(Annotation annotation)
private java.util.Map<java.lang.String,java.lang.String>
extractDefaults(Descriptors.TypeRef name, Analyzer analyzer)
java.util.Map<java.lang.String,java.lang.String>
getDefaults(Annotation a)
XMLAttribute
getXMLAttribute(Annotation a)
-
Methods inherited from class aQute.bnd.osgi.ClassDataCollector
addReference, annotationDefault, annotationDefault, classBegin, classEnd, classStart, classStart, constant, deprecated, enclosingMethod, extendsClass, field, implementsInterfaces, innerClass, memberEnd, method, parameter, referenceMethod, referTo, signature, version
-
-
-
-
Field Detail
-
analyzer
private final Analyzer analyzer
-
annoCache
java.util.Map<Descriptors.TypeRef,XMLAttribute> annoCache
-
defaultsCache
java.util.Map<Descriptors.TypeRef,java.util.Map<java.lang.String,java.lang.String>> defaultsCache
-
xmlAttr
XMLAttribute xmlAttr
-
-
Constructor Detail
-
XMLAttributeFinder
public XMLAttributeFinder(Analyzer analyzer)
-
-
Method Detail
-
getXMLAttribute
public XMLAttribute getXMLAttribute(Annotation a) throws java.lang.Exception
- Throws:
java.lang.Exception
-
annotation
public void annotation(Annotation annotation) throws java.lang.Exception
- Overrides:
annotation
in classClassDataCollector
- Throws:
java.lang.Exception
-
getDefaults
public java.util.Map<java.lang.String,java.lang.String> getDefaults(Annotation a)
-
extractDefaults
private java.util.Map<java.lang.String,java.lang.String> extractDefaults(Descriptors.TypeRef name, Analyzer analyzer)
-
-