/cts/tools/signature-tools/src/signature/model/impl/ |
D | SigClassReference.java | 33 public IClassDefinition getClassDefinition() { in getClassDefinition() method in SigClassReference 44 return thiz.getClassDefinition().equals( in equals() 45 ((IClassReference) that).getClassDefinition()); in equals() 56 return thiz.getClassDefinition().hashCode(); in hashCode() 65 return "-> " + thiz.getClassDefinition().getQualifiedName(); in toString()
|
D | SigParameterizedType.java | 44 if (rawType.getClassDefinition().getDeclaringClass() != null) { in getOwnerType() 46 .getClassDefinition().getDeclaringClass()); in getOwnerType()
|
/cts/tools/signature-tools/test/signature/converter/ |
D | ConvertWildcardTest.java | 57 IClassDefinition rawType = parametrizedType.getRawType().getClassDefinition(); in convertWildcardUpperBound() 66 assertEquals("Number", ((IClassReference)upperBound).getClassDefinition().getName()); in convertWildcardUpperBound() 86 IClassDefinition rawType = parametrizedType.getRawType().getClassDefinition(); in convertWildcardLowerBound() 94 assertEquals("Object", ((IClassReference)upperBound).getClassDefinition().getName()); in convertWildcardLowerBound() 98 assertEquals("Number", ((IClassReference)lowerBound).getClassDefinition().getName()); in convertWildcardLowerBound()
|
D | ConvertClassTest.java | 121 …assertEquals("java.lang.Deprecated", annotation.getType().getClassDefinition().getQualifiedName()); in convertAnnotationTest() 143 …assertEquals("java.lang.Deprecated", annotation.getType().getClassDefinition().getQualifiedName()); in convertAnnotationOnFieldTest() 162 assertEquals("java.lang.Object", bound.getClassDefinition().getQualifiedName()); in convertGenericClass0() 181 assertEquals("java.lang.Integer", bound.getClassDefinition().getQualifiedName()); in convertGenericClass00() 200 assertEquals("java.lang.Object", boundS.getClassDefinition().getQualifiedName()); in convertGenericClass1() 207 assertEquals("java.lang.Object", boundT.getClassDefinition().getQualifiedName()); in convertGenericClass1() 226 assertEquals("java.lang.Object", boundS.getClassDefinition().getQualifiedName()); in convertGenericClass2() 247 …ion clonable = ((IClassReference) sigClass.getInterfaces().iterator().next()).getClassDefinition(); in convertClassImplementsInterface0() 272 assertEquals(Kind.INTERFACE, interfaze.getClassDefinition().getKind()); in convertClassImplementsInterface1() 273 assertSame(sigInterface, interfaze.getClassDefinition()); in convertClassImplementsInterface1() [all …]
|
D | ConvertEnumTest.java | 108 assertSame(c, ((IClassReference)field.getType()).getClassDefinition()); in testEnum2() 142 …, ((IClassReference)((IArrayType)values.getReturnType()).getComponentType()).getClassDefinition()); in testEnum3() 151 …assertEquals("java.lang.String", ((IClassReference)param.getType()).getClassDefinition().getQualif… in testEnum3() 152 assertSame(c, ((IClassReference)valueOf.getReturnType()).getClassDefinition()); in testEnum3() 185 …, ((IClassReference)((IArrayType)values.getReturnType()).getComponentType()).getClassDefinition()); in testEnum4()
|
D | ConvertAnnotationTest.java | 68 assertEquals("String", ((IClassReference)field.getType()).getClassDefinition().getName()); in convertAnnotationDefinition1() 73 assertSame(sigClass, annotation.getType().getClassDefinition()); in convertAnnotationDefinition1() 97 assertSame(sigClass, ((SigClassReference)annotation.getType()).getClassDefinition()); in convertAnnotationDefinition2() 319 assertEquals("Kind", ((IClassReference)field.getType()).getClassDefinition().getName()); in testAnnotationDefaultsEnum1() 437 assertEquals("AA", fieldType.getClassDefinition().getName()); in testAnnotationDefaultsAnnotation1() 441 assertSame(aaType, fieldType.getClassDefinition()); in testAnnotationDefaultsAnnotation1() 446 assertSame(aaType, defaultValue.getType().getClassDefinition()); in testAnnotationDefaultsAnnotation1() 508 assertSame(aaType, defaultValue0ann.getType().getClassDefinition()); in testAnnotationDefaultsAnnotation3() 514 assertSame(aaType, defaultValue1ann.getType().getClassDefinition()); in testAnnotationDefaultsAnnotation3() 537 assertEquals("String", ((IClassReference)field.getType()).getClassDefinition().getName()); in testAnnotationDefaultsString1() [all …]
|
D | ConvertPackageTest.java | 43 …assertEquals("java.lang.Deprecated", annotation.getType().getClassDefinition().getQualifiedName()); in testPackageAnnotation()
|
/cts/tools/signature-tools/src/signature/compare/model/subst/ |
D | ClassReferenceProjection.java | 38 public IClassDefinition getClassDefinition() { in getClassDefinition() method in ClassReferenceProjection 39 return new ClassProjection(original.getClassDefinition(), mappings); in getClassDefinition()
|
D | ParameterizedTypeProjection.java | 60 .getRawType().getClassDefinition())); in getRawType()
|
/cts/tools/signature-tools/src/signature/model/ |
D | IClassReference.java | 31 IClassDefinition getClassDefinition(); in getClassDefinition() method
|
/cts/tools/signature-tools/src/signature/compare/ |
D | ApiComparator.java | 351 IClassDefinition classDefinition = getClassDefinition(clazz); in collectInterfaceClosure() 391 .getClassDefinition(), to.getType() in compareAnnotations() 392 .getClassDefinition()); in compareAnnotations() 527 collectMethods(getClassDefinition(clazz.getSuperClass()), closure); 531 collectMethods(getClassDefinition(interfaze), closure); 577 assert sameClassDefinition(from.getType().getClassDefinition(), to 578 .getType().getClassDefinition()); 615 for (IAnnotationField field : annotation.getType().getClassDefinition() 759 if (isSuperClass(getClassDefinition(type), 760 getClassDefinition(subType))) { [all …]
|
/cts/tools/signature-tools/src/signature/io/html/ |
D | ExecutableMemberComparator.java | 74 return getTypeName(((IClassReference) type).getClassDefinition()); in getTypeName()
|
/cts/tools/signature-tools/src/signature/model/util/ |
D | ModelUtil.java | 57 .getClassDefinition().getQualifiedName())) { in getAnnotation()
|
/cts/tools/signature-tools/src/signature/converter/doclet/ |
D | DocletToSigConverter.java | 282 IClassDefinition fieldClass = fieldClassRef.getClassDefinition(); in convertAnnotationValue() 582 for (IAnnotationField field : annotationType.getClassDefinition() in convertAnnotation()
|
/cts/tools/signature-tools/src/signature/converter/dex/ |
D | DexToSigConverter.java | 661 .getType()).getClassDefinition().getName(); in convertConstructor()
|