/cts/tools/signature-tools/src/signature/compare/model/subst/ |
D | ViewpointAdapter.java | 24 import signature.model.ITypeReference; 41 static Map<ITypeVariableDefinition, ITypeReference> createTypeMapping( in createTypeMapping() 46 List<ITypeReference> actualTypeArguments = paramameterizedType in createTypeMapping() 51 Map<ITypeVariableDefinition, ITypeReference> substitution = in createTypeMapping() 52 new HashMap<ITypeVariableDefinition, ITypeReference>(); in createTypeMapping() 55 Iterator<ITypeReference> argumentsIterator = actualTypeArguments in createTypeMapping() 63 public static Set<ITypeReference> substitutedTypeReferences( in substitutedTypeReferences() 64 Set<ITypeReference> original, in substitutedTypeReferences() 65 Map<ITypeVariableDefinition, ITypeReference> mappings) { in substitutedTypeReferences() 66 List<ITypeReference> result = new ArrayList<ITypeReference>(original); in substitutedTypeReferences() [all …]
|
D | ParameterizedTypeProjection.java | 21 import signature.model.ITypeReference; 32 private final Map<ITypeVariableDefinition, ITypeReference> mappings; 35 Map<ITypeVariableDefinition, ITypeReference> mappings) { in ParameterizedTypeProjection() 40 public ITypeReference getOwnerType() { in getOwnerType() 41 ITypeReference ownerType = original.getOwnerType(); in getOwnerType() 65 private List<ITypeReference> arguments = null; 67 public List<ITypeReference> getTypeArguments() { in getTypeArguments()
|
D | ClassProjection.java | 32 import signature.model.ITypeReference; 41 private final Map<ITypeVariableDefinition, ITypeReference> substitutions; 44 Map<ITypeVariableDefinition, ITypeReference> mapping) { in ClassProjection() 77 Set<ITypeReference> interfaces = null; 79 public Set<ITypeReference> getInterfaces() { in getInterfaces() 81 Set<ITypeReference> originalInterfaces = original.getInterfaces(); in getInterfaces() 85 interfaces = new HashSet<ITypeReference>(); in getInterfaces() 86 for (ITypeReference interfaze : originalInterfaces) { in getInterfaces() 140 private ITypeReference superClass = null; 142 public ITypeReference getSuperClass() { in getSuperClass() [all …]
|
D | WildcardTypeProjection.java | 19 import signature.model.ITypeReference; 31 private final Map<ITypeVariableDefinition, ITypeReference> mappings; 34 Map<ITypeVariableDefinition, ITypeReference> mappings) { in WildcardTypeProjection() 39 public ITypeReference getLowerBound() { in getLowerBound() 44 public List<ITypeReference> getUpperBounds() { in getUpperBounds()
|
D | MethodProjection.java | 20 import signature.model.ITypeReference; 30 private Map<ITypeVariableDefinition, ITypeReference> mappings; 33 Map<ITypeVariableDefinition, ITypeReference> mappings) { in MethodProjection() 39 public ITypeReference getReturnType() { in getReturnType()
|
D | ParameterProjection.java | 21 import signature.model.ITypeReference; 29 private Map<ITypeVariableDefinition, ITypeReference> mappings; 32 Map<ITypeVariableDefinition, ITypeReference> mappings) { in ParameterProjection() 41 public ITypeReference getType() { in getType()
|
D | ArrayTypeProjection.java | 22 import signature.model.ITypeReference; 29 private final Map<ITypeVariableDefinition, ITypeReference> mappings; 32 Map<ITypeVariableDefinition, ITypeReference> mappings) { in ArrayTypeProjection() 37 public ITypeReference getComponentType() { in getComponentType()
|
D | ExecutableMemberProjection.java | 23 import signature.model.ITypeReference; 35 private final Map<ITypeVariableDefinition, ITypeReference> mappings; 38 Map<ITypeVariableDefinition, ITypeReference> mappings) { in ExecutableMemberProjection() 51 public Set<ITypeReference> getExceptions() { in getExceptions()
|
/cts/tools/signature-tools/src/signature/converter/dex/ |
D | GenericSignatureParser.java | 26 import signature.model.ITypeReference; 85 public List<ITypeReference> exceptionTypes; 86 public List<ITypeReference> parameterTypes; 88 public ITypeReference returnType; 89 public ITypeReference fieldType; 90 public List<ITypeReference> interfaceTypes; 91 public ITypeReference superclassType; 134 public ITypeReference parseNonGenericType(String typeSignature) { in parseNonGenericType() 136 ITypeReference type = parsePrimitiveType(); in parseNonGenericType() 143 public ITypeReference parseNonGenericReturnType(String typeSignature) { in parseNonGenericReturnType() [all …]
|
/cts/tools/signature-tools/src/signature/model/util/ |
D | ITypeFactory.java | 21 import signature.model.ITypeReference; 51 public SigArrayType getArrayType(ITypeReference componentType); in getArrayType() 64 public SigParameterizedType getParameterizedType(ITypeReference ownerType, in getParameterizedType() 65 IClassReference rawType, List<ITypeReference> typeArguments); in getParameterizedType() 100 public SigWildcardType getWildcardType(ITypeReference lowerBound, in getWildcardType() 101 List<ITypeReference> upperBounds); in getWildcardType()
|
/cts/tools/signature-tools/src/signature/compare/ |
D | ApiComparator.java | 82 import signature.model.ITypeReference; 293 Set<ITypeReference> fromClosure = getInterfaceClosure(from); in compareInterfaces() 294 Set<ITypeReference> toClosure = getInterfaceClosure(to); in compareInterfaces() 296 Set<ITypeReference> fromInterfaces = from.getInterfaces(); in compareInterfaces() 297 Set<ITypeReference> toInterfaces = to.getInterfaces(); in compareInterfaces() 304 for (ITypeReference type : fromInterfaces) { in compareInterfaces() 310 deltas.add(new SigTypeDelta<ITypeReference>(type, null)); in compareInterfaces() 317 for (ITypeReference type : toInterfaces) { in compareInterfaces() 323 deltas.add(new SigTypeDelta<ITypeReference>(null, type)); in compareInterfaces() 331 private boolean containsType(ITypeReference type, in containsType() [all …]
|
/cts/tools/signature-tools/src/signature/model/impl/ |
D | SigParameterizedType.java | 21 import signature.model.ITypeReference; 30 private ITypeReference ownerType; 32 private List<ITypeReference> typeArguments; 34 public SigParameterizedType(ITypeReference ownerType, in SigParameterizedType() 35 IClassReference rawType, List<ITypeReference> typeArguments) { in SigParameterizedType() 41 public ITypeReference getOwnerType() { in getOwnerType() 42 ITypeReference returnValue = ownerType; in getOwnerType() 56 public List<ITypeReference> getTypeArguments() { in getTypeArguments()
|
D | SigWildcardType.java | 19 import signature.model.ITypeReference; 28 private ITypeReference lowerBound; 29 private List<ITypeReference> upperBounds; 31 public SigWildcardType(ITypeReference lowerBound, in SigWildcardType() 32 List<ITypeReference> upperBounds) { in SigWildcardType() 37 public ITypeReference getLowerBound() { in getLowerBound() 41 public List<ITypeReference> getUpperBounds() { in getUpperBounds()
|
D | SigParameter.java | 20 import signature.model.ITypeReference; 28 private ITypeReference type; 30 public SigParameter(ITypeReference type) { in SigParameter() 34 public ITypeReference getType() { in getType()
|
D | SigArrayType.java | 22 import signature.model.ITypeReference; 26 private ITypeReference componentType; 28 public SigArrayType(ITypeReference componentType) { in SigArrayType() 32 public ITypeReference getComponentType() { in getComponentType()
|
D | SigTypeVariableDefinition.java | 20 import signature.model.ITypeReference; 33 private List<ITypeReference> upperBounds = Uninitialized.unset(); 49 public List<ITypeReference> getUpperBounds() { in getUpperBounds() 53 public void setUpperBounds(List<ITypeReference> upperBounds) { in setUpperBounds()
|
D | SigField.java | 20 import signature.model.ITypeReference; 32 private ITypeReference type = Uninitialized.unset(); 52 public ITypeReference getType() { in getType() 56 public void setType(ITypeReference type) { in setType()
|
D | SigMethod.java | 22 import signature.model.ITypeReference; 30 private ITypeReference returnType = Uninitialized.unset(); 37 public ITypeReference getReturnType() { in getReturnType() 41 public void setReturnType(ITypeReference returnType) { in setReturnType()
|
D | SigExecutableMember.java | 22 import signature.model.ITypeReference; 36 private Set<ITypeReference> exceptions = Uninitialized.unset(); 58 public Set<ITypeReference> getExceptions() { in getExceptions() 62 public void setExceptions(Set<ITypeReference> exceptions) { in setExceptions()
|
/cts/tools/signature-tools/src/signature/model/ |
D | IWildcardType.java | 24 public interface IWildcardType extends ITypeReference { 33 List<ITypeReference> getUpperBounds(); in getUpperBounds() 42 ITypeReference getLowerBound(); in getLowerBound()
|
D | IParameterizedType.java | 35 public interface IParameterizedType extends ITypeReference { 42 List<ITypeReference> getTypeArguments(); in getTypeArguments() 63 ITypeReference getOwnerType(); // A.B<String> -> A in getOwnerType()
|
D | IArrayType.java | 22 public interface IArrayType extends ITypeReference { 29 ITypeReference getComponentType(); in getComponentType()
|
/cts/tools/signature-tools/src/signature/compare/model/impl/ |
D | SigUpperBoundsDelta.java | 24 import signature.model.ITypeReference; 26 public class SigUpperBoundsDelta extends SigDelta<List<ITypeReference>> 32 public SigUpperBoundsDelta(List<ITypeReference> from, in SigUpperBoundsDelta() 33 List<ITypeReference> to) { in SigUpperBoundsDelta()
|
/cts/tools/signature-tools/test/signature/converter/ |
D | ConvertWildcardTest.java | 32 import signature.model.ITypeReference; 52 ITypeReference type = field.getType(); in convertWildcardUpperBound() 63 ITypeReference upperBound = wildcardType.getUpperBounds().get(0); in convertWildcardUpperBound() 81 ITypeReference type = field.getType(); in convertWildcardLowerBound() 92 ITypeReference upperBound = wildcardType.getUpperBounds().get(0); in convertWildcardLowerBound() 96 ITypeReference lowerBound = wildcardType.getLowerBound(); in convertWildcardLowerBound()
|
/cts/tools/signature-tools/src/signature/compare/model/ |
D | ITypeReferenceDelta.java | 19 import signature.model.ITypeReference; 25 public interface ITypeReferenceDelta<T extends ITypeReference> extends
|