Home
last modified time | relevance | path

Searched refs:tyParams (Results 1 – 20 of 20) sorted by relevance

/external/turbine/java/com/google/turbine/bytecode/sig/
DSig.java29 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()
DSigParser.java86 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()
DSigWriter.java160 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/
DTypeBoundClass.java159 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/
DBytecodeBoundClass.java204 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/
DType.java486 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/
DModelFactory.java347 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()
DTurbineTypes.java169 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()
DTurbineMessager.java196 tyVars = minfo.tyParams(); in tyParamPosition()
DTurbineElement.java691 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()
DTurbineTypeMirror.java727 for (TyVarSymbol tyVar : type.tyParams()) { in getTypeVariables()
/external/turbine/java/com/google/turbine/lower/
DLower.java291 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()
DLowerSignature.java137 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/
DSigRegressionTest.java36 Sig.TyParamSig tyParam = Iterables.getOnlyElement(sig.tyParams()); in collect()
/external/turbine/java/com/google/turbine/binder/
DCanonicalTypeBinder.java118 typeParameters(source, pos, env, sym, base.tyParams()); in methods()
DDisambiguateTypeAnnotations.java113 base.tyParams(), in bindMethod()
DConstBinder.java143 bindTypeParameters(base.tyParams()), in bindMethod()
/external/turbine/javatests/com/google/turbine/binder/bytecode/
DBytecodeBoundClassTest.java102 assertThat(m.tyParams()).hasSize(3); in methodTypes()
/external/turbine/javatests/com/google/turbine/lower/
DLowerTest.java181 ImmutableMap<String, TyVarSymbol> tyParams = in hello() local
195 tyParams, in hello()
/external/turbine/java/com/google/turbine/parse/
DParser.java506 ImmutableList<TyParam> tyParams = ImmutableList.of(); in classDeclaration() local
508 tyParams = typarams(); in classDeclaration()
530 tyParams, in classDeclaration()