/usr/share/doc/libcobertura-java/api/net/sourceforge/cobertura/coveragedata/ClassData.html is in libcobertura-java-doc 1.9.4.1+dfsg-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Sat Dec 31 20:14:20 UTC 2011 -->
<TITLE>
ClassData (Cobertura API)
</TITLE>
<META NAME="date" CONTENT="2011-12-31">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="ClassData (Cobertura API)";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../net/sourceforge/cobertura/coveragedata/BranchCoverageData.html" title="interface in net.sourceforge.cobertura.coveragedata"><B>PREV CLASS</B></A>
<A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageData.html" title="interface in net.sourceforge.cobertura.coveragedata"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?net/sourceforge/cobertura/coveragedata/ClassData.html" target="_top"><B>FRAMES</B></A>
<A HREF="ClassData.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
net.sourceforge.cobertura.coveragedata</FONT>
<BR>
Class ClassData</H2>
<PRE>
java.lang.Object
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageDataContainer.html" title="class in net.sourceforge.cobertura.coveragedata">net.sourceforge.cobertura.coveragedata.CoverageDataContainer</A>
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>net.sourceforge.cobertura.coveragedata.ClassData</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable, java.lang.Comparable<<A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html" title="class in net.sourceforge.cobertura.coveragedata">ClassData</A>>, <A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageData.html" title="interface in net.sourceforge.cobertura.coveragedata">CoverageData</A>, <A HREF="../../../../net/sourceforge/cobertura/coveragedata/HasBeenInstrumented.html" title="interface in net.sourceforge.cobertura.coveragedata">HasBeenInstrumented</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <A HREF="../../../../src-html/net/sourceforge/cobertura/coveragedata/ClassData.html#line.51"><B>ClassData</B></A><DT>extends <A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageDataContainer.html" title="class in net.sourceforge.cobertura.coveragedata">CoverageDataContainer</A><DT>implements java.lang.Comparable<<A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html" title="class in net.sourceforge.cobertura.coveragedata">ClassData</A>>, <A HREF="../../../../net/sourceforge/cobertura/coveragedata/HasBeenInstrumented.html" title="interface in net.sourceforge.cobertura.coveragedata">HasBeenInstrumented</A></DL>
</PRE>
<P>
<p>
ProjectData information is typically serialized to a file. An
instance of this class records coverage information for a single
class that has been instrumented.
</p>
<p>
This class implements HasBeenInstrumented so that when cobertura
instruments itself, it will omit this class. It does this to
avoid an infinite recursion problem because instrumented classes
make use of this class.
</p>
<P>
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#net.sourceforge.cobertura.coveragedata.ClassData">Serialized Form</A></DL>
<HR>
<P>
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private java.util.Map<java.lang.Integer,<A HREF="../../../../net/sourceforge/cobertura/coveragedata/LineData.html" title="class in net.sourceforge.cobertura.coveragedata">LineData</A>></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html#branches">branches</A></B></CODE>
<BR>
Each key is a line number in this class, stored as an Integer object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html#containsInstrumentationInfo">containsInstrumentationInfo</A></B></CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private java.util.Set<java.lang.String></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html#methodNamesAndDescriptors">methodNamesAndDescriptors</A></B></CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html#name">name</A></B></CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html#serialVersionUID">serialVersionUID</A></B></CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html#sourceFileName">sourceFileName</A></B></CODE>
<BR>
</TD>
</TR>
</TABLE>
<A NAME="fields_inherited_from_class_net.sourceforge.cobertura.coveragedata.CoverageDataContainer"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Fields inherited from class net.sourceforge.cobertura.coveragedata.<A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageDataContainer.html" title="class in net.sourceforge.cobertura.coveragedata">CoverageDataContainer</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageDataContainer.html#children">children</A>, <A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageDataContainer.html#lock">lock</A></CODE></TD>
</TR>
</TABLE>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html#ClassData(java.lang.String)">ClassData</A></B>(java.lang.String name)</CODE>
<BR>
</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../net/sourceforge/cobertura/coveragedata/LineData.html" title="class in net.sourceforge.cobertura.coveragedata">LineData</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html#addLine(int, java.lang.String, java.lang.String)">addLine</A></B>(int lineNumber,
java.lang.String methodName,
java.lang.String methodDescriptor)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html#addLineJump(int, int)">addLineJump</A></B>(int lineNumber,
int branchNumber)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html#addLineSwitch(int, int, int[])">addLineSwitch</A></B>(int lineNumber,
int switchNumber,
int[] keys)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html#addLineSwitch(int, int, int, int)">addLineSwitch</A></B>(int lineNumber,
int switchNumber,
int min,
int max)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html#compareTo(net.sourceforge.cobertura.coveragedata.ClassData)">compareTo</A></B>(<A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html" title="class in net.sourceforge.cobertura.coveragedata">ClassData</A> o)</CODE>
<BR>
This is required because we implement Comparable.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html#containsInstrumentationInfo()">containsInstrumentationInfo</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object obj)</CODE>
<BR>
Returns true if the given object is an instance of the
ClassData class, and it contains the same data as this
class.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html#getBaseName()">getBaseName</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html#getBranchCoverageRate(java.lang.String)">getBranchCoverageRate</A></B>(java.lang.String methodNameAndDescriptor)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.util.Collection<java.lang.Integer></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html#getBranches()">getBranches</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../net/sourceforge/cobertura/coveragedata/LineData.html" title="class in net.sourceforge.cobertura.coveragedata">LineData</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html#getLineCoverage(int)">getLineCoverage</A></B>(int lineNumber)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html#getLineCoverageRate(java.lang.String)">getLineCoverageRate</A></B>(java.lang.String methodNameAndDescriptor)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private <A HREF="../../../../net/sourceforge/cobertura/coveragedata/LineData.html" title="class in net.sourceforge.cobertura.coveragedata">LineData</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html#getLineData(int)">getLineData</A></B>(int lineNumber)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.util.SortedSet<<A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageData.html" title="interface in net.sourceforge.cobertura.coveragedata">CoverageData</A>></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html#getLines()">getLines</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.util.Collection<<A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageData.html" title="interface in net.sourceforge.cobertura.coveragedata">CoverageData</A>></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html#getLines(java.lang.String)">getLines</A></B>(java.lang.String methodNameAndDescriptor)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.util.Set<java.lang.String></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html#getMethodNamesAndDescriptors()">getMethodNamesAndDescriptors</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html#getName()">getName</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html#getNumberOfCoveredBranches()">getNumberOfCoveredBranches</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html#getNumberOfValidBranches()">getNumberOfValidBranches</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html#getPackageName()">getPackageName</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html#getSourceFileName()">getSourceFileName</A></B>()</CODE>
<BR>
Return the name of the file containing this class.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html#hasBranch(int)">hasBranch</A></B>(int lineNumber)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html#hashCode()">hashCode</A></B>()</CODE>
<BR>
It is highly recommended that classes extending this
class override this hashCode method and generate a more
effective hash code.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html#isValidSourceLineNumber(int)">isValidSourceLineNumber</A></B>(int lineNumber)</CODE>
<BR>
Determine if a given line number is a valid line of code.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html#merge(net.sourceforge.cobertura.coveragedata.CoverageData)">merge</A></B>(<A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageData.html" title="interface in net.sourceforge.cobertura.coveragedata">CoverageData</A> coverageData)</CODE>
<BR>
Merge some existing instrumentation with this instrumentation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html#removeLine(int)">removeLine</A></B>(int lineNumber)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html#setContainsInstrumentationInfo()">setContainsInstrumentationInfo</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html#setSourceFileName(java.lang.String)">setSourceFileName</A></B>(java.lang.String sourceFileName)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html#touch(int, int)">touch</A></B>(int lineNumber,
int hits)</CODE>
<BR>
Increment the number of hits for a particular line of code.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html#touchJump(int, int, boolean, int)">touchJump</A></B>(int lineNumber,
int branchNumber,
boolean branch,
int hits)</CODE>
<BR>
Increments the number of hits for particular hit counter of particular branch on particular line number.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html#touchSwitch(int, int, int, int)">touchSwitch</A></B>(int lineNumber,
int switchNumber,
int branch,
int hits)</CODE>
<BR>
Increments the number of hits for particular hit counter of particular switch branch on particular line number.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_net.sourceforge.cobertura.coveragedata.CoverageDataContainer"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class net.sourceforge.cobertura.coveragedata.<A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageDataContainer.html" title="class in net.sourceforge.cobertura.coveragedata">CoverageDataContainer</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageDataContainer.html#getBothLocks(net.sourceforge.cobertura.coveragedata.CoverageDataContainer)">getBothLocks</A>, <A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageDataContainer.html#getBranchCoverageRate()">getBranchCoverageRate</A>, <A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageDataContainer.html#getChild(java.lang.String)">getChild</A>, <A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageDataContainer.html#getLineCoverageRate()">getLineCoverageRate</A>, <A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageDataContainer.html#getNumberOfChildren()">getNumberOfChildren</A>, <A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageDataContainer.html#getNumberOfCoveredLines()">getNumberOfCoveredLines</A>, <A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageDataContainer.html#getNumberOfValidLines()">getNumberOfValidLines</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="serialVersionUID"><!-- --></A><H3>
serialVersionUID</H3>
<PRE>
private static final long <A HREF="../../../../src-html/net/sourceforge/cobertura/coveragedata/ClassData.html#line.55"><B>serialVersionUID</B></A></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.sourceforge.cobertura.coveragedata.ClassData.serialVersionUID">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="branches"><!-- --></A><H3>
branches</H3>
<PRE>
private java.util.Map<java.lang.Integer,<A HREF="../../../../net/sourceforge/cobertura/coveragedata/LineData.html" title="class in net.sourceforge.cobertura.coveragedata">LineData</A>> <A HREF="../../../../src-html/net/sourceforge/cobertura/coveragedata/ClassData.html#line.61"><B>branches</B></A></PRE>
<DL>
<DD>Each key is a line number in this class, stored as an Integer object.
Each value is information about the line, stored as a LineData object.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="containsInstrumentationInfo"><!-- --></A><H3>
containsInstrumentationInfo</H3>
<PRE>
private boolean <A HREF="../../../../src-html/net/sourceforge/cobertura/coveragedata/ClassData.html#line.63"><B>containsInstrumentationInfo</B></A></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="methodNamesAndDescriptors"><!-- --></A><H3>
methodNamesAndDescriptors</H3>
<PRE>
private java.util.Set<java.lang.String> <A HREF="../../../../src-html/net/sourceforge/cobertura/coveragedata/ClassData.html#line.65"><B>methodNamesAndDescriptors</B></A></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="name"><!-- --></A><H3>
name</H3>
<PRE>
private java.lang.String <A HREF="../../../../src-html/net/sourceforge/cobertura/coveragedata/ClassData.html#line.67"><B>name</B></A></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="sourceFileName"><!-- --></A><H3>
sourceFileName</H3>
<PRE>
private java.lang.String <A HREF="../../../../src-html/net/sourceforge/cobertura/coveragedata/ClassData.html#line.69"><B>sourceFileName</B></A></PRE>
<DL>
<DL>
</DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="ClassData(java.lang.String)"><!-- --></A><H3>
ClassData</H3>
<PRE>
public <A HREF="../../../../src-html/net/sourceforge/cobertura/coveragedata/ClassData.html#line.74"><B>ClassData</B></A>(java.lang.String name)</PRE>
<DL>
<DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - In the format "net.sourceforge.cobertura.coveragedata.ClassData"</DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="addLine(int, java.lang.String, java.lang.String)"><!-- --></A><H3>
addLine</H3>
<PRE>
public <A HREF="../../../../net/sourceforge/cobertura/coveragedata/LineData.html" title="class in net.sourceforge.cobertura.coveragedata">LineData</A> <A HREF="../../../../src-html/net/sourceforge/cobertura/coveragedata/ClassData.html#line.82"><B>addLine</B></A>(int lineNumber,
java.lang.String methodName,
java.lang.String methodDescriptor)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="compareTo(net.sourceforge.cobertura.coveragedata.ClassData)"><!-- --></A><H3>
compareTo</H3>
<PRE>
public int <A HREF="../../../../src-html/net/sourceforge/cobertura/coveragedata/ClassData.html#line.113"><B>compareTo</B></A>(<A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html" title="class in net.sourceforge.cobertura.coveragedata">ClassData</A> o)</PRE>
<DL>
<DD>This is required because we implement Comparable.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>compareTo</CODE> in interface <CODE>java.lang.Comparable<<A HREF="../../../../net/sourceforge/cobertura/coveragedata/ClassData.html" title="class in net.sourceforge.cobertura.coveragedata">ClassData</A>></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="containsInstrumentationInfo()"><!-- --></A><H3>
containsInstrumentationInfo</H3>
<PRE>
public boolean <A HREF="../../../../src-html/net/sourceforge/cobertura/coveragedata/ClassData.html#line.118"><B>containsInstrumentationInfo</B></A>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
equals</H3>
<PRE>
public boolean <A HREF="../../../../src-html/net/sourceforge/cobertura/coveragedata/ClassData.html#line.136"><B>equals</B></A>(java.lang.Object obj)</PRE>
<DL>
<DD>Returns true if the given object is an instance of the
ClassData class, and it contains the same data as this
class.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageDataContainer.html#equals(java.lang.Object)">equals</A></CODE> in class <CODE><A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageDataContainer.html" title="class in net.sourceforge.cobertura.coveragedata">CoverageDataContainer</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>obj</CODE> - An object to test for equality.
<DT><B>Returns:</B><DD>True if the objects are equal.</DL>
</DD>
</DL>
<HR>
<A NAME="getBaseName()"><!-- --></A><H3>
getBaseName</H3>
<PRE>
public java.lang.String <A HREF="../../../../src-html/net/sourceforge/cobertura/coveragedata/ClassData.html#line.161"><B>getBaseName</B></A>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getBranchCoverageRate(java.lang.String)"><!-- --></A><H3>
getBranchCoverageRate</H3>
<PRE>
public double <A HREF="../../../../src-html/net/sourceforge/cobertura/coveragedata/ClassData.html#line.174"><B>getBranchCoverageRate</B></A>(java.lang.String methodNameAndDescriptor)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The branch coverage rate for a particular method.</DL>
</DD>
</DL>
<HR>
<A NAME="getBranches()"><!-- --></A><H3>
getBranches</H3>
<PRE>
public java.util.Collection<java.lang.Integer> <A HREF="../../../../src-html/net/sourceforge/cobertura/coveragedata/ClassData.html#line.199"><B>getBranches</B></A>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getLineCoverage(int)"><!-- --></A><H3>
getLineCoverage</H3>
<PRE>
public <A HREF="../../../../net/sourceforge/cobertura/coveragedata/LineData.html" title="class in net.sourceforge.cobertura.coveragedata">LineData</A> <A HREF="../../../../src-html/net/sourceforge/cobertura/coveragedata/ClassData.html#line.216"><B>getLineCoverage</B></A>(int lineNumber)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>lineNumber</CODE> - The source code line number.
<DT><B>Returns:</B><DD>The coverage of the line</DL>
</DD>
</DL>
<HR>
<A NAME="getLineCoverageRate(java.lang.String)"><!-- --></A><H3>
getLineCoverageRate</H3>
<PRE>
public double <A HREF="../../../../src-html/net/sourceforge/cobertura/coveragedata/ClassData.html#line.238"><B>getLineCoverageRate</B></A>(java.lang.String methodNameAndDescriptor)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The line coverage rate for particular method</DL>
</DD>
</DL>
<HR>
<A NAME="getLineData(int)"><!-- --></A><H3>
getLineData</H3>
<PRE>
private <A HREF="../../../../net/sourceforge/cobertura/coveragedata/LineData.html" title="class in net.sourceforge.cobertura.coveragedata">LineData</A> <A HREF="../../../../src-html/net/sourceforge/cobertura/coveragedata/ClassData.html#line.267"><B>getLineData</B></A>(int lineNumber)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getLines()"><!-- --></A><H3>
getLines</H3>
<PRE>
public java.util.SortedSet<<A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageData.html" title="interface in net.sourceforge.cobertura.coveragedata">CoverageData</A>> <A HREF="../../../../src-html/net/sourceforge/cobertura/coveragedata/ClassData.html#line.280"><B>getLines</B></A>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getLines(java.lang.String)"><!-- --></A><H3>
getLines</H3>
<PRE>
public java.util.Collection<<A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageData.html" title="interface in net.sourceforge.cobertura.coveragedata">CoverageData</A>> <A HREF="../../../../src-html/net/sourceforge/cobertura/coveragedata/ClassData.html#line.293"><B>getLines</B></A>(java.lang.String methodNameAndDescriptor)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getMethodNamesAndDescriptors()"><!-- --></A><H3>
getMethodNamesAndDescriptors</H3>
<PRE>
public java.util.Set<java.lang.String> <A HREF="../../../../src-html/net/sourceforge/cobertura/coveragedata/ClassData.html#line.321"><B>getMethodNamesAndDescriptors</B></A>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The method name and descriptor of each method found in the
class represented by this instrumentation.</DL>
</DD>
</DL>
<HR>
<A NAME="getName()"><!-- --></A><H3>
getName</H3>
<PRE>
public java.lang.String <A HREF="../../../../src-html/net/sourceforge/cobertura/coveragedata/ClassData.html#line.334"><B>getName</B></A>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getNumberOfValidBranches()"><!-- --></A><H3>
getNumberOfValidBranches</H3>
<PRE>
public int <A HREF="../../../../src-html/net/sourceforge/cobertura/coveragedata/ClassData.html#line.342"><B>getNumberOfValidBranches</B></A>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageData.html#getNumberOfValidBranches()">getNumberOfValidBranches</A></CODE> in interface <CODE><A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageData.html" title="interface in net.sourceforge.cobertura.coveragedata">CoverageData</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageDataContainer.html#getNumberOfValidBranches()">getNumberOfValidBranches</A></CODE> in class <CODE><A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageDataContainer.html" title="class in net.sourceforge.cobertura.coveragedata">CoverageDataContainer</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The number of branches in this class.</DL>
</DD>
</DL>
<HR>
<A NAME="getNumberOfCoveredBranches()"><!-- --></A><H3>
getNumberOfCoveredBranches</H3>
<PRE>
public int <A HREF="../../../../src-html/net/sourceforge/cobertura/coveragedata/ClassData.html#line.363"><B>getNumberOfCoveredBranches</B></A>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageData.html#getNumberOfCoveredBranches()">getNumberOfCoveredBranches</A></CODE> in interface <CODE><A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageData.html" title="interface in net.sourceforge.cobertura.coveragedata">CoverageData</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageDataContainer.html#getNumberOfCoveredBranches()">getNumberOfCoveredBranches</A></CODE> in class <CODE><A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageDataContainer.html" title="class in net.sourceforge.cobertura.coveragedata">CoverageDataContainer</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageData.html#getNumberOfCoveredBranches()"><CODE>CoverageData.getNumberOfCoveredBranches()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getPackageName()"><!-- --></A><H3>
getPackageName</H3>
<PRE>
public java.lang.String <A HREF="../../../../src-html/net/sourceforge/cobertura/coveragedata/ClassData.html#line.381"><B>getPackageName</B></A>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getSourceFileName()"><!-- --></A><H3>
getSourceFileName</H3>
<PRE>
public java.lang.String <A HREF="../../../../src-html/net/sourceforge/cobertura/coveragedata/ClassData.html#line.400"><B>getSourceFileName</B></A>()</PRE>
<DL>
<DD>Return the name of the file containing this class. If this
class' sourceFileName has not been set (for whatever reason)
then this method will attempt to infer the name of the source
file using the class name.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The name of the source file, for example
net/sourceforge/cobertura/coveragedata/ClassData.java</DL>
</DD>
</DL>
<HR>
<A NAME="hashCode()"><!-- --></A><H3>
hashCode</H3>
<PRE>
public int <A HREF="../../../../src-html/net/sourceforge/cobertura/coveragedata/ClassData.html#line.430"><B>hashCode</B></A>()</PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageDataContainer.html#hashCode()">CoverageDataContainer</A></CODE></B></DD>
<DD>It is highly recommended that classes extending this
class override this hashCode method and generate a more
effective hash code.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageDataContainer.html#hashCode()">hashCode</A></CODE> in class <CODE><A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageDataContainer.html" title="class in net.sourceforge.cobertura.coveragedata">CoverageDataContainer</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="hasBranch(int)"><!-- --></A><H3>
hasBranch</H3>
<PRE>
public boolean <A HREF="../../../../src-html/net/sourceforge/cobertura/coveragedata/ClassData.html#line.438"><B>hasBranch</B></A>(int lineNumber)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>True if the line contains at least one condition jump (branch)</DL>
</DD>
</DL>
<HR>
<A NAME="isValidSourceLineNumber(int)"><!-- --></A><H3>
isValidSourceLineNumber</H3>
<PRE>
public boolean <A HREF="../../../../src-html/net/sourceforge/cobertura/coveragedata/ClassData.html#line.457"><B>isValidSourceLineNumber</B></A>(int lineNumber)</PRE>
<DL>
<DD>Determine if a given line number is a valid line of code.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>True if the line contains executable code. False
if the line is empty, or a comment, etc.</DL>
</DD>
</DL>
<HR>
<A NAME="addLineJump(int, int)"><!-- --></A><H3>
addLineJump</H3>
<PRE>
public void <A HREF="../../../../src-html/net/sourceforge/cobertura/coveragedata/ClassData.html#line.470"><B>addLineJump</B></A>(int lineNumber,
int branchNumber)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="addLineSwitch(int, int, int[])"><!-- --></A><H3>
addLineSwitch</H3>
<PRE>
public void <A HREF="../../../../src-html/net/sourceforge/cobertura/coveragedata/ClassData.html#line.488"><B>addLineSwitch</B></A>(int lineNumber,
int switchNumber,
int[] keys)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="addLineSwitch(int, int, int, int)"><!-- --></A><H3>
addLineSwitch</H3>
<PRE>
public void <A HREF="../../../../src-html/net/sourceforge/cobertura/coveragedata/ClassData.html#line.506"><B>addLineSwitch</B></A>(int lineNumber,
int switchNumber,
int min,
int max)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="merge(net.sourceforge.cobertura.coveragedata.CoverageData)"><!-- --></A><H3>
merge</H3>
<PRE>
public void <A HREF="../../../../src-html/net/sourceforge/cobertura/coveragedata/ClassData.html#line.529"><B>merge</B></A>(<A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageData.html" title="interface in net.sourceforge.cobertura.coveragedata">CoverageData</A> coverageData)</PRE>
<DL>
<DD>Merge some existing instrumentation with this instrumentation.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageData.html#merge(net.sourceforge.cobertura.coveragedata.CoverageData)">merge</A></CODE> in interface <CODE><A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageData.html" title="interface in net.sourceforge.cobertura.coveragedata">CoverageData</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageDataContainer.html#merge(net.sourceforge.cobertura.coveragedata.CoverageData)">merge</A></CODE> in class <CODE><A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageDataContainer.html" title="class in net.sourceforge.cobertura.coveragedata">CoverageDataContainer</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>coverageData</CODE> - Some existing coverage data.</DL>
</DD>
</DL>
<HR>
<A NAME="removeLine(int)"><!-- --></A><H3>
removeLine</H3>
<PRE>
public void <A HREF="../../../../src-html/net/sourceforge/cobertura/coveragedata/ClassData.html#line.572"><B>removeLine</B></A>(int lineNumber)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setContainsInstrumentationInfo()"><!-- --></A><H3>
setContainsInstrumentationInfo</H3>
<PRE>
public void <A HREF="../../../../src-html/net/sourceforge/cobertura/coveragedata/ClassData.html#line.587"><B>setContainsInstrumentationInfo</B></A>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setSourceFileName(java.lang.String)"><!-- --></A><H3>
setSourceFileName</H3>
<PRE>
public void <A HREF="../../../../src-html/net/sourceforge/cobertura/coveragedata/ClassData.html#line.600"><B>setSourceFileName</B></A>(java.lang.String sourceFileName)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="touch(int, int)"><!-- --></A><H3>
touch</H3>
<PRE>
public void <A HREF="../../../../src-html/net/sourceforge/cobertura/coveragedata/ClassData.html#line.619"><B>touch</B></A>(int lineNumber,
int hits)</PRE>
<DL>
<DD>Increment the number of hits for a particular line of code.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>lineNumber</CODE> - the line of code to increment the number of hits.<DD><CODE>hits</CODE> - how many times the piece was called</DL>
</DD>
</DL>
<HR>
<A NAME="touchJump(int, int, boolean, int)"><!-- --></A><H3>
touchJump</H3>
<PRE>
public void <A HREF="../../../../src-html/net/sourceforge/cobertura/coveragedata/ClassData.html#line.643"><B>touchJump</B></A>(int lineNumber,
int branchNumber,
boolean branch,
int hits)</PRE>
<DL>
<DD>Increments the number of hits for particular hit counter of particular branch on particular line number.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>lineNumber</CODE> - The line of code where the branch is<DD><CODE>branchNumber</CODE> - The branch on the line to change the hit counter<DD><CODE>branch</CODE> - The hit counter (true or false)<DD><CODE>hits</CODE> - how many times the piece was called</DL>
</DD>
</DL>
<HR>
<A NAME="touchSwitch(int, int, int, int)"><!-- --></A><H3>
touchSwitch</H3>
<PRE>
public void <A HREF="../../../../src-html/net/sourceforge/cobertura/coveragedata/ClassData.html#line.666"><B>touchSwitch</B></A>(int lineNumber,
int switchNumber,
int branch,
int hits)</PRE>
<DL>
<DD>Increments the number of hits for particular hit counter of particular switch branch on particular line number.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>lineNumber</CODE> - The line of code where the branch is<DD><CODE>switchNumber</CODE> - The switch on the line to change the hit counter<DD><CODE>branch</CODE> - The hit counter<DD><CODE>hits</CODE> - how many times the piece was called</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../net/sourceforge/cobertura/coveragedata/BranchCoverageData.html" title="interface in net.sourceforge.cobertura.coveragedata"><B>PREV CLASS</B></A>
<A HREF="../../../../net/sourceforge/cobertura/coveragedata/CoverageData.html" title="interface in net.sourceforge.cobertura.coveragedata"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?net/sourceforge/cobertura/coveragedata/ClassData.html" target="_top"><B>FRAMES</B></A>
<A HREF="ClassData.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>
|