亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? manual.xml

?? JSP頁面代碼排錯
?? XML
?? 第 1 頁 / 共 5 頁
字號:
  Filters are currently only supported by the Command Line interface.  Eventually, filter support will be added to the GUI.</para></note></para><sect1><title>Introduction to Filter Files</title><para>Conceptually, a filter matches bug instances against a set of criteria.By defining a filter, you can select bug instances for special treatment;for example, to exclude or include them in a report.</para><para>A filter file is an <ulink url="http://www.w3.org/XML/">XML</ulink> document with a top-level <literal>FindBugsFilter</literal> elementwhich has some number of <literal>Match</literal> elements as children.  Each <literal>Match</literal>element represents a predicate which is applied to generated bug instances.Usually, a filter will be used to exclude bug instances.  For example:<screen><prompt>$ </prompt><command>findbugs -textui -exclude <replaceable>myExcludeFilter.xml</replaceable> <replaceable>myApp.jar</replaceable></command></screen>However, a filter could also be used to select bug instances to specificallyreport:<screen><prompt>$ </prompt><command>findbugs -textui -include <replaceable>myIncludeFilter.xml</replaceable> <replaceable>myApp.jar</replaceable></command></screen></para><para><literal>Match</literal> elements contain children, which are conjuncts of the predicate.In other words, each of the children must be true for the predicate to be true.</para></sect1><sect1><title>Types of Match clauses</title><variablelist> <varlistentry>   <term><literal>&lt;Bug&gt;</literal></term>   <listitem><para>			This element specifies a particular bug pattern or patterns to match.			The <literal>pattern</literal> attribute is a comma-separated list of			bug pattern types.  You can find the bug pattern types for particular			warnings by looking at the output produced by the <command>-xml</command>			output option (the <literal>type</literal> attribute of <literal>BugInstance</literal>			elements), or from the <ulink url="../bugDescriptions.html">bug			descriptions document</ulink>.   </para><para>   			For more coarse-grained matching, use <literal>code</literal> attribute. It takes   			a comma-separated list of bug abbreviations. For most-coarse grained matching use    			<literal>category</literal> attriute, that takes a comma separated list of bug category names:    			<literal>CORRECTNESS</literal>, <literal>MT_CORRECTNESS</literal>,    			<literal>BAD_PRACTICICE</literal>, <literal>PERFORMANCE</literal>, <literal>STYLE</literal>.    </para><para>   			   			If more than one of the attributes mentioned above are specified on the same    			<literal>&lt;Bug&gt;</literal> element, all bug patterns that match either one of specified    			pattern names, or abreviations, or categories will be matched.   </para><para>      			As a backwards compatibility measure, <literal>&lt;BugPattern&gt;</literal> and   			<literal>&lt;BugCode&gt;</literal> elements may be used instead of    			<literal>&lt;Bug&gt;</literal> element. Each of these uses a   			<literal>name</literal> attribute for specifying accepted values list. Support for these   			elements may be removed in a future release.   </para></listitem> </varlistentry> <varlistentry>	<term><literal>&lt;Priority&gt;</literal></term>	<listitem>		<para>			This element matches warnings with a particular priority.			The <literal>value</literal> attribute should be an integer value:			1 to match high-priority warnings, 2 to match medium-priority warnings,			or 3 to match low-priority warnings.		</para>	</listitem> </varlistentry> <varlistentry>   <term><literal>&lt;Package&gt;</literal></term>	<listitem>		<para> 			This element matches warnings associated with classes within the package specified 			using <literal>name</literal> attribute. Nested packages are not included (along the 			lines of Java import statement). However matching multiple packages can be achieved 			easily using regex name match.		</para>	</listitem>  </varlistentry>		 <varlistentry>   <term><literal>&lt;Class&gt;</literal></term>	<listitem>		<para>			This element matches warnings associated with a particular class. The 			<literal>name</literal> attribute is used to specify the exact or regex match pattern 			for the class name.		</para>				<para>			As a backward compatibility measure, instead of element of this type, you can use			 <literal>class</literal> attribute on a <literal>Match</literal> element to specify 			 exact an class name or <literal>classregex</literal> attribute to specify a regular			 expression to match the class name against.		</para>				<para>			If the <literal>Match</literal> element contains neither a <literal>Class</literal> element, 			nor a <literal>class</literal> / <literal>classregex</literal> attribute, the predicate will apply 			to all classes. Such predicate is likely to match more bug instances than you want, unless it is 			refined further down with apropriate method or field predicates.		</para>	</listitem> </varlistentry> <varlistentry>   <term><literal>&lt;Method&gt;</literal></term>   <listitem><para>This element specifies a method.  The <literal>name</literal> is used to specify   the exact or regex match pattern for the method name.   The <literal>params</literal> attribute is a comma-separated list   of the types of the method's parameters.  The <literal>returns</literal> attribute is   the method's return type.  In <literal>params</literal> and <literal>returns</literal>, class names   must be fully qualified. (E.g., "java.lang.String" instead of just   "String".) If one of the latter attributes is specified the other is required for creating a method signature.    Note that you can provide either <literal>name</literal> attribute or <literal>params</literal>    and <literal>returns</literal> attributes or all three of them. This way you can provide various kinds of   name and signature based matches.   </para></listitem> </varlistentry> <varlistentry>   <term><literal>&lt;Field&gt;</literal></term>   <listitem><para>This element specifies a field. The <literal>name</literal> attribute is is used to specify   the exact or regex match pattern for the field name. You can also filter fields according to their signature -   use <literal>type</literal> attribute to specify fully qualified type of the field. You can specify eiter or both   of these attributes in order to perform name / signature based matches.   </para></listitem> </varlistentry>      <varlistentry>   <term><literal>&lt;Local&gt;</literal></term>   <listitem><para>This element specifies a local variable. The <literal>name</literal> attribute is is used to specify   the exact or regex match pattern for the local variable name. Local variables are variables defined within a method.   </para></listitem> </varlistentry>    <varlistentry>   <term><literal>&lt;Or&gt;</literal></term>    <listitem><para>   This element combines <literal>Match</literal> clauses as disjuncts.  I.e., you can put two   <literal>Method</literal> elements in an <literal>Or</literal> clause in order to match either method.   </para></listitem> </varlistentry></variablelist></sect1><sect1><title>Java element name matching</title><para>If the <literal>name</literal> attribute of <literal>Class</literal>, <literal>Method</literal> or<literal>Field</literal> starts with the ~ character the rest of attribute content is interpreted as a Java regular expression that is matched against the names of the Java element in question. </para><para>Note that the pattern is matched against whole element name and therefore .* clauses need to be usedat pattern beginning and/or end to perform substring matching.</para><para>See <ulink url="http://java.sun.com/j2se/1.5.0/docs/api/java/util/regex/Pattern.html"><literal>java.util.regex.Pattern</literal></ulink> documentation for pattern syntax.</para></sect1><sect1><title>Caveats</title><para><literal>Match</literal> clauses can only match information that is actually contained in thebug instances.  Every bug instance has a class, so in general, excludingbugs by class will work.</para><para>Some bug instances have two (or more) classes.  For example, the DE (dropped exception)bugs report both the class containing the method where the dropped exceptionhappens, and the class which represents the type of the dropped exception.Only the <emphasis>first</emphasis> (primary) class is matched against <literal>Match</literal> clauses.So, for example, if you want to suppress IC (initialization circularity)reports for classes "com.foobar.A" and "com.foobar.B", you would usetwo <literal>Match</literal> clauses:<programlisting>   &lt;Match&gt;      &lt;Class name="com.foobar.A" /&gt;      &lt;Bug code="IC" /&gt;   &lt;/Match&gt;   &lt;Match&gt;      &lt;Class name="com.foobar.B" /&gt;      &lt;Bug code="IC" /&gt;   &lt;/Match&gt;</programlisting>By explicitly matching both classes, you ensure that the IC bug instance will bematched regardless of which class involved in the circularity happens to belisted first in the bug instance.  (Of course, this approach might accidentallysupress circularities involving "com.foobar.A" or "com.foobar.B" and a thirdclass.)</para><para>Many kinds of bugs report what method they occur in.  For those bug instances,you can put <literal>Method</literal> clauses in the <literal>Match</literal> element and they should workas expected.</para></sect1><sect1><title>Examples</title><para>  1. Match all bug reports for a class.<programlisting><![CDATA[     <Match>       <Class name="com.foobar.MyClass" />     </Match>]]></programlisting></para><para>  2. Match certain tests from a class by specifying their abbreviations.<programlisting><![CDATA[     <Match>       <Class name="com.foobar.MyClass"/ >       <Bug code="DE,UrF,SIC" />     </Match>]]></programlisting></para><para>  3. Match certain tests from all classes by specifying their abbreviations.<programlisting><![CDATA[     <Match>       <Bug code="DE,UrF,SIC" />     </Match>]]></programlisting></para><para>  4. Match certain tests from all classes by specifying their category.<programlisting><![CDATA[     <Match>       <Bug category="PERFORMANCE" />     </Match>]]></programlisting></para><para>  5. Match bug types from specified methods of a class by their abbreviations.<programlisting><![CDATA[     <Match>       <Class name="com.foobar.MyClass" />       <Or>         <Method name="frob" params="int,java.lang.String" returns="void" />         <Method name="blat" params="" returns="boolean" />       </Or>       <Bug code="DC" />     </Match>]]></programlisting></para><para>	6. Match a particular bug pattern in a particular method.	<programlisting><![CDATA[    <!-- A method with an open stream false positive. -->    <Match>      <Class name="com.foobar.MyClass" />      <Method name="writeDataToFile" />      <Bug pattern="OS_OPEN_STREAM" />    </Match>]]></programlisting></para><para>	7. Match a particular bug pattern with a given priority in a particular method.	<programlisting><![CDATA[    <!-- A method with a dead local store false positive (medium priority). -->    <Match>      <Class name="com.foobar.MyClass" />      <Method name="someMethod" />      <Bug pattern="DLS_DEAD_LOCAL_STORE" />      <Priority value="2" />    </Match>]]></programlisting></para><para>	8. Match minor bugs introduced by AspectJ compiler (you are probably not interested in these unless	you are an AspectJ developer).	<programlisting><![CDATA[    <Match>       <Class name="~.*\$AjcClosure\d+" />      <Bug pattern="DLS_DEAD_LOCAL_STORE" />      <Method name="run" />    </Match>    <Match>      <Bug pattern="UUF_UNUSED_FIELD" />      <Field name="~ajc\$.*" />    </Match>]]></programlisting></para><para>	9. Match bugs in specific parts of the code base	<programlisting><![CDATA[    <!-- match unused fields warnings in Messages classes in all packages -->    <Match>       <Class name="~.*\.Messages" />      <Bug code="UUF" />    </Match>    <!-- match mutable statics warnings in all internal packages -->    <Match>      <Package name="~.*\.internal" />      <Bug code="MS" />    </Match>    <!-- match anonymoous inner classes warnings in ui package hierarchy -->    <Match>      <Package name="~com\.foobar\.fooproject\.ui.*" />      <Bug pattern="SIC_INNER_SHOULD_BE_STATIC_ANON" />    </Match>]]></programlisting></para><para>	10. Match bugs on fieds or methods with specific signatures<programlisting><![CDATA[	<!-- match System.exit(...) usage warnings in void main(String[]) methods in all classes -->	<Match>	  <Method returns="void" name="main" params="java.lang.String[]" />	  <Method pattern="DM_EXIT" />	</Match>	<!-- match UuF warnings on fields of type com.foobar.DebugInfo on all classes -->	<Match>	  <Field type="com.foobar.DebugInfo" />	  <Bug code="UuF" />	</Match>]]></programlisting>	</para>	</sect1><sect1><title>Complete Example</title><programlisting><![CDATA[<FindBugsFilter>     <Match>       <Class name="com.foobar.ClassNotToBeAnalyzed" />     </Match>     <Match>       <Class name="com.foobar.ClassWithSomeBugsMatched" />       <Bug code="DE,UrF,SIC" />     </Match>     <!-- Match all XYZ violations. -->     <Match>       <Bug code="XYZ" />     </Match>     <!-- Match all doublecheck violations in these methods of "AnotherClass". -->     <Match>       <Class name="com.foobar.AnotherClass" />       <Or>         <Method name="nonOverloadedMethod" />         <Method name="frob

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲三级免费电影| 亚洲成人精品一区| 日韩av一区二区三区四区| 高清shemale亚洲人妖| 欧美丝袜自拍制服另类| 亚洲人精品午夜| 日韩一卡二卡三卡| 欧美韩日一区二区三区| 亚洲成人精品在线观看| 91麻豆福利精品推荐| 精品国产免费久久| 久久99精品一区二区三区| 欧美美女一区二区| 日韩影院精彩在线| 日韩精品影音先锋| 国产精品1区2区| 国产欧美日韩在线看| 波多野结衣一区二区三区| 中文字幕不卡在线观看| 色综合久久综合中文综合网| 亚洲图片欧美一区| 日本国产一区二区| 蜜桃视频在线观看一区| 久久嫩草精品久久久精品| 成人午夜视频福利| 亚洲国产日产av| 精品久久久久久久久久久久久久久久久| 亚洲成人一区二区| wwww国产精品欧美| 欧美三级韩国三级日本一级| 日本亚洲视频在线| 亚洲欧美日韩电影| 欧美变态口味重另类| 成人av先锋影音| 另类专区欧美蜜桃臀第一页| 国产精品九色蝌蚪自拍| 色天天综合久久久久综合片| 18欧美亚洲精品| 久久亚洲精品国产精品紫薇| 一本在线高清不卡dvd| 国产一区二区三区日韩| 一区二区三区四区不卡在线 | 亚洲国产综合91精品麻豆| 色综合天天天天做夜夜夜夜做| 天堂影院一区二区| 亚洲综合免费观看高清完整版| 精品sm在线观看| 欧美一级二级三级蜜桃| 欧美视频一区二区在线观看| 亚洲电影一级片| 国产亚洲精品bt天堂精选| 3atv在线一区二区三区| 色成人在线视频| 99综合电影在线视频| 国产黄色成人av| 国产91综合一区在线观看| 国产一区二区在线影院| 久久99精品久久只有精品| 精品在线观看视频| 粗大黑人巨茎大战欧美成人| 国产一区在线观看视频| 国产精品中文有码| 成人黄色在线网站| www.亚洲色图.com| 欧美系列亚洲系列| 欧美丝袜第三区| 欧美一级片免费看| 久久麻豆一区二区| 国产日韩欧美a| 亚洲成人av在线电影| 蜜桃精品视频在线| 从欧美一区二区三区| 欧美怡红院视频| 亚洲一区二区在线观看视频 | 亚洲猫色日本管| 亚洲另类春色校园小说| 亚洲成av人片一区二区三区 | 亚洲一区二区欧美激情| 日韩国产精品91| www.亚洲色图.com| 欧美一区二区人人喊爽| 国产精品免费视频一区| 亚洲午夜视频在线| 国产一区91精品张津瑜| 欧美日韩一区二区三区高清 | 成人欧美一区二区三区黑人麻豆| 国产精品情趣视频| 午夜精品久久久久久不卡8050| 国产精品一区二区在线播放| 91在线观看美女| 日韩欧美视频在线| 亚洲成精国产精品女| 国产精品综合久久| 日韩一区国产二区欧美三区| 欧美日韩成人在线| 精品国产乱码久久久久久图片| 日韩欧美久久一区| 亚洲色图.com| 成人免费三级在线| 26uuu亚洲| 精品亚洲porn| 欧美人动与zoxxxx乱| 一区二区免费在线播放| 波多野结衣在线一区| 国产人伦精品一区二区| 国产不卡视频一区二区三区| 久久九九影视网| 国内精品国产三级国产a久久| 日韩一级完整毛片| 久色婷婷小香蕉久久| 欧美不卡在线视频| 青青草国产成人av片免费| 4hu四虎永久在线影院成人| 首页综合国产亚洲丝袜| 日韩一卡二卡三卡四卡| 久久综合综合久久综合| 久久蜜桃av一区精品变态类天堂| 国产成人自拍网| 亚洲视频一二区| 欧美肥妇bbw| 国产精品一区三区| 日韩毛片一二三区| 91精品欧美久久久久久动漫| 韩国女主播一区二区三区| 久久先锋影音av鲁色资源网| 91免费视频网| 麻豆国产精品777777在线| 欧美xxxxx牲另类人与| 成人性生交大片免费看在线播放| 欧美国产一区在线| 91成人国产精品| 国产精品一线二线三线精华| 亚洲第一久久影院| 国产三级欧美三级日产三级99| 不卡电影免费在线播放一区| 婷婷综合五月天| 中文字幕一区二区三中文字幕| 欧美日韩国产精品成人| 97久久超碰国产精品电影| 久久超碰97人人做人人爱| 一区二区在线观看av| 国产欧美日韩精品一区| 精品日本一线二线三线不卡| 欧美视频一区二区三区在线观看 | 国产一区二区三区日韩| 日韩精品免费专区| 亚洲国产美国国产综合一区二区 | 7777精品伊人久久久大香线蕉的| 国产成都精品91一区二区三| 久久精品国产精品亚洲精品| 午夜精品久久久久久久久久 | 免费观看91视频大全| 一区二区欧美在线观看| 亚洲免费观看高清完整版在线| 国产丝袜欧美中文另类| 日韩一级精品视频在线观看| 日本91福利区| 亚洲超丰满肉感bbw| 亚洲一二三区在线观看| 日本欧美韩国一区三区| 一区二区成人在线观看| 欧美电影免费观看高清完整版在线| 欧美三级午夜理伦三级中视频| 色8久久人人97超碰香蕉987| 色综合久久久久综合99| 欧美系列一区二区| 欧美不卡一区二区三区四区| 久久色视频免费观看| 国产精品国产自产拍高清av| 亚洲欧美韩国综合色| 五月婷婷欧美视频| 国产美女精品人人做人人爽| 99re这里都是精品| 777亚洲妇女| 国产精品福利电影一区二区三区四区| 成人欧美一区二区三区在线播放| 亚洲一区二区三区中文字幕| 青娱乐精品视频在线| 91亚洲精品一区二区乱码| 欧美成人乱码一区二区三区| 91精品国产乱码| 99精品国产99久久久久久白柏| 欧美性猛交xxxxxx富婆| 精品噜噜噜噜久久久久久久久试看| 久久久不卡网国产精品一区| 亚洲一区二区视频在线观看| 国产91高潮流白浆在线麻豆| 欧美电影影音先锋| 亚洲乱码国产乱码精品精98午夜| 激情久久五月天| 这里只有精品免费| 亚洲国产欧美在线| 91在线观看视频| 中文字幕第一区综合| 国产伦精品一区二区三区免费| 欧美日韩成人综合天天影院 | 国产嫩草影院久久久久| 国内精品嫩模私拍在线| 日韩亚洲欧美成人一区| 国产日韩欧美电影|