Searched refs:nonEmpty (Results 1 - 25 of 45) sorted by relevance

12

/openjdk7/langtools/src/share/classes/com/sun/tools/javac/tree/
H A DPretty.java185 if (trees.nonEmpty()) {
187 for (List<T> l = trees.tail; l.nonEmpty(); l = l.tail) {
203 for (List<? extends JCTree> l = trees; l.nonEmpty(); l = l.tail) {
220 for (List<JCAnnotation> l = trees; l.nonEmpty(); l = l.tail) {
260 if (trees.nonEmpty()) {
286 for (List<JCTree> l = stats; l.nonEmpty(); l = l.tail) {
299 for (List<JCTree> l = stats; l.nonEmpty(); l = l.tail) {
334 l.nonEmpty() && (cdef == null || l.head.getTag() == JCTree.IMPORT);
408 if (tree.implementing.nonEmpty()) {
422 if (tree.implementing.nonEmpty()) {
[all...]
H A DTreeTranslator.java69 for (List<T> l = trees; l.nonEmpty(); l = l.tail)
77 for (List<JCVariableDecl> l = trees; l.nonEmpty(); l = l.tail)
85 for (List<JCTypeParameter> l = trees; l.nonEmpty(); l = l.tail)
93 for (List<JCCase> l = trees; l.nonEmpty(); l = l.tail)
101 for (List<JCCatch> l = trees; l.nonEmpty(); l = l.tail)
109 for (List<JCAnnotation> l = trees; l.nonEmpty(); l = l.tail)
H A DTreeInfo.java116 for (List<JCTree> l = trees; l.nonEmpty(); l = l.tail)
202 while (stats.nonEmpty() && isSyntheticInit(stats.head))
241 if (tree.getTag() == JCTree.BLOCK && ((JCBlock) tree).stats.nonEmpty())
308 if (node.typarams.nonEmpty()) // List.nil() used for no typarams
339 if (node.errs != null && node.errs.nonEmpty())
428 if (node.errs != null && node.errs.nonEmpty())
590 for (List<? extends JCTree> l = trees; l.nonEmpty(); l = l.tail)
/openjdk7/langtools/src/share/classes/com/sun/tools/javadoc/
H A DWildcardTypeImpl.java105 if (bounds.nonEmpty()) {
109 if (bounds.nonEmpty()) {
H A DExecutableMemberDocImpl.java231 for (List<Type> types = sym.type.getParameterTypes(); types.nonEmpty(); ) {
235 if (types.nonEmpty()) {
H A DTypeVariableImpl.java104 if (bounds.nonEmpty()) {
/openjdk7/langtools/test/tools/javac/generics/odersky/
H A DList.java93 public boolean nonEmpty() { method in class:List
129 for (List<A> l = this; l.nonEmpty(); l = l.tail)
154 while (l.nonEmpty() && i < vec.length) {
170 for (List<A> l = tail; l.nonEmpty(); l = l.tail) {
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/comp/
H A DFlow.java454 for (; exits.nonEmpty(); exits = exits.tail) {
473 for (; exits.nonEmpty(); exits = exits.tail) {
541 for (List<? extends JCStatement> l = trees; l.nonEmpty(); l = l.tail)
559 for (List<? extends JCExpression> l = trees; l.nonEmpty(); l = l.tail)
617 for (List<JCTree> l = tree.defs; l.nonEmpty(); l = l.tail) {
629 for (List<JCTree> l = tree.defs; l.nonEmpty(); l = l.tail) {
641 for (List<JCTree> l = tree.defs; l.nonEmpty(); l = l.tail) {
656 for (List<JCTree> l = tree.defs; l.nonEmpty(); l = l.tail) {
668 for (List<JCTree> l = tree.defs; l.nonEmpty(); l = l.tail) {
683 for (List<JCTree> l = tree.defs; l.nonEmpty();
[all...]
H A DAnnotate.java108 while (q.nonEmpty())
158 for (List<JCExpression> tl = args; tl.nonEmpty(); tl = tl.tail) {
242 for (List<JCExpression> l = na.elems; l.nonEmpty(); l=l.tail) {
H A DCheck.java576 while (args.nonEmpty()) {
631 for (List<Type> l = types; l.nonEmpty(); l = l.tail) {
694 tree.typeargs.nonEmpty()) {
780 while (args.nonEmpty() && forms.nonEmpty()) {
794 while (args.nonEmpty() && tvars_cap.nonEmpty()) {
804 while (args.nonEmpty() && bounds.nonEmpty()) {
1044 for (List<? extends JCTree> l = trees; l.nonEmpty();
[all...]
H A DMemberEnter.java363 for (List<JCVariableDecl> l = params; l.nonEmpty(); l = l.tail) {
373 for (List<JCExpression> l = thrown; l.nonEmpty(); l = l.tail) {
412 for (List<? extends JCTree> l = trees; l.nonEmpty(); l = l.tail)
586 for (List<JCVariableDecl> l = tree.params; l.nonEmpty(); l = l.tail) {
699 for (List<JCTypeParameter> l = tree.typarams; l.nonEmpty(); l = l.tail)
701 for (List<JCVariableDecl> l = tree.params; l.nonEmpty(); l = l.tail)
746 s.attributes_field.nonEmpty() &&
747 annotations.nonEmpty())
764 for (List<JCAnnotation> al = annotations; al.nonEmpty(); al = al.tail) {
781 for (List<JCAnnotation> al = annotations; al.nonEmpty(); a
[all...]
H A DInfer.java308 for (List<Type> l = undetvars; l.nonEmpty(); l = l.tail) {
317 if (inst.nonEmpty() && inst.head.tag != BOT) {
329 for (List<Type> l = undetvars; l.nonEmpty(); l = l.tail)
393 while (actuals.nonEmpty() && formals.head != varargsFormal) {
420 while (actuals.nonEmpty()) {
593 for (List<Type> l = tvars; l.nonEmpty(); l = l.tail)
606 tvs.nonEmpty();
H A DAttr.java487 for (List<JCExpression> l = trees; l.nonEmpty(); l = l.tail)
495 for (List<T> l = trees; l.nonEmpty(); l = l.tail)
503 for (List<JCExpression> l = trees; l.nonEmpty(); l = l.tail)
514 for (List<JCExpression> l = trees; l.nonEmpty(); l = l.tail)
573 for (List<JCAnnotation> al = annotations; al.nonEmpty(); al = al.tail) {
741 for (List<JCTypeParameter> l = tree.typarams; l.nonEmpty(); l = l.tail)
746 tree.params.nonEmpty())
751 for (List<JCVariableDecl> l = tree.params; l.nonEmpty(); l = l.tail) {
766 if (tree.thrown.nonEmpty()) {
771 if (tree.typarams.nonEmpty()) {
[all...]
H A DResolve.java348 if (mt.tag != FORALL && typeargtypes.nonEmpty()) {
351 } else if (mt.tag == FORALL && typeargtypes.nonEmpty()) {
358 while (formals.nonEmpty() && actuals.nonEmpty()) {
361 for (; bounds.nonEmpty(); bounds = bounds.tail)
376 boolean instNeeded = tvars.tail != null || /*inlined: tvars.nonEmpty()*/
379 l.tail != null/*inlined: l.nonEmpty()*/ && !instNeeded;
446 while (argtypes.nonEmpty() && formals.head != varargsFormal) {
463 while (argtypes.nonEmpty()) {
557 bestSoFar.kind != AMBIGUOUS && l.nonEmpty();
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DListBuffer.java99 public boolean nonEmpty() { method in class:ListBuffer
141 while (xs.nonEmpty()) {
H A DList.java144 public boolean nonEmpty() { method in class:List
190 while (rev.nonEmpty()) {
209 for (List<A> l = this; l.nonEmpty(); l = l.tail)
244 while (l.nonEmpty() && i < vec.length) {
271 for (List<A> l = tail; l.nonEmpty(); l = l.tail) {
H A DJavacMessages.java187 for (List<ResourceBundle> l = bundles; l.nonEmpty() && msg == null; l = l.tail) {
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/code/
H A DPrinter.java192 if (t.getTypeArguments().nonEmpty()) {
251 for (List<Type> is = t.interfaces_field; is.nonEmpty(); is = is.tail) {
261 } else if (norm.interfaces_field.nonEmpty()) {
290 while (args.tail.nonEmpty()) {
H A DType.java145 if (ts.nonEmpty()) {
183 if (ts.nonEmpty()) {
213 for (List<Type> l = ts.tail; l.nonEmpty(); l = l.tail)
267 while (args.tail.nonEmpty()) {
307 for (List<Type> l = ts; l.nonEmpty(); l = l.tail)
362 l.tail != null /*inlined: l.nonEmpty()*/;
611 if (getTypeArguments().nonEmpty()) {
622 for (List<Type> is=interfaces_field; is.nonEmpty(); is = is.tail) {
632 } else if (norm.interfaces_field != null && norm.interfaces_field.nonEmpty()) {
686 // optimization, was: allparams().nonEmpty();
[all...]
H A DTypes.java187 while (parms.nonEmpty()) {
243 l.nonEmpty(); l = l.tail)
246 if (openVars.nonEmpty()) {
254 for (List<Type> iter = opens; iter.nonEmpty(); iter = iter.tail) {
532 for (List<Type> l = ts; l.nonEmpty(); l = l.tail)
544 /*inlined: ts.nonEmpty() && ss.nonEmpty()*/ &&
560 /*inlined: ts.nonEmpty() && ss.nonEmpty()*/ &&
602 /*inlined: ts.nonEmpty()
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/jvm/
H A DCRTable.java94 for (List<CRTEntry> l = entries.toList(); l.nonEmpty(); l = l.tail) {
208 if ((trees == null) || !(trees.nonEmpty())) return null;
210 for (List<? extends JCTree> l = trees; l.nonEmpty(); l = l.tail) {
221 if ((trees == null) || !(trees.nonEmpty())) return null;
223 for (List<JCCase> l = trees; l.nonEmpty(); l = l.tail) {
234 if ((trees == null) || !(trees.nonEmpty())) return null;
236 for (List<JCCatch> l = trees; l.nonEmpty(); l = l.tail) {
H A DClassWriter.java315 for (List<Type> l = mt.thrown; l.nonEmpty(); l = l.tail) {
362 while (l.nonEmpty()) {
374 if (outer.allparams().nonEmpty()) {
389 if (ct.getTypeArguments().nonEmpty()) {
398 for (List<Type> ts = types; ts.nonEmpty(); ts = ts.tail)
404 for (List<Type> ts = typarams; ts.nonEmpty(); ts = ts.tail) {
411 for (List<Type> l = bounds; l.nonEmpty(); l = l.tail) {
888 l.nonEmpty();
952 if (thrown.nonEmpty()) {
955 for (List<Type> l = thrown; l.nonEmpty();
[all...]
H A DGen.java315 for (List<Type> args = t.getParameterTypes(); args.nonEmpty(); args = args.tail)
460 for (List<JCTree> l = defs; l.nonEmpty(); l = l.tail) {
557 if (stats.nonEmpty()) {
568 while (stats.nonEmpty() &&
576 while (stats.nonEmpty()) {
611 for (List<Type> l = types.interfaces(c.type); l.nonEmpty(); l = l.tail) {
755 for (List<? extends JCTree> l = trees; l.nonEmpty(); l = l.tail)
855 for (List<JCExpression> l = trees; l.nonEmpty(); l = l.tail) {
997 for (List<JCVariableDecl> l = tree.params; l.nonEmpty(); l = l.tail) {
1372 if (startpc != endpc) for (List<JCCatch> l = catchers; l.nonEmpty();
[all...]
/openjdk7/langtools/test/tools/javac/treeannotests/
H A DTestProcessor.java189 for (List<? extends JCAnnotation> l = annos; l.nonEmpty(); l = l.tail) {
239 if (list.nonEmpty()) {
241 for (List<? extends JCTree> l = list.tail; l.nonEmpty(); l = l.tail) {
/openjdk7/jdk/src/share/classes/sun/tools/java/
H A DClassPath.java303 String nonEmpty[] = { "" };
304 files = nonEmpty;

Completed in 144 milliseconds

12