/cts/tools/signature-tools/src/signature/model/impl/ |
D | SigClassReference.java | 20 import signature.model.IClassReference; 25 public class SigClassReference implements IClassReference, Serializable { 42 public static boolean equals(IClassReference thiz, Object that) { in equals() 43 if (that instanceof IClassReference) { in equals() 45 ((IClassReference) that).getClassDefinition()); in equals() 55 public static int hashCode(IClassReference thiz) { in hashCode() 64 public static String toString(IClassReference thiz) { in toString()
|
D | SigAnnotation.java | 21 import signature.model.IClassReference; 31 private IClassReference type; 37 public IClassReference getType() { in getType() 41 public void setType(IClassReference type) { in setType()
|
D | SigParameterizedType.java | 19 import signature.model.IClassReference; 31 private IClassReference rawType; 35 IClassReference rawType, List<ITypeReference> typeArguments) { in SigParameterizedType() 52 public IClassReference getRawType() { in getRawType()
|
D | Uninitialized.java | 27 import signature.model.IClassReference; 45 IClassReference.class, ITypeVariableReference.class,
|
/cts/tools/signature-tools/src/signature/compare/model/impl/ |
D | SigClassReferenceDelta.java | 20 import signature.model.IClassReference; 22 public class SigClassReferenceDelta extends SigDelta<IClassReference> 23 implements ITypeReferenceDelta<IClassReference> { 25 public SigClassReferenceDelta(IClassReference from, IClassReference to) { in SigClassReferenceDelta()
|
/cts/tools/signature-tools/src/signature/compare/model/subst/ |
D | ClassReferenceProjection.java | 20 import signature.model.IClassReference; 27 public class ClassReferenceProjection implements IClassReference { 29 private final IClassReference original; 32 public ClassReferenceProjection(IClassReference original, in ClassReferenceProjection()
|
D | ParameterizedTypeProjection.java | 19 import signature.model.IClassReference; 48 private IClassReference rawType = null; 55 public IClassReference getRawType() { in getRawType() 57 rawType = (IClassReference) ViewpointAdapter in getRawType()
|
D | ViewpointAdapter.java | 21 import signature.model.IClassReference; 86 if (type instanceof IClassReference) { in substitutedTypeReference() 87 return new ClassReferenceProjection((IClassReference) original, in substitutedTypeReference() 107 public static IClassReference getReferenceTo(IClassDefinition definition) { in getReferenceTo()
|
/cts/tools/signature-tools/test/signature/converter/ |
D | ConvertWildcardTest.java | 28 import signature.model.IClassReference; 64 assertTrue(upperBound instanceof IClassReference); in convertWildcardUpperBound() 66 assertEquals("Number", ((IClassReference)upperBound).getClassDefinition().getName()); in convertWildcardUpperBound() 93 assertTrue(upperBound instanceof IClassReference); in convertWildcardLowerBound() 94 assertEquals("Object", ((IClassReference)upperBound).getClassDefinition().getName()); in convertWildcardLowerBound() 97 assertTrue(lowerBound instanceof IClassReference); in convertWildcardLowerBound() 98 assertEquals("Number", ((IClassReference)lowerBound).getClassDefinition().getName()); in convertWildcardLowerBound()
|
D | ConvertClassTest.java | 38 import signature.model.IClassReference; 161 IClassReference bound = (IClassReference) variable.getUpperBounds().get(0); in convertGenericClass0() 180 IClassReference bound = (IClassReference) variable.getUpperBounds().get(0); in convertGenericClass00() 199 IClassReference boundS = (IClassReference) variableS.getUpperBounds().get(0); in convertGenericClass1() 206 IClassReference boundT = (IClassReference) variableT.getUpperBounds().get(0); in convertGenericClass1() 225 IClassReference boundS = (IClassReference) variableS.getUpperBounds().get(0); in convertGenericClass2() 247 …IClassDefinition clonable = ((IClassReference) sigClass.getInterfaces().iterator().next()).getClas… in convertClassImplementsInterface0() 271 IClassReference interfaze = (IClassReference) sigClass.getInterfaces().iterator().next(); in convertClassImplementsInterface1() 300 IClassReference string = (IClassReference) interfaze.getTypeArguments().get(0); in convertClassImplementsGenericInterface0() 413 IClassReference exception = (IClassReference) constructor.getExceptions().iterator().next(); in convertConstructorWithException() [all …]
|
D | ConvertEnumTest.java | 38 import signature.model.IClassReference; 108 assertSame(c, ((IClassReference)field.getType()).getClassDefinition()); in testEnum2() 142 …assertSame(c, ((IClassReference)((IArrayType)values.getReturnType()).getComponentType()).getClassD… in testEnum3() 151 …assertEquals("java.lang.String", ((IClassReference)param.getType()).getClassDefinition().getQualif… in testEnum3() 152 assertSame(c, ((IClassReference)valueOf.getReturnType()).getClassDefinition()); in testEnum3() 185 …assertSame(c, ((IClassReference)((IArrayType)values.getReturnType()).getComponentType()).getClassD… in testEnum4()
|
D | ConvertAnnotationTest.java | 35 import signature.model.IClassReference; 68 assertEquals("String", ((IClassReference)field.getType()).getClassDefinition().getName()); in convertAnnotationDefinition1() 319 assertEquals("Kind", ((IClassReference)field.getType()).getClassDefinition().getName()); in testAnnotationDefaultsEnum1() 436 IClassReference fieldType = (IClassReference)field.getType(); in testAnnotationDefaultsAnnotation1() 536 assertTrue(field.getType() instanceof IClassReference); in testAnnotationDefaultsString1() 537 assertEquals("String", ((IClassReference)field.getType()).getClassDefinition().getName()); in testAnnotationDefaultsString1() 616 assertTrue(field.getType() instanceof IClassReference); in testAnnotationDefaultsClass1() 617 assertEquals("Class", ((IClassReference)field.getType()).getClassDefinition().getName()); in testAnnotationDefaultsClass1() 619 assertSame(aType, ((IClassReference)defaultValue).getClassDefinition()); in testAnnotationDefaultsClass1() 638 assertTrue(field.getType() instanceof IClassReference); in testAnnotationDefaultsClass2() [all …]
|
/cts/tools/signature-tools/src/signature/model/util/ |
D | ITypeFactory.java | 19 import signature.model.IClassReference; 41 public IClassReference getClassReference(String packageName, in getClassReference() 65 IClassReference rawType, List<ITypeReference> typeArguments); in getParameterizedType()
|
D | TypePool.java | 20 import signature.model.IClassReference; 65 public IClassReference getClassReference(String packageName, in getClassReference() 76 IClassReference rawType, List<ITypeReference> typeArguments) { in getParameterizedType()
|
/cts/tools/signature-tools/src/signature/io/html/ |
D | ExecutableMemberComparator.java | 22 import signature.model.IClassReference; 73 if (type instanceof IClassReference) { in getTypeName() 74 return getTypeName(((IClassReference) type).getClassDefinition()); in getTypeName()
|
/cts/tools/signature-tools/src/signature/model/ |
D | IClassReference.java | 24 public interface IClassReference extends ITypeReference { interface
|
D | IAnnotation.java | 32 IClassReference getType(); in getType()
|
D | IParameterizedType.java | 49 IClassReference getRawType(); in getRawType()
|
/cts/tools/signature-tools/src/signature/converter/dex/ |
D | GenericSignatureParser.java | 22 import signature.model.IClassReference; 400 IClassReference rawType = factory.getClassReference(packageName, in parseClassTypeSignature() 425 IClassReference rawType = factory.getClassReference( in parseClassTypeSignature()
|
D | DexToSigConverter.java | 61 import signature.model.IClassReference; 660 String firstParameterTypeName = ((IClassReference) first in convertConstructor()
|
/cts/tools/signature-tools/src/signature/converter/doclet/ |
D | DocletToSigConverter.java | 35 import signature.model.IClassReference; 281 IClassReference fieldClassRef = (IClassReference) fieldType; in convertAnnotationValue() 350 IClassReference rawType = new SigClassReference(convertClass(pType in convertTypeReference() 570 IClassReference annotationType = (IClassReference) convertTypeReference( in convertAnnotation()
|
/cts/tools/signature-tools/src/signature/compare/ |
D | ApiComparator.java | 71 import signature.model.IClassReference; 833 if (type instanceof IClassReference) { 834 returnValue = ((IClassReference) type).getClassDefinition(); 1223 if (implementInterface(from, to, IClassReference.class)) { 1224 return sameClassDefinition(((IClassReference) from) 1225 .getClassDefinition(), ((IClassReference) to) 1283 if (implementInterface(from, to, IClassReference.class)) { 1284 return compareClassReference((IClassReference) from, 1285 (IClassReference) to); 1355 if (reference instanceof IClassReference) { [all …]
|