Home
last modified time | relevance | path

Searched refs:SimpleClassTy (Results 1 – 11 of 11) sorted by relevance

/external/turbine/java/com/google/turbine/types/
DCanonicalize.java32 import com.google.turbine.type.Type.ClassTy.SimpleClassTy;
126 Iterator<ClassTy.SimpleClassTy> it = ty.classes().iterator(); in canon()
127 Collection<ClassTy.SimpleClassTy> lexicalBase = lexicalBase(ty.classes().get(0).sym(), base); in canon()
144 for (ClassTy.SimpleClassTy s : ty.classes().reverse()) { in isRaw()
157 private Collection<ClassTy.SimpleClassTy> lexicalBase(ClassSymbol first, ClassSymbol owner) { in lexicalBase()
163 Deque<ClassTy.SimpleClassTy> result = new ArrayDeque<>(); in lexicalBase()
178 private ClassTy.SimpleClassTy uninstantiated(ClassSymbol owner) { in uninstantiated()
183 return ClassTy.SimpleClassTy.create(owner, targs.build(), ImmutableList.of()); in uninstantiated()
201 private ClassTy canonOne(ClassTy base, SimpleClassTy ty) { in canonOne()
206 ImmutableList.Builder<ClassTy.SimpleClassTy> simples = ImmutableList.builder(); in canonOne()
[all …]
DErasure.java27 import com.google.turbine.type.Type.ClassTy.SimpleClassTy;
68 ImmutableList.Builder<Type.ClassTy.SimpleClassTy> classes = ImmutableList.builder(); in eraseClassTy()
69 for (Type.ClassTy.SimpleClassTy c : ty.classes()) { in eraseClassTy()
73 classes.add(SimpleClassTy.create(c.sym(), ImmutableList.of(), c.annos())); in eraseClassTy()
/external/turbine/javatests/com/google/turbine/lower/
DLowerSignatureTest.java29 import com.google.turbine.type.Type.ClassTy.SimpleClassTy;
46 SimpleClassTy.create( in simple()
59 SimpleClassTy.create( in inner()
63 SimpleClassTy.create( in inner()
75 SimpleClassTy.create( in genericEnclosing()
79 SimpleClassTy.create( in genericEnclosing()
97 SimpleClassTy.create( in innerDefaultPackage()
101 SimpleClassTy.create( in innerDefaultPackage()
116 SimpleClassTy.create( in wildcard()
DLowerTest.java47 import com.google.turbine.type.Type.ClassTy.SimpleClassTy;
87 SimpleClassTy.create( in hello()
103 SimpleClassTy.create( in hello()
131 SimpleClassTy.create( in hello()
142 SimpleClassTy.create( in hello()
/external/turbine/java/com/google/turbine/type/
DType.java82 return create(Arrays.asList(SimpleClassTy.create(i, ImmutableList.of(), ImmutableList.of()))); in asNonParametricClassTy()
85 public abstract ImmutableList<SimpleClassTy> classes(); in classes()
93 public static ClassTy create(Iterable<SimpleClassTy> classes) { in create()
111 for (SimpleClassTy c : classes()) { in toString()
130 public abstract static class SimpleClassTy { class in Type.ClassTy
132 public static SimpleClassTy create( in create()
/external/turbine/java/com/google/turbine/lower/
DLowerSignature.java40 import com.google.turbine.type.Type.ClassTy.SimpleClassTy;
90 Iterator<SimpleClassTy> it = t.classes().iterator(); in classTySig()
91 SimpleClassTy curr = it.next(); in classTySig()
107 SimpleClassTy outer = curr; in classTySig()
115 private ImmutableList<TySig> tyArgSigs(SimpleClassTy part) { in tyArgSigs()
256 for (SimpleClassTy s : ((ClassTy) ty).classes()) { in needsSig()
DLower.java74 import com.google.turbine.type.Type.ClassTy.SimpleClassTy;
788 for (SimpleClassTy simple : type.classes()) { in lowerClassTypeTypeAnnotations()
/external/turbine/java/com/google/turbine/binder/
DDisambiguateTypeAnnotations.java42 import com.google.turbine.type.Type.ClassTy.SimpleClassTy;
206 SimpleClassTy base = classTy.classes().get(0); in addAnnotationsToType()
207 SimpleClassTy simple = in addAnnotationsToType()
208 SimpleClassTy.create(base.sym(), base.targs(), appendAnnotations(base.annos(), extra)); in addAnnotationsToType()
210 ImmutableList.<SimpleClassTy>builder() in addAnnotationsToType()
DConstBinder.java47 import com.google.turbine.type.Type.ClassTy.SimpleClassTy;
337 ImmutableList.Builder<SimpleClassTy> classes = ImmutableList.builder(); in bindClassType()
338 for (SimpleClassTy c : classTy.classes()) { in bindClassType()
340 SimpleClassTy.create( in bindClassType()
DTypeBinder.java186 Type.ClassTy.SimpleClassTy.create( in bind()
679 ImmutableList.Builder<Type.ClassTy.SimpleClassTy> classes = ImmutableList.builder(); in bindClassTyRest()
681 Type.ClassTy.SimpleClassTy.create( in bindClassTyRest()
692 Type.ClassTy.SimpleClassTy.create(sym, bindTyArgs(scope, curr.tyargs()), annotations)); in bindClassTyRest()
/external/turbine/java/com/google/turbine/binder/bytecode/
DBytecodeBinder.java57 List<Type.ClassTy.SimpleClassTy> classes = new ArrayList<>(); in bindClassTy()
68 classes.add(Type.ClassTy.SimpleClassTy.create(sym, tyArgs.build(), ImmutableList.of())); in bindClassTy()