⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 methodwarningsuppressor.java

📁 A static analysis tool to find bugs in Java programs
💻 JAVA
字号:
package edu.umd.cs.findbugs;public class MethodWarningSuppressor extends ClassWarningSuppressor {	MethodAnnotation method;	public MethodWarningSuppressor(String bugPattern, ClassAnnotation clazz, MethodAnnotation method) {		super(bugPattern, clazz);		this.method = method;		}	@Override	public boolean match(BugInstance bugInstance) {		if (!super.match(bugInstance)) return false;	MethodAnnotation bugMethod = bugInstance.getPrimaryMethod();	if (bugMethod != null &&		!method.equals(bugMethod)) return false;	if (DEBUG)	System.out.println("Suppressing " + bugInstance);	return true;	}}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -