Home
last modified time | relevance | path

Searched refs:TySig (Results 1 – 8 of 8) sorted by relevance

/external/turbine/java/com/google/turbine/bytecode/sig/
DSig.java62 @Nullable private final TySig classBound;
63 private final ImmutableList<TySig> interfaceBounds;
65 public TyParamSig(String name, TySig classBound, ImmutableList<TySig> interfaceBounds) { in TyParamSig()
73 public TySig classBound() { in classBound()
78 public ImmutableList<TySig> interfaceBounds() { in interfaceBounds()
89 public static class ClassTySig extends TySig {
128 private final ImmutableList<TySig> tyArgs;
130 public SimpleClassTySig(String simpleName, ImmutableList<TySig> tyArgs) { in SimpleClassTySig()
136 public ImmutableList<TySig> tyArgs() { in tyArgs()
153 public abstract static class WildTySig extends TySig {
[all …]
DSigParser.java28 import com.google.turbine.bytecode.sig.Sig.TySig;
62 public TySig parseFieldSig() { in parseFieldSig()
91 ImmutableList.Builder<TySig> params = ImmutableList.builder(); in parseMethodSig()
96 ImmutableList.Builder<TySig> exceptions = ImmutableList.builder(); in parseMethodSig()
97 TySig result = parseType(); in parseMethodSig()
126 TySig classBound = null; in parseTyParams()
136 ImmutableList.Builder<TySig> interfaceBounds = ImmutableList.builder(); in parseTyParams()
149 public TySig parseType() { in parseType()
185 TySig elementType = parseType(); in parseArraySig()
204 ImmutableList.Builder<TySig> tyArgs = ImmutableList.builder(); in parseClassTySig()
DSigWriter.java27 import com.google.turbine.bytecode.sig.Sig.TySig;
43 public static String type(TySig tySig) { in type()
69 for (Sig.TySig f : tyParamSig.interfaceBounds()) { in writeFormalTyParamSig()
96 for (Sig.TySig x : simpleClassTySig.tyArgs()) { in writeSimpleClassTySig()
170 for (TySig p : methodSig.params()) { in writeMethodSig()
175 for (TySig e : methodSig.exceptions()) { in writeMethodSig()
181 private void writeTySig(TySig p) { in writeTySig()
/external/turbine/java/com/google/turbine/lower/
DLowerSignature.java32 import com.google.turbine.bytecode.sig.Sig.TySig;
56 public Sig.TySig signature(Type ty) { in signature()
115 private ImmutableList<TySig> tyArgSigs(SimpleClassTy part) { in tyArgSigs()
116 ImmutableList.Builder<TySig> tyargs = ImmutableList.builder(); in tyArgSigs()
123 private TySig wildTy(WildTy ty) { in wildTy()
148 ImmutableList.Builder<Sig.TySig> fparams = ImmutableList.builder(); in methodSignature()
155 Sig.TySig ret = signature(method.returnType()); in methodSignature()
156 ImmutableList.Builder<Sig.TySig> excn = ImmutableList.builder(); in methodSignature()
285 Sig.TySig cbound = null; in tyParamSig()
286 ImmutableList.Builder<Sig.TySig> ibounds = ImmutableList.builder(); in tyParamSig()
[all …]
DLower.java61 import com.google.turbine.bytecode.sig.Sig.TySig;
364 ImmutableList.Builder<TySig> fparams = ImmutableList.builder(); in methodDescriptor()
368 TySig result = sig.signature(Erasure.erase(m.returnType(), tenv)); in methodDescriptor()
369 ImmutableList<TySig> excns = ImmutableList.of(); in methodDescriptor()
/external/turbine/javatests/com/google/turbine/bytecode/sig/
DSigRegressionTest.java22 import com.google.turbine.bytecode.sig.Sig.TySig.TySigKind;
52 Sig.TySig tyArg = Iterables.getOnlyElement(simple.tyArgs()); in collect()
/external/turbine/java/com/google/turbine/binder/bytecode/
DBytecodeBoundClass.java48 import com.google.turbine.bytecode.sig.Sig.TySig;
332 for (Sig.TySig t : sig.interfaceBounds()) { in bindTyParam()
416 for (Sig.TySig tySig : sig.params()) { in bindMethod()
433 for (TySig e : sig.exceptions()) { in bindMethod()
DBytecodeBinder.java64 for (Sig.TySig arg : s.tyArgs()) { in bindClassTy()
89 static Type bindTy(Sig.TySig sig, Function<String, TyVarSymbol> scope) { in bindTy()