Home
last modified time | relevance | path

Searched refs:enumConstant (Results 1 – 2 of 2) sorted by relevance

/cts/tools/signature-tools/src/signature/converter/doclet/
DDocletToSigConverter.java198 for (FieldDoc enumConstant : classDoc.enumConstants()) { in convertClass()
199 enumConstants.add(convertEnumConstant(enumConstant, ordinal++)); in convertClass()
286 for (IEnumConstant enumConstant : constants) { in convertAnnotationValue()
287 if (enumConstant.getName().equals(name)) value = enumConstant; in convertAnnotationValue()
529 private IEnumConstant convertEnumConstant(FieldDoc enumConstant, in convertEnumConstant() argument
531 SigEnumConstant ec = new SigEnumConstant(enumConstant.name()); in convertEnumConstant()
533 ec.setAnnotations(convertAnnotations(enumConstant.annotations())); in convertEnumConstant()
534 ec.setModifiers(convertModifiers(enumConstant.modifierSpecifier())); in convertEnumConstant()
535 ec.setType(convertTypeReference(enumConstant.type())); in convertEnumConstant()
/cts/tools/signature-tools/src/signature/converter/dex/
DDexToSigConverter.java499 SigEnumConstant enumConstant = elementPool.getEnumConstant( in convertEnumConstant() local
503 enumConstant.setModifiers(modifiers); in convertEnumConstant()
507 enumConstant.setType(factory.getClassReference(typePackageName, in convertEnumConstant()
509 enumConstant.setAnnotations(convertAnnotations(dexField in convertEnumConstant()
511 return enumConstant; in convertEnumConstant()