/external/turbine/java/com/google/turbine/binder/ |
D | DisambiguateTypeAnnotations.java | 29 import com.google.turbine.binder.bound.TypeBoundClass; 30 import com.google.turbine.binder.bound.TypeBoundClass.FieldInfo; 31 import com.google.turbine.binder.bound.TypeBoundClass.MethodInfo; 32 import com.google.turbine.binder.bound.TypeBoundClass.ParamInfo; 70 SourceTypeBoundClass base, Env<ClassSymbol, TypeBoundClass> env) { in bind() 92 Env<ClassSymbol, TypeBoundClass> env, ImmutableList<MethodInfo> fields) { in bindMethods() 100 private static MethodInfo bindMethod(Env<ClassSymbol, TypeBoundClass> env, MethodInfo base) { in bindMethod() 125 Env<ClassSymbol, TypeBoundClass> env, ImmutableList<ParamInfo> params) { in bindParameters() 133 private static ParamInfo bindParam(Env<ClassSymbol, TypeBoundClass> env, ParamInfo base) { in bindParam() 150 Env<ClassSymbol, TypeBoundClass> env, in disambiguate() [all …]
|
D | CanonicalTypeBinder.java | 22 import com.google.turbine.binder.bound.TypeBoundClass; 23 import com.google.turbine.binder.bound.TypeBoundClass.FieldInfo; 24 import com.google.turbine.binder.bound.TypeBoundClass.MethodInfo; 25 import com.google.turbine.binder.bound.TypeBoundClass.ParamInfo; 26 import com.google.turbine.binder.bound.TypeBoundClass.TyVarInfo; 44 ClassSymbol sym, SourceTypeBoundClass base, Env<ClassSymbol, TypeBoundClass> env) { in bind() 91 Env<ClassSymbol, TypeBoundClass> env, in fields() 111 Env<ClassSymbol, TypeBoundClass> env, in methods() 146 Env<ClassSymbol, TypeBoundClass> env, in param() 159 Env<ClassSymbol, TypeBoundClass> env, in typeParameters() [all …]
|
D | ConstBinder.java | 26 import com.google.turbine.binder.bound.TypeBoundClass; 27 import com.google.turbine.binder.bound.TypeBoundClass.FieldInfo; 28 import com.google.turbine.binder.bound.TypeBoundClass.MethodInfo; 29 import com.google.turbine.binder.bound.TypeBoundClass.ParamInfo; 30 import com.google.turbine.binder.bound.TypeBoundClass.TyVarInfo; 65 private final CompoundEnv<ClassSymbol, TypeBoundClass> env; 72 CompoundEnv<ClassSymbol, TypeBoundClass> env, in ConstBinder() 104 ImmutableList<TypeBoundClass.FieldInfo> fields = fields(base.fields()); in bind() 248 private ImmutableList<TypeBoundClass.FieldInfo> fields(ImmutableList<FieldInfo> fields) { in fields() 249 ImmutableList.Builder<TypeBoundClass.FieldInfo> result = ImmutableList.builder(); in fields() [all …]
|
D | Processing.java | 33 import com.google.turbine.binder.bound.TypeBoundClass; 34 import com.google.turbine.binder.bound.TypeBoundClass.FieldInfo; 112 CompoundEnv<ClassSymbol, TypeBoundClass> env = in process() 113 CompoundEnv.<ClassSymbol, TypeBoundClass>of(result.classPathEnv()).append(tenv); in process() 213 env = CompoundEnv.<ClassSymbol, TypeBoundClass>of(result.classPathEnv()).append(tenv); in process() 281 Env<ClassSymbol, TypeBoundClass> env, Iterable<ClassSymbol> syms) { in getAllAnnotations() 284 TypeBoundClass info = env.get(sym); in getAllAnnotations() 296 for (TypeBoundClass.MethodInfo method : info.methods()) { in getAllAnnotations() 300 for (TypeBoundClass.ParamInfo param : method.parameters()) { in getAllAnnotations() 317 Set<ClassSymbol> seen, ClassSymbol sym, Env<ClassSymbol, TypeBoundClass> env) { in inheritedAnnotations() [all …]
|
D | Resolve.java | 21 import com.google.turbine.binder.bound.TypeBoundClass; 22 import com.google.turbine.binder.bound.TypeBoundClass.FieldInfo; 153 Env<ClassSymbol, TypeBoundClass> env, ClassSymbol origin, ClassSymbol sym, Tree.Ident name) { 158 Env<ClassSymbol, TypeBoundClass> env, 167 TypeBoundClass info = env.get(sym);
|
D | Binder.java | 36 import com.google.turbine.binder.bound.TypeBoundClass; 37 import com.google.turbine.binder.bound.TypeBoundClass.FieldInfo; 153 CompoundEnv.<ClassSymbol, TypeBoundClass>of(classPathEnv).append(tenv), in bind() 157 syms, tenv, CompoundEnv.<ClassSymbol, TypeBoundClass>of(classPathEnv).append(tenv)); in bind() 160 syms, tenv, CompoundEnv.<ClassSymbol, TypeBoundClass>of(classPathEnv).append(tenv)); in bind() 165 CompoundEnv.<ClassSymbol, TypeBoundClass>of(classPathEnv).append(tenv), in bind() 301 Env<ClassSymbol, TypeBoundClass> tenv) { in canonicalizeTypes() 311 CompoundEnv<ClassSymbol, TypeBoundClass> env, in bindModules() 350 CompoundEnv<ClassSymbol, TypeBoundClass> baseEnv, in constants() 437 Env<ClassSymbol, TypeBoundClass> tenv) { in disambiguateTypeAnnotations()
|
D | ModuleBinder.java | 32 import com.google.turbine.binder.bound.TypeBoundClass; 62 CompoundEnv<ClassSymbol, TypeBoundClass> env, in bind() 70 private final CompoundEnv<ClassSymbol, TypeBoundClass> env; 78 CompoundEnv<ClassSymbol, TypeBoundClass> env, in ModuleBinder()
|
/external/turbine/java/com/google/turbine/deps/ |
D | Dependencies.java | 28 import com.google.turbine.binder.bound.TypeBoundClass; 29 import com.google.turbine.binder.bound.TypeBoundClass.FieldInfo; 30 import com.google.turbine.binder.bound.TypeBoundClass.MethodInfo; 90 Env<ClassSymbol, TypeBoundClass> env = in superTypeClosure() 91 CompoundEnv.<ClassSymbol, TypeBoundClass>of(new SimpleEnv<>(bound.units())) in superTypeClosure() 95 TypeBoundClass info = env.get(sym); in superTypeClosure() 147 Set<ClassSymbol> closure, Env<ClassSymbol, TypeBoundClass> env, ClassSymbol sym) { in addSuperTypes() 151 TypeBoundClass info = env.get(sym); in addSuperTypes() 159 Set<ClassSymbol> closure, Env<ClassSymbol, TypeBoundClass> env, TypeBoundClass info) { in addSuperTypes()
|
D | Transitive.java | 23 import com.google.turbine.binder.bound.TypeBoundClass; 103 Env<ClassSymbol, TypeBoundClass> env = in superClosure() 104 CompoundEnv.<ClassSymbol, TypeBoundClass>of(new SimpleEnv<>(bound.units())) in superClosure() 112 TypeBoundClass info = env.get(sym); in superClosure() 122 Set<ClassSymbol> closure, Env<ClassSymbol, TypeBoundClass> env, ClassSymbol sym) { in addSuperTypes() 126 TypeBoundClass info = env.get(sym); in addSuperTypes()
|
/external/turbine/java/com/google/turbine/processing/ |
D | TurbineElement.java | 31 import com.google.turbine.binder.bound.TypeBoundClass; 32 import com.google.turbine.binder.bound.TypeBoundClass.FieldInfo; 33 import com.google.turbine.binder.bound.TypeBoundClass.MethodInfo; 34 import com.google.turbine.binder.bound.TypeBoundClass.ParamInfo; 35 import com.google.turbine.binder.bound.TypeBoundClass.TyVarInfo; 132 TypeBoundClass info = factory.getSymbol(sym); in getAnnotation() 146 TypeBoundClass info = factory.getSymbol(sym); in getAnnotationsByType() 192 private final Supplier<TypeBoundClass> info; 199 new Supplier<TypeBoundClass>() { in TurbineTypeElement() 201 public TypeBoundClass get() { in TurbineTypeElement() [all …]
|
D | ClassHierarchy.java | 21 import com.google.turbine.binder.bound.TypeBoundClass; 42 private Env<ClassSymbol, ? extends TypeBoundClass> env; 44 ClassHierarchy(Env<ClassSymbol, ? extends TypeBoundClass> env) { in ClassHierarchy() 48 public void round(CompoundEnv<ClassSymbol, TypeBoundClass> env) { in round() 110 TypeBoundClass info = env.get(sym); in compute()
|
D | ModelFactory.java | 28 import com.google.turbine.binder.bound.TypeBoundClass; 29 import com.google.turbine.binder.bound.TypeBoundClass.FieldInfo; 30 import com.google.turbine.binder.bound.TypeBoundClass.MethodInfo; 31 import com.google.turbine.binder.bound.TypeBoundClass.ParamInfo; 32 import com.google.turbine.binder.bound.TypeBoundClass.TyVarInfo; 96 public Env<ClassSymbol, ? extends TypeBoundClass> env; 100 public void round(CompoundEnv<ClassSymbol, TypeBoundClass> env, TopLevelIndex tli) { in round() 124 Env<ClassSymbol, ? extends TypeBoundClass> env, in ModelFactory() 309 TypeBoundClass getSymbol(ClassSymbol sym) { in getSymbol() 314 TypeBoundClass info = getSymbol(method.owner()); in getMethodInfo() [all …]
|
D | TurbineMessager.java | 23 import com.google.turbine.binder.bound.TypeBoundClass; 24 import com.google.turbine.binder.bound.TypeBoundClass.MethodInfo; 25 import com.google.turbine.binder.bound.TypeBoundClass.TyVarInfo; 109 TypeBoundClass info = factory.getSymbol(encl); in getSource() 170 TypeBoundClass symbol = factory.getSymbol(owner); in classPosition() 184 TypeBoundClass cinfo = factory.getSymbol((ClassSymbol) owner); in tyParamPosition()
|
D | TurbineAnnotationProxy.java | 24 import com.google.turbine.binder.bound.TypeBoundClass; 92 for (TypeBoundClass.MethodInfo m : factory.getSymbol(anno.sym()).methods()) { in invoke()
|
/external/turbine/java/com/google/turbine/lower/ |
D | LowerSignature.java | 21 import com.google.turbine.binder.bound.TypeBoundClass; 22 import com.google.turbine.binder.bound.TypeBoundClass.TyVarInfo; 131 Env<ClassSymbol, TypeBoundClass> env, in methodSignature() 164 ClassSymbol sym, Env<ClassSymbol, TypeBoundClass> env, SourceTypeBoundClass.MethodInfo m) { in needsMethodSig() 199 public String classSignature(SourceTypeBoundClass info, Env<ClassSymbol, TypeBoundClass> env) { in classSignature() 263 Map<TyVarSymbol, TyVarInfo> px, Env<ClassSymbol, TypeBoundClass> env) { in tyParamSig() 272 TyVarSymbol sym, SourceTypeBoundClass.TyVarInfo info, Env<ClassSymbol, TypeBoundClass> env) { in tyParamSig() 298 private boolean isInterface(Type type, Env<ClassSymbol, TypeBoundClass> env) { in isInterface()
|
D | Lower.java | 36 import com.google.turbine.binder.bound.TypeBoundClass; 37 import com.google.turbine.binder.bound.TypeBoundClass.FieldInfo; 38 import com.google.turbine.binder.bound.TypeBoundClass.MethodInfo; 39 import com.google.turbine.binder.bound.TypeBoundClass.ParamInfo; 40 import com.google.turbine.binder.bound.TypeBoundClass.TyVarInfo; 117 CompoundEnv<ClassSymbol, TypeBoundClass> env = in lowerAll() 118 CompoundEnv.<ClassSymbol, TypeBoundClass>of(classpath).append(new SimpleEnv<>(units)); in lowerAll() 140 Env<ClassSymbol, TypeBoundClass> env, in lower() 148 CompoundEnv<ClassSymbol, TypeBoundClass> env, in lower() 154 private final Env<ClassSymbol, TypeBoundClass> env; [all …]
|
/external/turbine/javatests/com/google/turbine/binder/bytecode/ |
D | BytecodeBoundClassTest.java | 28 import com.google.turbine.binder.bound.TypeBoundClass; 29 import com.google.turbine.binder.bound.TypeBoundClass.FieldInfo; 30 import com.google.turbine.binder.bound.TypeBoundClass.MethodInfo; 58 TypeBoundClass noInterfaces = getBytecodeBoundClass(NoInterfaces.class); in interfaceTypes() 59 TypeBoundClass rawInterfaces = getBytecodeBoundClass(RawInterfaces.class); in interfaceTypes() 60 TypeBoundClass genericInterfaces = getBytecodeBoundClass(GenericInterfaces.class); in interfaceTypes()
|
/external/turbine/java/com/google/turbine/types/ |
D | Canonicalize.java | 21 import com.google.turbine.binder.bound.TypeBoundClass; 72 Env<ClassSymbol, TypeBoundClass> env, in canonicalize() 82 Env<ClassSymbol, TypeBoundClass> env, in canonicalizeClassTy() 90 private final Env<ClassSymbol, TypeBoundClass> env; 92 public Canonicalize(SourceFile source, int position, Env<ClassSymbol, TypeBoundClass> env) { in Canonicalize() 149 TypeBoundClass info = getInfo(s.sym()); in isRaw() 233 TypeBoundClass info = getInfo(curr.sym()); in canonOne() 388 private TypeBoundClass getInfo(ClassSymbol canonOwner) { in getInfo() 389 TypeBoundClass info = env.get(canonOwner); in getInfo()
|
/external/turbine/javatests/com/google/turbine/processing/ |
D | TurbineElementsGetAllMembersTest.java | 27 import com.google.turbine.binder.bound.TypeBoundClass; 275 Env<ClassSymbol, TypeBoundClass> env = in test() 276 CompoundEnv.<ClassSymbol, TypeBoundClass>of(bound.classPathEnv()) in test()
|
D | TurbineTypesFactoryTest.java | 25 import com.google.turbine.binder.bound.TypeBoundClass; 71 Env<ClassSymbol, TypeBoundClass> env = in setup() 72 CompoundEnv.<ClassSymbol, TypeBoundClass>of(bound.classPathEnv()) in setup()
|
D | TurbineAnnotationMirrorTest.java | 30 import com.google.turbine.binder.bound.TypeBoundClass; 210 Env<ClassSymbol, TypeBoundClass> env = 211 CompoundEnv.<ClassSymbol, TypeBoundClass>of(bound.classPathEnv())
|
D | TurbineAnnotationProxyTest.java | 30 import com.google.turbine.binder.bound.TypeBoundClass; 152 Env<ClassSymbol, TypeBoundClass> env = in test() 153 CompoundEnv.<ClassSymbol, TypeBoundClass>of(bound.classPathEnv()) in test()
|
D | TurbineElementsTest.java | 28 import com.google.turbine.binder.bound.TypeBoundClass; 134 Env<ClassSymbol, TypeBoundClass> env = in setup() 135 CompoundEnv.<ClassSymbol, TypeBoundClass>of(bound.classPathEnv()) in setup()
|
D | AbstractTurbineTypesTest.java | 37 import com.google.turbine.binder.bound.TypeBoundClass; 372 Env<ClassSymbol, TypeBoundClass> env = in typeParameters() 373 CompoundEnv.<ClassSymbol, TypeBoundClass>of(bound.classPathEnv()) in typeParameters()
|
/external/turbine/javatests/com/google/turbine/binder/ |
D | ClassPathBinderTest.java | 32 import com.google.turbine.binder.bound.TypeBoundClass; 80 TypeBoundClass c = env.get(new ClassSymbol("java/util/Map$Entry")); in classPathClasses() 101 TypeBoundClass c = env.get(new ClassSymbol("java/lang/annotation/Retention")); in interfaces() 118 TypeBoundClass c = env.get(new ClassSymbol("java/lang/annotation/Retention")); in annotations()
|