int line= buffer.getLineOfOffset(packDecls[0].getSourceRange().getOffset());
ISourceRange range= packDecls[0].getSourceRange(); int line= buffer.getLineOfOffset(range.getOffset() + range.getLength());
	private int getPackageStatementEndPos(TextBuffer buffer) throws JavaModelException {		IPackageDeclaration[] packDecls= fCompilationUnit.getPackageDeclarations();		if (packDecls != null && packDecls.length > 0) {			int line= buffer.getLineOfOffset(packDecls[0].getSourceRange().getOffset());			TextRegion region= buffer.getLineInformation(line + 1);			if (region != null) {				return region.getOffset();			}		}		return 0;	}