/external/turbine/java/com/google/turbine/bytecode/sig/ |
D | Sig.java | 29 private final ImmutableList<TyParamSig> tyParams; field in Sig.ClassSig 34 ImmutableList<TyParamSig> tyParams, in ClassSig() argument 37 this.tyParams = tyParams; in ClassSig() 43 public ImmutableList<TyParamSig> tyParams() { in tyParams() method in Sig.ClassSig 44 return tyParams; in tyParams() 310 private final ImmutableList<TyParamSig> tyParams; field in Sig.MethodSig 316 ImmutableList<TyParamSig> tyParams, in MethodSig() argument 320 this.tyParams = tyParams; in MethodSig() 327 public ImmutableList<TyParamSig> tyParams() { in tyParams() method in Sig.MethodSig 328 return tyParams; in tyParams()
|
D | SigParser.java | 86 ImmutableList<TyParamSig> tyParams = parseTyParams(); in parseMethodSig() local 101 return new MethodSig(tyParams, params.build(), result, exceptions.build()); in parseMethodSig() 107 ImmutableList<TyParamSig> tyParams = parseTyParams(); in parseClassSig() local 113 return new ClassSig(tyParams, superClass, interfaces.build()); in parseClassSig() 117 ImmutableList.Builder<TyParamSig> tyParams = ImmutableList.builder(); in parseTyParams() local 141 tyParams.add(new TyParamSig(identifier.toString(), classBound, interfaceBounds.build())); in parseTyParams() 145 return tyParams.build(); in parseTyParams()
|
D | SigWriter.java | 160 if (!methodSig.tyParams().isEmpty()) { in writeMethodSig() 162 for (TyParamSig x : methodSig.tyParams()) { in writeMethodSig() 203 if (!classSig.tyParams().isEmpty()) { in printClassSig() 205 for (TyParamSig x : classSig.tyParams()) { in printClassSig()
|
/external/turbine/java/com/google/turbine/binder/bound/ |
D | TypeBoundClass.java | 159 private final ImmutableMap<TyVarSymbol, TyVarInfo> tyParams; field in TypeBoundClass.MethodInfo 171 ImmutableMap<TyVarSymbol, TyVarInfo> tyParams, in MethodInfo() argument 181 this.tyParams = tyParams; in MethodInfo() 203 public ImmutableMap<TyVarSymbol, TyVarInfo> tyParams() { in tyParams() method in TypeBoundClass.MethodInfo 204 return tyParams; in tyParams() 249 tyParams.keySet(), in asType()
|
/external/turbine/java/com/google/turbine/binder/bytecode/ |
D | BytecodeBoundClass.java | 204 private final Supplier<ImmutableMap<String, TyVarSymbol>> tyParams = field in BytecodeBoundClass 210 if (csig == null || csig.tyParams().isEmpty()) { 214 for (Sig.TyParamSig p : csig.tyParams()) { 223 return tyParams.get(); in typeParameters() 321 for (Sig.TyParamSig p : sig.get().tyParams()) { 394 ImmutableMap<String, TyVarSymbol> tyParams; in bindMethod() local 397 for (Sig.TyParamSig p : sig.tyParams()) { in bindMethod() 400 tyParams = result.build(); in bindMethod() 406 Function<String, TyVarSymbol> scope = makeScope(env, sym, tyParams); in bindMethod() 407 for (Sig.TyParamSig p : sig.tyParams()) { in bindMethod() [all …]
|
/external/turbine/java/com/google/turbine/type/ |
D | Type.java | 486 public abstract ImmutableSet<TyVarSymbol> tyParams(); in tyParams() method in Type.MethodTy 499 ImmutableSet<TyVarSymbol> tyParams, in create() argument 504 return new AutoValue_Type_MethodTy(tyParams, returnType, receiverType, parameters, thrown); in create() 515 if (!tyParams().isEmpty()) { in toString() 517 Joiner.on(',').appendTo(sb, tyParams()); in toString()
|
/external/turbine/java/com/google/turbine/processing/ |
D | ModelFactory.java | 347 ImmutableMap<TyVarSymbol, TyVarInfo> tyParams; in getTyVarInfo() local 350 tyParams = getMethodInfo((MethodSymbol) owner).tyParams(); in getTyVarInfo() 353 tyParams = getSymbol((ClassSymbol) owner).typeParameterTypes(); in getTyVarInfo() 358 return tyParams.get(tyVar); in getTyVarInfo()
|
D | TurbineTypes.java | 169 if (a.tyParams().size() != b.tyParams().size()) { in sameTypeParameterBounds() 172 Iterator<TyVarSymbol> ax = a.tyParams().iterator(); in sameTypeParameterBounds() 173 Iterator<TyVarSymbol> bx = b.tyParams().iterator(); in sameTypeParameterBounds() 587 method.tyParams(), in substMethod() 629 if (a.tyParams().size() != b.tyParams().size()) { in getMapping() 632 Iterator<TyVarSymbol> ax = a.tyParams().iterator(); in getMapping() 633 Iterator<TyVarSymbol> bx = b.tyParams().iterator(); in getMapping()
|
D | TurbineMessager.java | 196 tyVars = minfo.tyParams(); in tyParamPosition()
|
D | TurbineElement.java | 691 for (Map.Entry<TyVarSymbol, TyVarInfo> p : info().tyParams().entrySet()) { in getTypeParameters() 729 if (!info.tyParams().isEmpty()) { in toString() 731 Joiner.on(',').appendTo(sb, info.tyParams().keySet()); in toString()
|
D | TurbineTypeMirror.java | 727 for (TyVarSymbol tyVar : type.tyParams()) { in getTypeVariables()
|
/external/turbine/java/com/google/turbine/lower/ |
D | Lower.java | 291 Function<TyVarSymbol, TyVarInfo> tenv = new TyVarEnv(m.tyParams()); in lowerMethod() 465 private final Map<TyVarSymbol, TyVarInfo> tyParams; field in Lower.TyVarEnv 468 public TyVarEnv(Map<TyVarSymbol, TyVarInfo> tyParams) { in TyVarEnv() argument 469 this.tyParams = tyParams; in TyVarEnv() 474 TyVarInfo result = tyParams.get(sym); in apply() 612 m.tyParams().values(), in methodTypeAnnotations()
|
D | LowerSignature.java | 137 ImmutableList<Sig.TyParamSig> typarams = tyParamSig(method.tyParams(), env); in methodSignature() 173 if (!m.tyParams().isEmpty()) { in needsMethodSig()
|
/external/turbine/javatests/com/google/turbine/bytecode/sig/ |
D | SigRegressionTest.java | 36 Sig.TyParamSig tyParam = Iterables.getOnlyElement(sig.tyParams()); in collect()
|
/external/turbine/java/com/google/turbine/binder/ |
D | CanonicalTypeBinder.java | 118 typeParameters(source, pos, env, sym, base.tyParams()); in methods()
|
D | DisambiguateTypeAnnotations.java | 113 base.tyParams(), in bindMethod()
|
D | ConstBinder.java | 143 bindTypeParameters(base.tyParams()), in bindMethod()
|
/external/turbine/javatests/com/google/turbine/binder/bytecode/ |
D | BytecodeBoundClassTest.java | 102 assertThat(m.tyParams()).hasSize(3); in methodTypes()
|
/external/turbine/javatests/com/google/turbine/lower/ |
D | LowerTest.java | 181 ImmutableMap<String, TyVarSymbol> tyParams = in hello() local 195 tyParams, in hello()
|
/external/turbine/java/com/google/turbine/parse/ |
D | Parser.java | 506 ImmutableList<TyParam> tyParams = ImmutableList.of(); in classDeclaration() local 508 tyParams = typarams(); in classDeclaration() 530 tyParams, in classDeclaration()
|