Home
last modified time | relevance | path

Searched refs:ITypeReference (Results 1 – 25 of 49) sorted by relevance

12

/cts/tools/signature-tools/src/signature/compare/model/subst/
DViewpointAdapter.java24 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 …]
DParameterizedTypeProjection.java21 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()
DClassProjection.java32 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 …]
DWildcardTypeProjection.java19 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()
DMethodProjection.java20 import signature.model.ITypeReference;
30 private Map<ITypeVariableDefinition, ITypeReference> mappings;
33 Map<ITypeVariableDefinition, ITypeReference> mappings) { in MethodProjection()
39 public ITypeReference getReturnType() { in getReturnType()
DParameterProjection.java21 import signature.model.ITypeReference;
29 private Map<ITypeVariableDefinition, ITypeReference> mappings;
32 Map<ITypeVariableDefinition, ITypeReference> mappings) { in ParameterProjection()
41 public ITypeReference getType() { in getType()
DArrayTypeProjection.java22 import signature.model.ITypeReference;
29 private final Map<ITypeVariableDefinition, ITypeReference> mappings;
32 Map<ITypeVariableDefinition, ITypeReference> mappings) { in ArrayTypeProjection()
37 public ITypeReference getComponentType() { in getComponentType()
DExecutableMemberProjection.java23 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/
DGenericSignatureParser.java26 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/
DITypeFactory.java21 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/
DApiComparator.java82 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/
DSigParameterizedType.java21 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()
DSigWildcardType.java19 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()
DSigParameter.java20 import signature.model.ITypeReference;
28 private ITypeReference type;
30 public SigParameter(ITypeReference type) { in SigParameter()
34 public ITypeReference getType() { in getType()
DSigArrayType.java22 import signature.model.ITypeReference;
26 private ITypeReference componentType;
28 public SigArrayType(ITypeReference componentType) { in SigArrayType()
32 public ITypeReference getComponentType() { in getComponentType()
DSigTypeVariableDefinition.java20 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()
DSigField.java20 import signature.model.ITypeReference;
32 private ITypeReference type = Uninitialized.unset();
52 public ITypeReference getType() { in getType()
56 public void setType(ITypeReference type) { in setType()
DSigMethod.java22 import signature.model.ITypeReference;
30 private ITypeReference returnType = Uninitialized.unset();
37 public ITypeReference getReturnType() { in getReturnType()
41 public void setReturnType(ITypeReference returnType) { in setReturnType()
DSigExecutableMember.java22 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/
DIWildcardType.java24 public interface IWildcardType extends ITypeReference {
33 List<ITypeReference> getUpperBounds(); in getUpperBounds()
42 ITypeReference getLowerBound(); in getLowerBound()
DIParameterizedType.java35 public interface IParameterizedType extends ITypeReference {
42 List<ITypeReference> getTypeArguments(); in getTypeArguments()
63 ITypeReference getOwnerType(); // A.B<String> -> A in getOwnerType()
DIArrayType.java22 public interface IArrayType extends ITypeReference {
29 ITypeReference getComponentType(); in getComponentType()
/cts/tools/signature-tools/src/signature/compare/model/impl/
DSigUpperBoundsDelta.java24 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/
DConvertWildcardTest.java32 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/
DITypeReferenceDelta.java19 import signature.model.ITypeReference;
25 public interface ITypeReferenceDelta<T extends ITypeReference> extends

12