Searched refs:adefs (Results 1 - 6 of 6) sorted by relevance

/external/annotation-tools/scene-lib/src/annotations/
H A DAnnotationFactory.java37 * Tries to look up the AnnotationDef in adefs; if not found, inserts in adefs.
39 public AnnotationBuilder beginAnnotation(java.lang.annotation.Annotation a, Map<String, AnnotationDef> adefs) { argument
40 AnnotationDef def = AnnotationDef.fromClass(a.getClass(), adefs);
H A DAnnotation.java104 /** Use adefs to look up (or insert into it) missing AnnotationDefs. */
105 public Annotation(java.lang.annotation.Annotation ja, Map<String, AnnotationDef> adefs) { argument
108 if (adefs.containsKey(name)) {
109 def = adefs.get(name);
111 def = AnnotationDef.fromClass(jaType, adefs);
112 adefs.put(name, def);
144 throw new Error(String.format("no such method (annotation field) in %s%n from: %s %s", jaType, ja, adefs), e);
/external/annotation-tools/scene-lib/src/annotations/field/
H A DAnnotationFieldType.java35 public static AnnotationFieldType fromClass(Class<?> c, Map<String,AnnotationDef> adefs) { argument
39 return new AnnotationAFT(AnnotationDef.fromClass(cAnno, adefs));
41 return new ArrayAFT((ScalarAFT) fromClass(c.getComponentType(), adefs));
/external/annotation-tools/scene-lib/src/annotations/el/
H A DAnnotationDef.java56 * Look up an AnnotationDefs in adefs.
57 * If not found, read from a class and insert in adefs.
59 public static AnnotationDef fromClass(Class<? extends java.lang.annotation.Annotation> annoType, Map<String,AnnotationDef> adefs) { argument
63 if (adefs.containsKey(name)) {
64 return adefs.get(name);
69 AnnotationFieldType aft = AnnotationFieldType.fromClass(m.getReturnType(), adefs);
74 adefs.put(name, result);
86 result.tlAnnotationsHere.add(new Annotation(ja, adefs));
/external/annotation-tools/scene-lib/src/annotations/io/classfile/
H A DClassAnnotationSceneReader.java83 private final Map<String, AnnotationDef> adefs = initAdefs(); field in class:ClassAnnotationSceneReader
266 AnnotationDef ad = AnnotationDef.fromClass(annoClass, adefs);
/external/annotation-tools/annotation-file-utilities/
H A Dannotation-file-utilities.jar ... .annotation.Annotation ja java.util.Map adefs Class jaType String name public java.lang.Object ...

Completed in 148 milliseconds