/external/turbine/java/com/google/turbine/type/ |
H A D | Type.java | 128 private final ImmutableList<AnnoInfo> annos; field in class:Type.ClassTy.SimpleClassTy 131 ClassSymbol sym, ImmutableList<Type> targs, ImmutableList<AnnoInfo> annos) { 136 this.annos = annos; 150 public ImmutableList<AnnoInfo> annos() { method in class:Type.ClassTy.SimpleClassTy 151 return annos; 160 private final ImmutableList<AnnoInfo> annos; field in class:Type.ArrayTy 162 public ArrayTy(Type elem, ImmutableList<AnnoInfo> annos) { argument 164 this.annos = annos; 130 SimpleClassTy( ClassSymbol sym, ImmutableList<Type> targs, ImmutableList<AnnoInfo> annos) argument 178 public ImmutableList<AnnoInfo> annos() { method in class:Type.ArrayTy 187 private final ImmutableList<AnnoInfo> annos; field in class:Type.TyVar 189 TyVar(TyVarSymbol sym, ImmutableList<AnnoInfo> annos) argument 210 public ImmutableList<AnnoInfo> annos() { method in class:Type.TyVar 219 private final ImmutableList<AnnoInfo> annos; field in class:Type.PrimTy 221 PrimTy(TurbineConstantTypeKind tykind, ImmutableList<AnnoInfo> annos) argument 237 public ImmutableList<AnnoInfo> annos() { method in class:Type.PrimTy [all...] |
/external/turbine/java/com/google/turbine/parse/ |
H A D | Parser.java | 91 ImmutableList.Builder<Anno> annos = ImmutableList.builder(); 97 pkg = Optional.of(packageDeclaration(annos.build())); 98 annos = ImmutableList.builder(); 143 decls.add(annotationDeclaration(access, annos.build())); 145 annos = ImmutableList.builder(); 147 annos.add(annotation()); 152 decls.add(classDeclaration(access, annos.build())); 154 annos = ImmutableList.builder(); 157 decls.add(interfaceDeclaration(access, annos.build())); 159 annos 184 interfaceDeclaration(EnumSet<TurbineModifier> access, ImmutableList<Anno> annos) argument 215 annotationDeclaration(EnumSet<TurbineModifier> access, ImmutableList<Anno> annos) argument 233 enumDeclaration(EnumSet<TurbineModifier> access, ImmutableList<Anno> annos) argument 317 classDeclaration(EnumSet<TurbineModifier> access, ImmutableList<Anno> annos) argument 465 classMember( EnumSet<TurbineModifier> access, ImmutableList<Anno> annos) argument 603 memberRest( int pos, EnumSet<TurbineModifier> access, ImmutableList<Anno> annos, ImmutableList<TyParam> typaram, Type result, String name) argument 628 fieldRest( int pos, EnumSet<TurbineModifier> access, ImmutableList<Anno> annos, Type baseTy, String name) argument 661 methodRest( int pos, EnumSet<TurbineModifier> access, ImmutableList<Anno> annos, ImmutableList<TyParam> typaram, Type result, String name) argument 1036 modifiersAndAnnotations(ImmutableList.Builder<Anno> annos) argument 1119 packageDeclaration(ImmutableList<Anno> annos) argument [all...] |
/external/turbine/java/com/google/turbine/tree/ |
H A D | Tree.java | 79 private final ImmutableList<Anno> annos; field in class:Tree.Type 81 public Type(int position, ImmutableList<Anno> annos) { argument 83 this.annos = annos; 86 public ImmutableList<Anno> annos() { method in class:Tree.Type 87 return annos; 104 int position, ImmutableList<Anno> annos, Optional<Type> upper, Optional<Type> lower) { 105 super(position, annos); 143 public ArrTy(int position, ImmutableList<Anno> annos, Type elem) { argument 144 super(position, annos); 103 WildTy( int position, ImmutableList<Anno> annos, Optional<Type> upper, Optional<Type> lower) argument 172 PrimTy(int position, ImmutableList<Anno> annos, TurbineConstantTypeKind tykind) argument 217 ClassTy( int position, Optional<ClassTy> base, String name, ImmutableList<Type> tyargs, ImmutableList<Anno> annos) argument 612 private final ImmutableList<Anno> annos; field in class:Tree.VarDecl 617 VarDecl( int position, Set<TurbineModifier> mods, ImmutableList<Anno> annos, Tree ty, String name, Optional<Expression> init) argument 646 public ImmutableList<Anno> annos() { method in class:Tree.VarDecl 666 private final ImmutableList<Anno> annos; field in class:Tree.MethDecl 674 MethDecl( int position, Set<TurbineModifier> mods, ImmutableList<Anno> annos, ImmutableList<TyParam> typarams, Optional<Tree> ret, String name, ImmutableList<VarDecl> params, ImmutableList<ClassTy> exntys, Optional<Tree> defaultValue) argument 709 public ImmutableList<Anno> annos() { method in class:Tree.MethDecl 800 private final ImmutableList<Anno> annos; field in class:Tree.TyDecl 808 TyDecl( int position, Set<TurbineModifier> mods, ImmutableList<Anno> annos, String name, ImmutableList<TyParam> typarams, Optional<ClassTy> xtnds, ImmutableList<ClassTy> impls, ImmutableList<Tree> members, TurbineTyKind tykind) argument 843 public ImmutableList<Anno> annos() { method in class:Tree.TyDecl 876 private final ImmutableList<Anno> annos; field in class:Tree.TyParam 878 TyParam( int position, String name, ImmutableList<Tree> bounds, ImmutableList<Anno> annos) argument 904 public ImmutableList<Anno> annos() { method in class:Tree.TyParam 912 private final ImmutableList<Anno> annos; field in class:Tree.PkgDecl 914 PkgDecl(int position, ImmutableList<String> name, ImmutableList<Anno> annos) argument 934 public ImmutableList<Anno> annos() { method in class:Tree.PkgDecl [all...] |
H A D | Pretty.java | 77 printAnnos(wildTy.annos()); 93 if (!arrTy.annos().isEmpty()) { 95 printAnnos(arrTy.annos()); 119 printAnnos(classTy.annos()); 269 printAnnos(varDecl.annos()); 279 private void printAnnos(ImmutableList<Anno> annos) { argument 280 for (Tree.Anno anno : annos) { 288 for (Tree.Anno anno : methDecl.annos()) { 366 for (Tree.Anno anno : tyDecl.annos()) { 493 printAnnos(tyParam.annos()); [all...] |
/external/annotation-tools/annotation-file-utilities/tests/system-test/ |
H A D | Makefile | 41 diff -u expected-annos.jaif out2.jaif > out2.diff 56 CLASSPATH=`pwd`/out1 ${ANNCAT} --index expected-annos.jaif --out --class out3/annotations/tests/AnnotationTest.class --to out4.class 67 diff -u expected-annos.jaif out5.jaif > out5.diff
|
/external/turbine/java/com/google/turbine/types/ |
H A D | Erasure.java | 58 return new Type.ArrayTy(erase(ty.elementType(), tenv), ty.annos()); 67 classes.add(new Type.ClassTy.SimpleClassTy(c.sym(), ImmutableList.of(), c.annos()));
|
H A D | Canonicalize.java | 77 return new Type.ArrayTy(canonicalize(env, base, arrayTy.elementType()), arrayTy.annos()); 267 return new ArrayTy(elem, arrayTy.annos()); 299 simples.add(new SimpleClassTy(simple.sym(), args.build(), simple.annos())); 321 args.add(new ClassTy.SimpleClassTy(s.sym(), canonicalize(s.targs(), base, env), s.annos()));
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/ |
H A D | RobolectricTestRunner.java | 453 Annotation[] annos = method.getDeclaringClass().getAnnotations(); 454 strictI18n = lookForI18nAnnotations(strictI18n, annos); 457 annos = method.getAnnotations(); 458 strictI18n = lookForI18nAnnotations(strictI18n, annos); 484 * @param annos 487 private boolean lookForI18nAnnotations(boolean strictI18n, Annotation[] annos) { argument 488 for ( int i = 0; i < annos.length; i++ ) { 489 String name = annos[i].annotationType().getName(); 506 Annotation[] annos = method.getDeclaredAnnotations(); 507 for( Annotation anno: annos ){ [all...] |
/external/turbine/java/com/google/turbine/binder/ |
H A D | ConstBinder.java | 79 ImmutableList<AnnoInfo> annos = 98 bindAnnotationMetadata(base.kind(), annos), 99 annos, 140 ImmutableList<AnnoInfo> annos = constEvaluator.evaluateAnnotations(base.annotations()); 141 return new ParamInfo(bindType(base.type()), base.name(), annos, base.access()); 297 return new TyVar(tyVar.sym(), constEvaluator.evaluateAnnotations(tyVar.annos())); 303 bindType(arrayTy.elementType()), constEvaluator.evaluateAnnotations(arrayTy.annos())); 336 c.sym(), bindTypes(c.targs()), constEvaluator.evaluateAnnotations(c.annos())));
|
H A D | DisambiguateTypeAnnotations.java | 196 return new Type.PrimTy(primTy.primkind(), appendAnnotations(primTy.annos(), extra)); 201 new SimpleClassTy(base.sym(), base.targs(), appendAnnotations(base.annos(), extra)); 209 return new ArrayTy(addAnnotationsToType(arrayTy.elementType(), extra), arrayTy.annos()); 212 return new Type.TyVar(tyVar.sym(), appendAnnotations(tyVar.annos(), extra)); 223 ImmutableList<AnnoInfo> annos, ImmutableList<AnnoInfo> extra) { 224 return ImmutableList.<AnnoInfo>builder().addAll(annos).addAll(extra).build(); 222 appendAnnotations( ImmutableList<AnnoInfo> annos, ImmutableList<AnnoInfo> extra) argument
|
H A D | TypeBinder.java | 160 ImmutableList<AnnoInfo> annotations = bindAnnotations(enclosingScope, base.decl().annos()); 390 ImmutableList<AnnoInfo> annotations = bindAnnotations(scope, tree.annos()); 458 bindAnnotations(scope, p.annos()), /*synthetic*/ 500 ImmutableList<AnnoInfo> annotations = bindAnnotations(scope, t.annos()); 538 ImmutableList<AnnoInfo> annotations = bindAnnotations(scope, decl.annos()); 631 ImmutableList<AnnoInfo> annos = bindAnnotations(scope, flat.get(annoIdx).annos()); 635 return bindClassTyRest(scope, flat, names, result, (ClassSymbol) sym, annos); 640 return new Type.TyVar((TyVarSymbol) sym, annos); 664 annotations = bindAnnotations(scope, curr.annos()); [all...] |
H A D | CompUnitPreprocessor.java | 95 if (!unit.pkg().get().annos().isEmpty()) { 196 pkgDecl.annos(),
|
/external/turbine/javatests/com/google/turbine/lower/ |
H A D | IntegrationTestSupport.java | 245 for (List<AnnotationNode> annos : parameters) { 246 sortAnnotations(annos); 250 private static void sortTypeAnnotations(List<TypeAnnotationNode> annos) { argument 251 if (annos == null) { 254 annos.sort( 261 private static void sortAnnotations(List<AnnotationNode> annos) { argument 262 if (annos == null) { 265 annos.sort( 334 for (List<AnnotationNode> annos : parameterAnnotations) { 335 addTypesInAnnotations(types, annos); 339 addTypesInTypeAnnotations(Set<String> types, List<TypeAnnotationNode> annos) argument 346 addTypesInAnnotations(Set<String> types, List<AnnotationNode> annos) argument [all...] |
/external/tensorflow/tensorflow/contrib/py2tf/converters/ |
H A D | for_loops.py | 28 from tensorflow.contrib.py2tf.pyct.static_analysis.annos import NodeAnno
|
H A D | break_statements.py | 26 from tensorflow.contrib.py2tf.pyct.static_analysis.annos import NodeAnno
|
H A D | continue_statements.py | 24 from tensorflow.contrib.py2tf.pyct.static_analysis.annos import NodeAnno
|
H A D | side_effect_guards.py | 44 from tensorflow.contrib.py2tf.pyct.static_analysis.annos import NodeAnno
|
H A D | control_flow.py | 27 from tensorflow.contrib.py2tf.pyct.static_analysis.annos import NodeAnno
|
/external/annotation-tools/annotation-file-utilities/src/annotator/find/ |
H A D | Insertion.java | 406 String annos = 411 decorateType(astPath, annos, outerType, outerPath); 477 type.addAnnotation(annos); 485 String annos, Type type, ASTPath outerPath) { 486 // type.addAnnotation(annos); // TODO 552 type.addAnnotation(annos); 484 decorateType(ASTPath astPath, String annos, Type type, ASTPath outerPath) argument
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/bytecode/ |
H A D | ShadowWrangler.java | 318 Annotation[] annos = method.getAnnotations(); 319 for (int i = 0; i < annos.length; i++) { 320 String name = annos[i].annotationType().getName(); 323 Method m = (annos[i]).getClass().getMethod("i18nSafe"); 324 return (Boolean) m.invoke(annos[i]);
|
/external/annotation-tools/scene-lib/src/annotations/io/ |
H A D | IndexFileWriter.java | 82 Collection<Annotation> annos) { 84 for (Annotation a : annos) { 153 private void printAnnotations(Collection<? extends Annotation> annos) { argument 154 for (Annotation tla : annos) { 81 requiredMetaannotations( Collection<Annotation> annos) argument
|
/external/tensorflow/tensorflow/contrib/py2tf/pyct/static_analysis/ |
H A D | live_values.py | 30 from tensorflow.contrib.py2tf.pyct.static_analysis.annos import NodeAnno
|
H A D | activity.py | 27 from tensorflow.contrib.py2tf.pyct.static_analysis.annos import NodeAnno
|
H A D | activity_test.py | 29 from tensorflow.contrib.py2tf.pyct.static_analysis.annos import NodeAnno
|
/external/turbine/java/com/google/turbine/lower/ |
H A D | Lower.java | 609 lowerTypeAnnotations(((TyVar) type).annos(), path); 621 lowerTypeAnnotations(((Type.PrimTy) type).annos(), path); 631 private void lowerTypeAnnotations(ImmutableList<AnnoInfo> annos, TypePath path) { argument 632 for (AnnoInfo anno : groupRepeated(env, annos)) { 665 lowerTypeAnnotations(arrayTy.annos(), path); 673 lowerTypeAnnotations(simple.annos(), path);
|