Home
last modified time | relevance | path

Searched refs:getClassDefinition (Results 1 – 15 of 15) sorted by relevance

/cts/tools/signature-tools/src/signature/model/impl/
DSigClassReference.java33 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()
DSigParameterizedType.java44 if (rawType.getClassDefinition().getDeclaringClass() != null) { in getOwnerType()
46 .getClassDefinition().getDeclaringClass()); in getOwnerType()
/cts/tools/signature-tools/test/signature/converter/
DConvertWildcardTest.java57 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()
DConvertClassTest.java121 …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 …]
DConvertEnumTest.java108 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()
DConvertAnnotationTest.java68 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 …]
DConvertPackageTest.java43 …assertEquals("java.lang.Deprecated", annotation.getType().getClassDefinition().getQualifiedName()); in testPackageAnnotation()
/cts/tools/signature-tools/src/signature/compare/model/subst/
DClassReferenceProjection.java38 public IClassDefinition getClassDefinition() { in getClassDefinition() method in ClassReferenceProjection
39 return new ClassProjection(original.getClassDefinition(), mappings); in getClassDefinition()
DParameterizedTypeProjection.java60 .getRawType().getClassDefinition())); in getRawType()
/cts/tools/signature-tools/src/signature/model/
DIClassReference.java31 IClassDefinition getClassDefinition(); in getClassDefinition() method
/cts/tools/signature-tools/src/signature/compare/
DApiComparator.java351 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/
DExecutableMemberComparator.java74 return getTypeName(((IClassReference) type).getClassDefinition()); in getTypeName()
/cts/tools/signature-tools/src/signature/model/util/
DModelUtil.java57 .getClassDefinition().getQualifiedName())) { in getAnnotation()
/cts/tools/signature-tools/src/signature/converter/doclet/
DDocletToSigConverter.java282 IClassDefinition fieldClass = fieldClassRef.getClassDefinition(); in convertAnnotationValue()
582 for (IAnnotationField field : annotationType.getClassDefinition() in convertAnnotation()
/cts/tools/signature-tools/src/signature/converter/dex/
DDexToSigConverter.java661 .getType()).getClassDefinition().getName(); in convertConstructor()