Home
last modified time | relevance | path

Searched refs:tyKind (Results 1 – 18 of 18) sorted by relevance

/external/turbine/java/com/google/turbine/processing/
DTurbineTypes.java107 if (t1.tyKind() == TyKind.WILD_TY || t2.tyKind() == TyKind.WILD_TY) { in isSameType()
117 switch (a.tyKind()) { in isSameType()
119 return b.tyKind() == TyKind.PRIM_TY && ((PrimTy) a).primkind() == ((PrimTy) b).primkind(); in isSameType()
121 return b.tyKind() == TyKind.VOID_TY; in isSameType()
123 return b.tyKind() == TyKind.NONE_TY; in isSameType()
127 return b.tyKind() == TyKind.ARRAY_TY in isSameType()
130 return b.tyKind() == TyKind.TY_VAR && ((TyVar) a).sym().equals(((TyVar) b).sym()); in isSameType()
134 return b.tyKind() == TyKind.INTERSECTION_TY in isSameType()
137 return b.tyKind() == TyKind.METHOD_TY && isSameMethodType((MethodTy) a, (MethodTy) b); in isSameType()
141 throw new AssertionError(a.tyKind()); in isSameType()
[all …]
DClassHierarchy.java84 if (type.tyKind() != TyKind.CLASS_TY) { in add()
139 if (t.tyKind() != TyKind.CLASS_TY) { in search()
DModelFactory.java163 switch (type.tyKind()) { in createTypeMirror()
196 throw new AssertionError(type.tyKind()); in createTypeMirror()
DTurbineAnnotationMirror.java259 if (value.type().tyKind() == TyKind.ERROR_TY) { in accept()
/external/turbine/java/com/google/turbine/type/
DType.java68 TyKind tyKind(); in tyKind() method
74 public TyKind tyKind() {
88 public TyKind tyKind() {
133 public TyKind tyKind() { in tyKind() method in Type.ClassTy
239 public TyKind tyKind() { in tyKind() method in Type.ArrayTy
275 public TyKind tyKind() { in tyKind() method in Type.TyVar
310 public TyKind tyKind() { in tyKind() method in Type.PrimTy
350 public TyKind tyKind() { in tyKind() method in Type.WildTy
468 public TyKind tyKind() { in tyKind() method in Type.IntersectionTy
508 public TyKind tyKind() { in tyKind() method in Type.MethodTy
[all …]
/external/turbine/java/com/google/turbine/lower/
DLowerSignature.java57 switch (ty.tyKind()) { in signature()
71 throw new AssertionError(ty.tyKind()); in signature()
240 switch (ty.tyKind()) { in needsSig()
258 throw new AssertionError(ty.tyKind()); in needsSig()
299 return type.tyKind() == TyKind.CLASS_TY in isInterface()
DLower.java691 return type.tyKind() == TyKind.CLASS_TY in isInterface()
723 switch (type.tyKind()) { in lowerTypeAnnotations()
742 throw new AssertionError(type.tyKind()); in lowerTypeAnnotations()
/external/turbine/java/com/google/turbine/types/
DCanonicalize.java99 switch (type.tyKind()) { in canonicalize()
117 throw new AssertionError(type.tyKind()); in canonicalize()
288 switch (type.tyKind()) { in instantiate()
308 throw new AssertionError(type.tyKind()); in instantiate()
344 if (type.tyKind() == TyKind.TY_VAR) { in tyVarSym()
DErasure.java37 switch (ty.tyKind()) { in erase()
56 throw new AssertionError(ty.tyKind()); in erase()
/external/turbine/java/com/google/turbine/binder/bound/
DSourceTypeBoundClass.java99 if (superClassType.tyKind() != TyKind.CLASS_TY) { in superclass()
109 if (type.tyKind() == TyKind.CLASS_TY) { in interfaces()
/external/turbine/java/com/google/turbine/binder/
DConstBinder.java235 if (type.tyKind() != TyKind.CLASS_TY) { in bindRepeatable()
271 switch (base.type().tyKind()) { in fieldValue()
313 switch (type.tyKind()) { in bindType()
348 throw new AssertionError(type.tyKind()); in bindType()
DCanonicalTypeBinder.java46 if (base.superClassType() != null && base.superClassType().tyKind() == TyKind.CLASS_TY) { in bind()
57 if (i.tyKind() == TyKind.CLASS_TY) { in bind()
DDisambiguateTypeAnnotations.java217 switch (type.tyKind()) { in addAnnotationsToType()
243 throw new AssertionError(type.tyKind()); in addAnnotationsToType()
DConstEvaluator.java323 switch (ty.tyKind()) { in cast()
330 throw new AssertionError(ty.tyKind()); in cast()
1009 switch (ty.tyKind()) { in evalAnnotationValue()
1032 throw new AssertionError(ty.tyKind()); in evalAnnotationValue()
DBinder.java416 switch (field.type().tyKind()) { in isConst()
/external/turbine/javatests/com/google/turbine/binder/bytecode/
DBytecodeBoundClassTest.java125 assertThat(((TurbineClassValue) c.methods().get(0).defaultValue()).type().tyKind()) in voidAnno()
127 assertThat(((TurbineClassValue) c.methods().get(1).defaultValue()).type().tyKind()) in voidAnno()
/external/turbine/java/com/google/turbine/deps/
DDependencies.java131 if (t.tyKind() == Type.TyKind.CLASS_TY) { in addConst()
/external/turbine/java/com/google/turbine/binder/bytecode/
DBytecodeBinder.java170 if (type.tyKind() != Type.TyKind.PRIM_TY) { in bindConstValue()