Home
last modified time | relevance | path

Searched refs:tyParams (Results 1 – 21 of 21) 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.java88 ImmutableList<TyParamSig> tyParams = parseTyParams(); in parseMethodSig() local
103 return new MethodSig(tyParams, params.build(), result, exceptions.build()); in parseMethodSig()
109 ImmutableList<TyParamSig> tyParams = parseTyParams(); in parseClassSig() local
115 return new ClassSig(tyParams, superClass, interfaces.build()); in parseClassSig()
119 ImmutableList.Builder<TyParamSig> tyParams = ImmutableList.builder(); in parseTyParams() local
143 tyParams.add(new TyParamSig(identifier.toString(), classBound, interfaceBounds.build())); in parseTyParams()
147 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.java167 private final ImmutableMap<TyVarSymbol, TyVarInfo> tyParams; field in TypeBoundClass.MethodInfo
179 ImmutableMap<TyVarSymbol, TyVarInfo> tyParams, in MethodInfo() argument
189 this.tyParams = tyParams; in MethodInfo()
211 public ImmutableMap<TyVarSymbol, TyVarInfo> tyParams() { in tyParams() method in TypeBoundClass.MethodInfo
212 return tyParams; in tyParams()
265 tyParams.keySet(), in asType()
/external/turbine/java/com/google/turbine/binder/bytecode/
DBytecodeBoundClass.java202 private final Supplier<ImmutableMap<String, TyVarSymbol>> tyParams = field in BytecodeBoundClass
208 if (csig == null || csig.tyParams().isEmpty()) {
212 for (Sig.TyParamSig p : csig.tyParams()) {
221 return tyParams.get(); in typeParameters()
324 for (Sig.TyParamSig p : sig.get().tyParams()) {
403 ImmutableMap<String, TyVarSymbol> tyParams; in bindMethod() local
406 for (Sig.TyParamSig p : sig.tyParams()) { in bindMethod()
409 tyParams = result.buildOrThrow(); in bindMethod()
415 Function<String, TyVarSymbol> scope = makeScope(env, sym, tyParams); in bindMethod()
416 for (Sig.TyParamSig p : sig.tyParams()) { in bindMethod()
[all …]
/external/turbine/java/com/google/turbine/type/
DType.java498 public abstract ImmutableSet<TyVarSymbol> tyParams(); in tyParams() method in Type.MethodTy
510 ImmutableSet<TyVarSymbol> tyParams, in create() argument
515 return new AutoValue_Type_MethodTy(tyParams, returnType, receiverType, parameters, thrown); in create()
526 if (!tyParams().isEmpty()) { in toString()
528 Joiner.on(',').appendTo(sb, tyParams()); in toString()
/external/turbine/java/com/google/turbine/processing/
DModelFactory.java369 ImmutableMap<TyVarSymbol, TyVarInfo> tyParams; in getTyVarInfo() local
372 tyParams = getMethodInfo((MethodSymbol) owner).tyParams(); in getTyVarInfo()
375 tyParams = getSymbol((ClassSymbol) owner).typeParameterTypes(); in getTyVarInfo()
380 return tyParams.get(tyVar); in getTyVarInfo()
DTurbineTypes.java164 if (a.tyParams().size() != b.tyParams().size()) { in sameTypeParameterBounds()
167 Iterator<TyVarSymbol> ax = a.tyParams().iterator(); in sameTypeParameterBounds()
168 Iterator<TyVarSymbol> bx = b.tyParams().iterator(); in sameTypeParameterBounds()
590 method.tyParams(), in substMethod()
631 if (a.tyParams().size() != b.tyParams().size()) { in getMapping()
634 Iterator<TyVarSymbol> ax = a.tyParams().iterator(); in getMapping()
635 Iterator<TyVarSymbol> bx = b.tyParams().iterator(); in getMapping()
DTurbineMessager.java199 tyVars = minfo.tyParams(); in tyParamPosition()
DTurbineElement.java715 for (Map.Entry<TyVarSymbol, TyVarInfo> p : info().tyParams().entrySet()) { in getTypeParameters()
753 if (!info.tyParams().isEmpty()) { in toString()
755 Joiner.on(',').appendTo(sb, info.tyParams().keySet()); in toString()
DTurbineTypeMirror.java728 for (TyVarSymbol tyVar : type.tyParams()) { in getTypeVariables()
/external/turbine/java/com/google/turbine/lower/
DLower.java349 Function<TyVarSymbol, TyVarInfo> tenv = new TyVarEnv(m.tyParams()); in lowerMethod()
569 private final Map<TyVarSymbol, TyVarInfo> tyParams; field in Lower.TyVarEnv
572 public TyVarEnv(Map<TyVarSymbol, TyVarInfo> tyParams) { in TyVarEnv() argument
573 this.tyParams = tyParams; in TyVarEnv()
578 TyVarInfo result = tyParams.get(sym); in apply()
716 m.tyParams().values(), in methodTypeAnnotations()
DLowerSignature.java136 ImmutableList<Sig.TyParamSig> typarams = tyParamSig(method.tyParams(), env); in methodSignature()
169 if (!m.tyParams().isEmpty()) { in needsMethodSig()
/external/turbine/java/com/google/turbine/types/
DDeannotate.java80 ty.tyParams(), in deannotateMethodTy()
/external/turbine/javatests/com/google/turbine/bytecode/sig/
DSigRegressionTest.java36 Sig.TyParamSig tyParam = Iterables.getOnlyElement(sig.tyParams()); in collect()
/external/turbine/javatests/com/google/turbine/binder/bytecode/
DBytecodeBoundClassTest.java106 assertThat(m.tyParams()).hasSize(3); in methodTypes()
/external/turbine/javatests/com/google/turbine/lower/
DLowerTest.java182 ImmutableMap<String, TyVarSymbol> tyParams = in hello() local
198 tyParams, in hello()
/external/turbine/java/com/google/turbine/binder/
DCanonicalTypeBinder.java125 typeParameters(source, pos, env, sym, base.tyParams()); in methods()
DDisambiguateTypeAnnotations.java116 base.tyParams(), in bindMethod()
DConstBinder.java150 bindTypeParameters(base.tyParams()), in bindMethod()
/external/turbine/java/com/google/turbine/parse/
DParser.java601 ImmutableList<TyParam> tyParams = ImmutableList.of(); in classDeclaration() local
603 tyParams = typarams(); in classDeclaration()
642 tyParams, in classDeclaration()