Lines Matching defs:Converter
46 public class Converter {
55 Converter.obtainClass(c);
78 mRootClasses = Converter.convertClasses(classes);
117 cl.init(Converter.obtainType(c),
118 new ArrayList<ClassInfo>(Arrays.asList(Converter.convertClasses(c.interfaces()))),
119 new ArrayList<TypeInfo>(Arrays.asList(Converter.convertTypes(c.interfaceTypes()))),
120 new ArrayList<ClassInfo>(Arrays.asList(Converter.convertClasses(c.innerClasses()))),
122 Converter.convertMethods(c.constructors(false)))),
123 new ArrayList<MethodInfo>(Arrays.asList(Converter.convertMethods(c.methods(false)))),
124 new ArrayList<MethodInfo>(Arrays.asList(Converter.convertMethods(annotationElements))),
125 new ArrayList<FieldInfo>(Arrays.asList(Converter.convertFields(c.fields(false)))),
126 new ArrayList<FieldInfo>(Arrays.asList(Converter.convertFields(c.enumConstants()))),
127 Converter.obtainPackage(c.containingPackage()),
128 Converter.obtainClass(c.containingClass()),
129 Converter.obtainClass(c.superclass()), Converter.obtainType(c.superclassType()),
131 Converter.convertAnnotationInstances(c.annotations()))));
134 new ArrayList<MethodInfo>(Arrays.asList(Converter.getHiddenMethods(c.methods(false)))));
136 new ArrayList<MethodInfo>(Arrays.asList(Converter.getRemovedMethods(c.methods(false)))));
139 new ArrayList<MethodInfo>(Converter.convertAllMethods(c.methods(false))));
141 new ArrayList<MethodInfo>(Converter.convertAllMethods(c.constructors(false))));
143 new ArrayList<FieldInfo>(Converter.convertAllFields(c.fields(false))));
145 new ArrayList<FieldInfo>(Converter.convertAllFields(c.enumConstants())));
148 new ArrayList<MethodInfo>(Arrays.asList(Converter.convertNonWrittenConstructors(
151 new ArrayList<TypeInfo>(Arrays.asList(Converter.convertTypes(c.typeParameters()))),
153 Converter.convertClasses(c.innerClasses(false)))));
157 return Converter.obtainClass(root.classNamed(className));
161 return Converter.obtainPackage(root.packageNamed(packageName));
166 Converter.convertSourcePosition(tag.position()));
170 return new ThrowsTagInfo(tag.name(), tag.text(), tag.kind(), Converter.obtainClass(tag
171 .exception()), tag.exceptionComment(), base, Converter
177 .parameterComment(), tag.parameterName(), base, Converter.convertSourcePosition(tag
182 return new SeeTagInfo(tag.name(), tag.kind(), tag.text(), base, Converter
202 out[i] = Converter.convertSeeTag((SeeTag) t, base);
204 out[i] = Converter.convertThrowsTag((ThrowsTag) t, base);
206 out[i] = Converter.convertParamTag((ParamTag) t, base);
208 out[i] = Converter.convertTag(t);
219 result[i] = Converter.obtainClass(classes[i]);
227 new ParameterInfo(p.name(), p.typeName(), Converter.obtainType(p.type()), isVarArg,
228 Converter.convertSourcePosition(pos));
238 q[i] = Converter.convertParameter(p[i], pos, isVarArg);
248 q[i] = Converter.obtainType(p[i]);
253 private Converter() {}
277 new ClassInfo(c, c.getRawCommentText(), Converter.convertSourcePosition(c.position()), c
306 MethodInfo methodInfo = Converter.obtainMethod(method);
320 MethodInfo methodInfo = Converter.obtainMethod(method);
337 FieldInfo fieldInfo = Converter.obtainField(field);
351 MethodInfo methodInfo = Converter.obtainMethod(method);
366 MethodInfo methodInfo = Converter.obtainMethod(method);
379 MethodInfo methodInfo = Converter.obtainMethod(method);
400 Converter.convertTypes(m.typeParameters()))),
401 m.name(), m.signature(), Converter.obtainClass(m.containingClass()),
402 Converter.obtainClass(m.containingClass()), m.isPublic(), m.isProtected(), m
405 m.flatSignature(), Converter.obtainMethod(m.overriddenMethod()),
406 Converter.obtainType(m.returnType()),
408 Converter.convertParameters(m.parameters(), m))),
409 new ArrayList<ClassInfo>(Arrays.asList(Converter.convertClasses(
410 m.thrownExceptions()))), Converter.convertSourcePosition(m.position()),
412 Converter.convertAnnotationInstances(m.annotations()))));
414 result.init(Converter.obtainAnnotationValue(m.defaultValue(), result));
421 Converter.convertTypes(m.typeParameters()))), m.name(), m.signature(),
422 Converter.obtainClass(m.containingClass()),
423 Converter.obtainClass(m.containingClass()), m.isPublic(), m.isProtected(),
426 m.flatSignature(), Converter.obtainMethod(m.overriddenMethod()),
427 Converter.obtainType(m.returnType()),
429 Converter.convertParameters(m.parameters(), m))),
431 Converter
432 Converter.convertSourcePosition(m.position()),
434 Converter.convertAnnotationInstances(m.annotations()))));
441 new MethodInfo(m.getRawCommentText(), new ArrayList<TypeInfo>(Arrays.asList(Converter.convertTypes(m.typeParameters()))), m
442 .name(), m.signature(), Converter.obtainClass(m.containingClass()), Converter
446 null, null, new ArrayList<ParameterInfo>(Arrays.asList(Converter.convertParameters(m.parameters(), m))),
447 new ArrayList<ClassInfo>(Arrays.asList(Converter.convertClasses(m.thrownExceptions()))), Converter.convertSourcePosition(m
448 .position()), new ArrayList<AnnotationInstanceInfo>(Arrays.asList(Converter.convertAnnotationInstances(m.annotations()))));
462 FieldInfo f = Converter.obtainField(fields[i]);
482 return new FieldInfo(f.name(), Converter.obtainClass(f.containingClass()), Converter
485 f.isSynthetic(), Converter.obtainType(f.type()), f.getRawCommentText(),
486 f.constantValue(), Converter.convertSourcePosition(f.position()),
487 new ArrayList<AnnotationInstanceInfo>(Arrays.asList(Converter
500 return new PackageInfo(p, p.name(), Converter.convertSourcePosition(p.position()));
520 Converter.obtainClass(t.asClassDoc()));
529 ti.setTypeArguments(new ArrayList<TypeInfo>(Arrays.asList(Converter.convertTypes(t.asParameterizedType().typeArguments()))));
531 ti.setTypeArguments(new ArrayList<TypeInfo>(Arrays.asList(Converter.convertTypes(((ClassDoc) t).typeParameters()))));
533 ti.setBounds(null, new ArrayList<TypeInfo>(Arrays.asList(Converter.convertTypes((t.asTypeVariable().bounds())))));
537 ti.setBounds(new ArrayList<TypeInfo>(Arrays.asList(Converter.convertTypes(t.asWildcardType().superBounds()))),
538 new ArrayList<TypeInfo>(Arrays.asList(Converter.convertTypes(t.asWildcardType().extendsBounds()))));
616 return Converter.obtainMethod((MethodDoc) o);
618 return Converter.obtainMethod((ConstructorDoc) o);
620 return Converter.obtainField((FieldDoc) o);
631 out[i] = Converter.obtainAnnotationInstance(orig[i]);
645 ClassInfo annotationType = Converter.obtainClass(a.annotationType());
650 obtainAnnotationValue(ev[i].value(), Converter.obtainMethod(ev[i].element()));
718 converted = Converter.obtainType((Type) orig);
721 converted = Converter.obtainField((FieldDoc) orig);
724 converted = Converter.obtainAnnotationInstance((AnnotationDesc) orig);
729 values.add(Converter.obtainAnnotationValue(old[i], null));