public class XMLAttributeFinder extends ClassDataCollector
Modifier and Type | Field and 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 and Description |
---|
XMLAttributeFinder(Analyzer analyzer) |
Modifier and Type | Method and 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) |
addReference, annotationDefault, annotationDefault, classBegin, classEnd, classStart, classStart, constant, deprecated, enclosingMethod, extendsClass, field, implementsInterfaces, innerClass, memberEnd, method, parameter, referenceMethod, referTo, signature, version
private final Analyzer analyzer
java.util.Map<Descriptors.TypeRef,XMLAttribute> annoCache
java.util.Map<Descriptors.TypeRef,java.util.Map<java.lang.String,java.lang.String>> defaultsCache
XMLAttribute xmlAttr
public XMLAttributeFinder(Analyzer analyzer)
public XMLAttribute getXMLAttribute(Annotation a) throws java.lang.Exception
java.lang.Exception
public void annotation(Annotation annotation) throws java.lang.Exception
annotation
in class ClassDataCollector
java.lang.Exception
public java.util.Map<java.lang.String,java.lang.String> getDefaults(Annotation a)
private java.util.Map<java.lang.String,java.lang.String> extractDefaults(Descriptors.TypeRef name, Analyzer analyzer)