Searched refs:asTypeMirror (Results 1 – 9 of 9) sorted by relevance
/external/turbine/javatests/com/google/turbine/processing/ |
D | TurbineTypeMirrorTest.java | 62 TypeMirror type = factory.asTypeMirror(PrimTy.create(turbineKind, ImmutableList.of())); in primitiveTypes() 71 factory.asTypeMirror( in equals() 83 factory.asTypeMirror( in equals() 91 factory.asTypeMirror( in equals() 94 factory.asTypeMirror(PrimTy.create(TurbineConstantTypeKind.LONG, ImmutableList.of())), in equals() 95 factory.asTypeMirror(PrimTy.create(TurbineConstantTypeKind.LONG, ImmutableList.of()))) in equals() 97 factory.asTypeMirror(PrimTy.create(TurbineConstantTypeKind.INT, ImmutableList.of()))) in equals() 99 factory.asTypeMirror( in equals() 104 factory.asTypeMirror( in equals() 108 .addEqualityGroup(factory.asTypeMirror(Type.WildUnboundedTy.create(ImmutableList.of()))) in equals() [all …]
|
D | TurbineTypesFactoryTest.java | 101 factory.asTypeMirror( in arrayType() 112 .isEqualTo(factory.asTypeMirror(WildUnboundedTy.create(ImmutableList.of())).toString()); in wildcardType() 119 .asTypeMirror(WildUpperBoundedTy.create(ClassTy.STRING, ImmutableList.of())) in wildcardType() 127 .asTypeMirror(WildLowerBoundedTy.create(ClassTy.STRING, ImmutableList.of())) in wildcardType() 139 factory.asTypeMirror( in declaredType() 154 factory.asTypeMirror( in declaredType()
|
D | TurbineElementTest.java | 120 assertThat(t.getBounds()).containsExactly(factory.asTypeMirror(ClassTy.OBJECT)); in typeParameters()
|
/external/turbine/java/com/google/turbine/processing/ |
D | TurbineTypeMirror.java | 214 return factory.asTypeMirror( 217 return factory.asTypeMirror(ClassTy.asNonParametricClassTy(info.owner())); 279 return factory.asTypeMirror(type.elementType()); in getComponentType() 522 return factory.asTypeMirror(info().upperBound()); in getUpperBound() 528 ? factory.asTypeMirror(info().lowerBound()) in getLowerBound() 580 return type.boundKind() == BoundKind.UPPER ? factory.asTypeMirror(type.bound()) : null; in getExtendsBound() 585 return type.boundKind() == BoundKind.LOWER ? factory.asTypeMirror(type.bound()) : null; in getSuperBound() 728 result.add((TypeVariable) factory.asTypeMirror(TyVar.create(tyVar, ImmutableList.of()))); in getTypeVariables() 735 return factory.asTypeMirror(type.returnType()); in getReturnType() 746 ? factory.asTypeMirror(type.receiverType()) in getReceiverType()
|
D | TurbineElement.java | 262 return factory.asTypeMirror(info.superClassType()); 268 return factory.asTypeMirror( 328 return factory.asTypeMirror(asGenericType(sym)); 593 return factory.asTypeMirror(Type.TyVar.create(sym, info().annotations())); in asType() 699 return factory.asTypeMirror(info().returnType()); in getReturnType() 755 ? factory.asTypeMirror(info().receiver().type()) in getReceiverType() 783 return factory.asTypeMirror(info().asType()); in asType() 888 return factory.asTypeMirror(info().type()); in asType() 1151 return factory.asTypeMirror(info().type());
|
D | TurbineTypes.java | 885 return factory.asTypeMirror(erasure(asTurbineType(typeMirror))); in erasure() 939 return (PrimitiveType) factory.asTypeMirror(PrimTy.create(unboxed, ImmutableList.of())); 974 factory.asTypeMirror(PrimTy.create(primitiveType(kind), ImmutableList.of())); 1009 return (NoType) factory.asTypeMirror(Type.VOID); 1020 factory.asTypeMirror(ArrayTy.create(asTurbineType(componentType), ImmutableList.of())); 1033 return (WildcardType) factory.asTypeMirror(type); 1045 factory.asTypeMirror( 1065 factory.asTypeMirror( 1130 return factory.asTypeMirror(type);
|
D | TurbineAnnotationProxy.java | 137 result.add(factory.asTypeMirror(((TurbineClassValue) element).type())); in constArrayValue() 174 throw new MirroredTypeException(factory.asTypeMirror(value.type())); in constClassValue()
|
D | ModelFactory.java | 133 TypeMirror asTypeMirror(Type type) { in asTypeMirror() method in ModelFactory 203 result.add(asTypeMirror(type)); in asTypeMirrors() 209 return (NoType) asTypeMirror(Type.NONE); in noType()
|
D | TurbineAnnotationMirror.java | 92 factory.asTypeMirror(ErrorTy.create(getLast(anno.tree().name()).value())); in TurbineAnnotationMirror() 249 this.typeMirror = factory.asTypeMirror(value.type()); in TurbineClassConstant()
|