Home
last modified time | relevance | path

Searched refs:IEnumConstant (Results 1 – 12 of 12) sorted by relevance

/cts/tools/signature-tools/src/signature/compare/model/impl/
DSigEnumConstantDelta.java21 import signature.model.IEnumConstant;
23 public class SigEnumConstantDelta extends SigMemberDelta<IEnumConstant>
28 public SigEnumConstantDelta(IEnumConstant from, IEnumConstant to) { in SigEnumConstantDelta()
/cts/tools/signature-tools/src/signature/compare/model/
DIEnumConstantDelta.java19 import signature.model.IEnumConstant;
25 public interface IEnumConstantDelta extends IMemberDelta<IEnumConstant> {
/cts/tools/signature-tools/src/signature/model/impl/
DSigEnumConstant.java19 import signature.model.IEnumConstant;
22 public class SigEnumConstant extends SigField implements IEnumConstant {
DSigClassDefinition.java27 import signature.model.IEnumConstant;
50 private Set<IEnumConstant> enumConstants = Uninitialized.unset();
157 public Set<IEnumConstant> getEnumConstants() { in getEnumConstants()
161 public void setEnumConstants(Set<IEnumConstant> enumConstants) { in setEnumConstants()
/cts/tools/signature-tools/test/signature/converter/
DConvertEnumTest.java40 import signature.model.IEnumConstant;
63 Set<IEnumConstant> constants = c.getEnumConstants(); in testEnum1()
67 for (IEnumConstant constant : constants) { in testEnum1()
100 Set<IEnumConstant> constants = c.getEnumConstants(); in testEnum2()
125 Set<IEnumConstant> constants = c.getEnumConstants(); in testEnum3()
168 Set<IEnumConstant> constants = c.getEnumConstants(); in testEnum4()
DConvertAnnotationTest.java36 import signature.model.IEnumConstant;
320 assertTrue(field.getDefaultValue() instanceof IEnumConstant); in testAnnotationDefaultsEnum1()
321 IEnumConstant defaultValue = (IEnumConstant)field.getDefaultValue(); in testAnnotationDefaultsEnum1()
327 IEnumConstant enumTWO = null; in testAnnotationDefaultsEnum1()
328 Set<IEnumConstant> enumConstants = enumClass.getEnumConstants(); in testAnnotationDefaultsEnum1()
329 for(IEnumConstant c : enumConstants){ in testAnnotationDefaultsEnum1()
394 IEnumConstant enumONE = null; in testAnnotationDefaultsEnum3()
395 IEnumConstant enumTWO = null; in testAnnotationDefaultsEnum3()
396 Set<IEnumConstant> enumConstants = enumClass.getEnumConstants(); in testAnnotationDefaultsEnum3()
397 for(IEnumConstant c : enumConstants){ in testAnnotationDefaultsEnum3()
[all …]
/cts/tools/signature-tools/src/signature/model/
DIEnumConstant.java22 public interface IEnumConstant extends IField { interface
DIClassDefinition.java123 Set<IEnumConstant> getEnumConstants(); in getEnumConstants()
/cts/tools/signature-tools/src/signature/compare/model/subst/
DClassProjection.java29 import signature.model.IEnumConstant;
65 public Set<IEnumConstant> getEnumConstants() { in getEnumConstants()
/cts/tools/signature-tools/src/signature/converter/doclet/
DDocletToSigConverter.java37 import signature.model.IEnumConstant;
196 Set<IEnumConstant> enumConstants = new HashSet<IEnumConstant>(); in convertClass()
285 Set<IEnumConstant> constants = fieldClass.getEnumConstants(); in convertAnnotationValue()
286 for (IEnumConstant enumConstant : constants) { in convertAnnotationValue()
289 assert value instanceof IEnumConstant; in convertAnnotationValue() local
529 private IEnumConstant convertEnumConstant(FieldDoc enumConstant, in convertEnumConstant()
/cts/tools/signature-tools/src/signature/compare/
DApiComparator.java73 import signature.model.IEnumConstant;
424 Set<IEnumConstant> from, Set<IEnumConstant> to) {
426 new SigComparator<IEnumConstant, IEnumConstantDelta>() {
427 public boolean considerEqualElement(IEnumConstant from,
428 IEnumConstant to) {
433 IEnumConstant from, IEnumConstant to) {
438 IEnumConstant from, IEnumConstant to) {
1078 private IEnumConstantDelta compareEnumConstant(IEnumConstant from,
1079 IEnumConstant to) {
1181 } else if (from instanceof IEnumConstant) {
[all …]
/cts/tools/signature-tools/src/signature/converter/dex/
DDexToSigConverter.java63 import signature.model.IEnumConstant;
105 private static final Set<IEnumConstant> EMPTY_ENUM_CONSTANTS = Collections
389 Set<IEnumConstant> enumConstants = new HashSet<IEnumConstant>(); in convertClass()
496 private IEnumConstant convertEnumConstant(DexField dexField) { in convertEnumConstant()