/openjdk7/langtools/test/tools/javac/processing/model/element/ |
H A D | TestAnonSourceNames.java | 44 Trees trees = Trees.instance(processingEnv); 47 TreePath treePath = trees.getPath(rootElement); 49 (new ClassTreeScanner(trees)). 50 scan(trees.getTree(rootElement), 58 private Trees trees; field in class:TestAnonSourceNames.ClassTreeScanner 60 public ClassTreeScanner(Trees trees) { argument 62 this.trees = trees; 66 Element element = trees.getElement(trees [all...] |
H A D | TestResourceElement.java | 45 Trees trees = Trees.instance(processingEnv); 48 TreePath treePath = trees.getPath(rootElement); 50 VariableScanner varScanner = new VariableScanner(trees); 51 varScanner.scan(trees.getTree(rootElement), 71 private Trees trees; field in class:TestResourceElement.VariableScanner 74 public VariableScanner(Trees trees) { argument 76 this.trees = trees; 82 trvElement = trees.getElement(trees [all...] |
H A D | TestResourceVariable.java | 56 Trees trees = Trees.instance(processingEnv); 59 TreePath treePath = trees.getPath(rootElement); 61 (new ResourceVariableScanner(trees)). 62 scan(trees.getTree(rootElement), 111 private Trees trees; field in class:TestResourceVariable.ResourceVariableScanner 113 public ResourceVariableScanner(Trees trees) { argument 115 this.trees = trees; 119 Element element = trees.getElement(trees [all...] |
/openjdk7/langtools/test/tools/javac/ |
H A D | T6472751.java | 55 static Trees trees; field in class:T6472751 60 trees = Trees.instance(task); 61 positions = trees.getSourcePositions();
|
H A D | T6855236.java | 44 private Trees trees; field in class:T6855236 49 trees = Trees.instance(pe); 58 TreePath tp = trees.getPath(e); 59 visitor.scan(tp, trees);
|
H A D | T6397044.java | 49 Iterable<? extends CompilationUnitTree> trees = task.parse(); 51 for (CompilationUnitTree tree: trees) 73 void check(List<? extends Tree> trees) { argument 74 if (trees == null) 76 for (Tree tree: trees)
|
/openjdk7/langtools/test/tools/javac/api/6471599/ |
H A D | Main.java | 57 static Trees trees; field in class:Main 61 trees = Trees.instance(task); 73 if (trees.getTypeMirror(path).getKind() == TypeKind.ERROR)
|
/openjdk7/langtools/test/tools/javac/api/6557752/ |
H A D | T6557752.java | 70 static Trees trees; field in class:T6557752 77 trees = Trees.instance(task); 96 TypeMirror typeMirror = trees.getTypeMirror(path); 99 String str1 = trees.getOriginalType((ErrorType)typeMirror).toString(); 106 str1 = types.asElement(trees.getOriginalType((ErrorType)typeMirror)).toString(); 114 String str1 = trees.getOriginalType((ErrorType)typeMirror).toString(); 121 str1 = types.asElement(trees.getOriginalType((ErrorType)typeMirror)).toString();
|
/openjdk7/langtools/test/tools/javac/api/ |
H A D | TestTreePath.java | 53 final Trees trees = Trees.instance(this.processingEnv); 55 checkTreePath(trees, element, 2); 57 checkTreePath(trees, member, 3); 62 private void checkTreePath(Trees trees, Element element, int expectedLength) { argument 63 TreePath path = trees.getPath(element);
|
H A D | TestDocComments.java | 62 Trees trees = Trees.instance(task); 65 int n = s.scan(units, trees); 83 public Integer visitClass(ClassTree t, Trees trees) { argument 84 return reduce(super.visitClass(t, trees), 85 check(trees, "class-" + t.getSimpleName() + ".")); 92 public Integer visitMethod(MethodTree t, Trees trees) { argument 93 return reduce(super.visitMethod(t, trees), 94 check(trees, "method-" + t.getName() + ".")); 101 public Integer visitVariable(VariableTree t, Trees trees) { argument 104 ? check(trees, "fiel 120 check(Trees trees, String expect) argument [all...] |
H A D | TestGetElement.java | 104 Trees trees = Trees.instance(processingEnv); 105 Scanner scanner = new Scanner(trees, _last); 108 nelems += scanner.scan(trees.getPath(e), test); 126 final Trees trees; field in class:TestGetElement.Scanner 130 Scanner(Trees trees, boolean last) { argument 131 this.trees = trees; 166 Element e = trees.getElement(p);
|
H A D | TestTrees.java | 98 void testElement(Trees trees, Element e) { argument 99 trees.getClass(); 103 Tree tree = trees.getTree(e); 109 TreePath path = trees.getPath(e); 117 Element e2 = trees.getElement(path); 127 TypeMirror t = trees.getTypeMirror(path); 133 testAnnotation(trees, e, m); 137 void testAnnotation(Trees trees, Element e, AnnotationMirror a) { argument 139 Tree tree = trees.getTree(e, a); 144 TreePath path = trees [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/javadoc/ |
H A D | JavadocEnter.java | 68 public void main(List<JCCompilationUnit> trees) { argument 71 super.main(trees);
|
/openjdk7/jdk/test/java/rmi/reliability/benchmark/bench/serial/ |
H A D | SmallObjTrees.java | 63 Node[] trees = genTrees(depth, ncycles); 70 doReps(oout, oin, sbuf, trees, 1); // warmup 73 doReps(oout, oin, sbuf, trees, nbatches); 78 * Generate object trees. 81 Node[] trees = new Node[ntrees]; 83 trees[i] = new Node(null, depth); 85 return trees; 93 StreamBuffer sbuf, Node[] trees, int nbatches) 96 int ncycles = trees.length; 101 oout.writeObject(trees[ 92 doReps(ObjectOutputStream oout, ObjectInputStream oin, StreamBuffer sbuf, Node[] trees, int nbatches) argument [all...] |
H A D | ObjTrees.java | 72 Node[] trees = genTrees(depth, ncycles); 79 doReps(oout, oin, sbuf, trees, 1); // warmup 82 doReps(oout, oin, sbuf, trees, nbatches); 87 * Generate object trees. 90 Node[] trees = new Node[ntrees]; 92 trees[i] = new Node(null, depth); 94 return trees; 102 StreamBuffer sbuf, Node[] trees, int nbatches) 105 int ncycles = trees.length; 110 oout.writeObject(trees[ 101 doReps(ObjectOutputStream oout, ObjectInputStream oin, StreamBuffer sbuf, Node[] trees, int nbatches) argument [all...] |
H A D | ReplaceTrees.java | 88 Node[] trees = genTrees(depth, ncycles); 95 doReps(oout, oin, sbuf, trees, 1); // warmup 98 doReps(oout, oin, sbuf, trees, nbatches); 103 * Generate object trees. 106 Node[] trees = new Node[ntrees]; 108 trees[i] = new Node(null, depth); 110 return trees; 118 StreamBuffer sbuf, Node[] trees, int nbatches) 121 int ncycles = trees.length; 126 oout.writeObject(trees[ 117 doReps(ObjectOutputStream oout, ObjectInputStream oin, StreamBuffer sbuf, Node[] trees, int nbatches) argument [all...] |
H A D | CustomDefaultObjTrees.java | 85 Node[] trees = genTrees(depth, ncycles); 92 doReps(oout, oin, sbuf, trees, 1); // warmup 95 doReps(oout, oin, sbuf, trees, nbatches); 100 * Generate object trees. 103 Node[] trees = new Node[ntrees]; 105 trees[i] = new Node(null, depth); 107 return trees; 115 StreamBuffer sbuf, Node[] trees, int nbatches) 118 int ncycles = trees.length; 123 oout.writeObject(trees[ 114 doReps(ObjectOutputStream oout, ObjectInputStream oin, StreamBuffer sbuf, Node[] trees, int nbatches) argument [all...] |
H A D | CustomObjTrees.java | 106 Node[] trees = genTrees(depth, ncycles); 113 doReps(oout, oin, sbuf, trees, 1); // warmup 116 doReps(oout, oin, sbuf, trees, nbatches); 121 * Generate object trees. 124 Node[] trees = new Node[ntrees]; 126 trees[i] = new Node(null, depth); 128 return trees; 136 StreamBuffer sbuf, Node[] trees, int nbatches) 139 int ncycles = trees.length; 144 oout.writeObject(trees[ 135 doReps(ObjectOutputStream oout, ObjectInputStream oin, StreamBuffer sbuf, Node[] trees, int nbatches) argument [all...] |
H A D | ExternObjTrees.java | 111 Node[] trees = genTrees(depth, ncycles); 118 doReps(oout, oin, sbuf, trees, 1); // warmup 121 doReps(oout, oin, sbuf, trees, nbatches); 126 * Generate object trees. 129 Node[] trees = new Node[ntrees]; 131 trees[i] = new Node(null, depth); 133 return trees; 141 StreamBuffer sbuf, Node[] trees, int nbatches) 144 int ncycles = trees.length; 149 oout.writeObject(trees[ 140 doReps(ObjectOutputStream oout, ObjectInputStream oin, StreamBuffer sbuf, Node[] trees, int nbatches) argument [all...] |
H A D | GetPutFieldTrees.java | 110 Node[] trees = genTrees(depth, ncycles); 117 doReps(oout, oin, sbuf, trees, 1); // warmup 120 doReps(oout, oin, sbuf, trees, nbatches); 125 * Generate object trees. 128 Node[] trees = new Node[ntrees]; 130 trees[i] = new Node(null, depth); 132 return trees; 140 StreamBuffer sbuf, Node[] trees, int nbatches) 143 int ncycles = trees.length; 148 oout.writeObject(trees[ 139 doReps(ObjectOutputStream oout, ObjectInputStream oin, StreamBuffer sbuf, Node[] trees, int nbatches) argument [all...] |
/openjdk7/langtools/test/tools/javac/multicatch/model/ |
H A D | ModelChecker.java | 59 Trees trees = Trees.instance(processingEnv); 63 TreePath p = trees.getPath(elem); 64 new MulticatchParamTester(trees).scan(p, null); 70 Trees trees; field in class:ModelChecker.MulticatchParamTester 72 public MulticatchParamTester(Trees trees) { argument 74 this.trees = trees; 80 Element ex = trees.getElement(param); 84 for (Element e : types.asElement(trees.getLub(node)).getEnclosedElements()) {
|
/openjdk7/langtools/test/tools/javac/6402516/ |
H A D | Checker.java | 38 * -- scan trees looking for string literals 64 throw new AssertionError("errors occurred creating trees"); 136 public Boolean visitLiteral(LiteralTree tree, Trees trees) { argument 140 // long line = lineMap.getLineNumber(((JCTree)tree).pos/*trees.getSourcePositions().getStartPosition(tree)*/); 142 Scope s = trees.getScope(path);
|
/openjdk7/langtools/test/tools/javac/T6956462/ |
H A D | T6956462.java | 59 private final Trees trees; field in class:T6956462.MyVisitor 63 this.trees = Trees.instance(javac); 104 trees.getScope(trees.getPath(file, ident));
|
/openjdk7/langtools/test/tools/javac/tree/ |
H A D | TreePosRoundsTest.java | 73 Trees trees; field in class:TreePosRoundsTest 85 trees = Trees.instance(pEnv); 94 // Scan trees for elements, verifying source tree positions 97 TreePath p = trees.getPath(e); 98 new TestTreeScanner(p.getCompilationUnit(), trees).scan(trees.getPath(e), null); 134 TestTreeScanner(CompilationUnitTree unit, Trees trees) throws IOException { argument 138 sourcePositions = trees.getSourcePositions();
|
/openjdk7/jdk/src/share/classes/sun/security/x509/ |
H A D | GeneralSubtrees.java | 49 private final List<GeneralSubtree> trees; field in class:GeneralSubtrees 62 trees = new ArrayList<GeneralSubtree>(); 66 trees = new ArrayList<GeneralSubtree>(source.trees); 87 return trees.get(index); 91 trees.remove(index); 98 trees.add(tree); 105 return trees.contains(tree); 109 return trees.size(); 113 return trees 116 public List<GeneralSubtree> trees() { method in class:GeneralSubtrees [all...] |