Here you can find the source of getSigLinePastOtherAnnotations(String selfCmprurrentLine, Iterator
private static final String getSigLinePastOtherAnnotations(String selfCmprurrentLine, Iterator<String> line_itr)
//package com.java2s; //License from project: LGPL import java.util.Iterator; public class Main { private static final String getSigLinePastOtherAnnotations(String selfCmprurrentLine, Iterator<String> line_itr) { while (selfCmprurrentLine.trim().startsWith("@")) { //The 1st call to trim is redundant //This passes through other annotation-only lines //that are between @Composition* and the signature selfCmprurrentLine = line_itr.next(); //CI !hasNext() }/*from w w w.j av a2 s . c om*/ return selfCmprurrentLine; } }