/external/turbine/java/com/google/turbine/types/ |
D | Erasure.java | 23 import com.google.turbine.binder.bound.TypeBoundClass.TyVarInfo; 36 public static Type erase(Type ty, Function<TyVarSymbol, SourceTypeBoundClass.TyVarInfo> tenv) { in erase() 60 ImmutableList<Type> types, Function<TyVarSymbol, TyVarInfo> tenv) { in erase() 69 IntersectionTy ty, Function<TyVarSymbol, TyVarInfo> tenv) { in eraseIntersectionTy() 74 TyVar ty, Function<TyVarSymbol, SourceTypeBoundClass.TyVarInfo> tenv) { in eraseTyVar() 75 SourceTypeBoundClass.TyVarInfo info = tenv.apply(ty.sym()); in eraseTyVar() 80 Type.ArrayTy ty, Function<TyVarSymbol, SourceTypeBoundClass.TyVarInfo> tenv) { in eraseArrayTy() 96 private static Type eraseWildTy(WildTy ty, Function<TyVarSymbol, TyVarInfo> tenv) { in eraseWildTy() 107 private static Type erasureMethodTy(MethodTy ty, Function<TyVarSymbol, TyVarInfo> tenv) { in erasureMethodTy()
|
/external/turbine/java/com/google/turbine/binder/ |
D | CanonicalTypeBinder.java | 26 import com.google.turbine.binder.bound.TypeBoundClass.TyVarInfo; 64 ImmutableMap<TyVarSymbol, TyVarInfo> typParamTypes = in bind() 117 ImmutableMap<TyVarSymbol, TyVarInfo> tps = in methods() 156 private static ImmutableMap<TyVarSymbol, TyVarInfo> typeParameters( in typeParameters() 161 Map<TyVarSymbol, TyVarInfo> tps) { in typeParameters() 162 ImmutableMap.Builder<TyVarSymbol, TyVarInfo> result = ImmutableMap.builder(); in typeParameters() 163 for (Map.Entry<TyVarSymbol, TyVarInfo> e : tps.entrySet()) { in typeParameters() 164 TyVarInfo info = e.getValue(); in typeParameters() 167 result.put(e.getKey(), new TyVarInfo(upperBound, /* lowerBound= */ null, info.annotations())); in typeParameters()
|
D | ConstBinder.java | 30 import com.google.turbine.binder.bound.TypeBoundClass.TyVarInfo; 297 private ImmutableMap<TyVarSymbol, TyVarInfo> bindTypeParameters( in bindTypeParameters() 298 ImmutableMap<TyVarSymbol, TyVarInfo> typarams) { in bindTypeParameters() 299 ImmutableMap.Builder<TyVarSymbol, TyVarInfo> result = ImmutableMap.builder(); in bindTypeParameters() 300 for (Map.Entry<TyVarSymbol, TyVarInfo> entry : typarams.entrySet()) { in bindTypeParameters() 301 TyVarInfo info = entry.getValue(); in bindTypeParameters() 304 new TyVarInfo( in bindTypeParameters()
|
D | TypeBinder.java | 28 import com.google.turbine.binder.bound.TypeBoundClass.TyVarInfo; 177 final ImmutableMap<TyVarSymbol, TyVarInfo> typeParameterTypes = in bind() 393 private ImmutableMap<TyVarSymbol, TyVarInfo> bindTyParams( in bindTyParams() 395 ImmutableMap.Builder<TyVarSymbol, TyVarInfo> result = ImmutableMap.builder(); in bindTyParams() 405 new TyVarInfo( in bindTyParams() 437 ImmutableMap<TyVarSymbol, TyVarInfo> typeParameterTypes = in bindMethod()
|
/external/turbine/java/com/google/turbine/binder/bound/ |
D | TypeBoundClass.java | 45 ImmutableMap<TyVarSymbol, TyVarInfo> typeParameterTypes(); in typeParameterTypes() 63 class TyVarInfo { class 68 public TyVarInfo( in TyVarInfo() method in TypeBoundClass.TyVarInfo 159 private final ImmutableMap<TyVarSymbol, TyVarInfo> tyParams; 171 ImmutableMap<TyVarSymbol, TyVarInfo> tyParams, in MethodInfo() 203 public ImmutableMap<TyVarSymbol, TyVarInfo> tyParams() { in tyParams()
|
D | SourceTypeBoundClass.java | 44 private final ImmutableMap<TyVarSymbol, TyVarInfo> typeParameterTypes; 60 ImmutableMap<TyVarSymbol, TyVarInfo> typeParameterTypes, in SourceTypeBoundClass() 172 public ImmutableMap<TyVarSymbol, TyVarInfo> typeParameterTypes() { in typeParameterTypes()
|
/external/turbine/java/com/google/turbine/binder/bytecode/ |
D | BytecodeBoundClass.java | 311 private final Supplier<ImmutableMap<TyVarSymbol, TyVarInfo>> typeParameterTypes = 313 new Supplier<ImmutableMap<TyVarSymbol, TyVarInfo>>() { 315 public ImmutableMap<TyVarSymbol, TyVarInfo> get() { 319 ImmutableMap.Builder<TyVarSymbol, TyVarInfo> tparams = ImmutableMap.builder(); 328 private static TyVarInfo bindTyParam(Sig.TyParamSig sig, Function<String, TyVarSymbol> scope) { in bindTyParam() 336 return new TyVarInfo( in bindTyParam() 341 public ImmutableMap<TyVarSymbol, TyVarInfo> typeParameterTypes() { in typeParameterTypes() 403 ImmutableMap<TyVarSymbol, TyVarInfo> tyParamTypes; in bindMethod() 405 ImmutableMap.Builder<TyVarSymbol, TyVarInfo> tparams = ImmutableMap.builder(); in bindMethod()
|
/external/turbine/java/com/google/turbine/lower/ |
D | Lower.java | 40 import com.google.turbine.binder.bound.TypeBoundClass.TyVarInfo; 291 Function<TyVarSymbol, TyVarInfo> tenv = new TyVarEnv(m.tyParams()); in lowerMethod() 361 private String methodDescriptor(MethodInfo m, Function<TyVarSymbol, TyVarInfo> tenv) { in methodDescriptor() 374 Function<TyVarSymbol, TyVarInfo> tenv = new TyVarEnv(ImmutableMap.of()); in lowerField() 463 class TyVarEnv implements Function<TyVarSymbol, TyVarInfo> { 465 private final Map<TyVarSymbol, TyVarInfo> tyParams; 468 public TyVarEnv(Map<TyVarSymbol, TyVarInfo> tyParams) { in TyVarEnv() 473 public TyVarInfo apply(TyVarSymbol sym) { in apply() 474 TyVarInfo result = tyParams.get(sym); in apply() 657 Iterable<TyVarInfo> typeParameters, in typeParameterAnnotations() [all …]
|
D | LowerSignature.java | 22 import com.google.turbine.binder.bound.TypeBoundClass.TyVarInfo; 263 Map<TyVarSymbol, TyVarInfo> px, Env<ClassSymbol, TypeBoundClass> env) { in tyParamSig() 265 for (Map.Entry<TyVarSymbol, SourceTypeBoundClass.TyVarInfo> entry : px.entrySet()) { in tyParamSig() 272 TyVarSymbol sym, SourceTypeBoundClass.TyVarInfo info, Env<ClassSymbol, TypeBoundClass> env) { in tyParamSig()
|
/external/turbine/java/com/google/turbine/processing/ |
D | TurbineTypeMirror.java | 27 import com.google.turbine.binder.bound.TypeBoundClass.TyVarInfo; 487 private final Supplier<TyVarInfo> info = 489 new Supplier<TyVarInfo>() { 491 public TyVarInfo get() { 496 private TyVarInfo info() { in info()
|
D | ModelFactory.java | 32 import com.google.turbine.binder.bound.TypeBoundClass.TyVarInfo; 344 TyVarInfo getTyVarInfo(TyVarSymbol tyVar) { in getTyVarInfo() 347 ImmutableMap<TyVarSymbol, TyVarInfo> tyParams; in getTyVarInfo()
|
D | TurbineMessager.java | 25 import com.google.turbine.binder.bound.TypeBoundClass.TyVarInfo; 180 ImmutableMap<TyVarSymbol, TyVarInfo> tyVars; in tyParamPosition()
|
D | TurbineElement.java | 35 import com.google.turbine.binder.bound.TypeBoundClass.TyVarInfo; 561 private final Supplier<TyVarInfo> info = 563 new Supplier<TyVarInfo>() { 565 public TyVarInfo get() { 571 private TyVarInfo info() { in info() 691 for (Map.Entry<TyVarSymbol, TyVarInfo> p : info().tyParams().entrySet()) { in getTypeParameters()
|
D | TurbineTypes.java | 27 import com.google.turbine.binder.bound.TypeBoundClass.TyVarInfo; 370 TyVarInfo tyVarInfo = factory.getTyVarInfo(a.sym()); in isTyVarSubtype() 891 new Function<TyVarSymbol, TyVarInfo>() { in erasure() 893 public TyVarInfo apply(TyVarSymbol input) { in erasure()
|
/external/turbine/javatests/com/google/turbine/lower/ |
D | LowerTest.java | 96 ImmutableMap<TyVarSymbol, SourceTypeBoundClass.TyVarInfo> tps = in hello() 99 new SourceTypeBoundClass.TyVarInfo( in hello() 128 new SourceTypeBoundClass.TyVarInfo( in hello() 140 new SourceTypeBoundClass.TyVarInfo( in hello()
|