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

📄 findbugs

📁 A static analysis tool to find bugs in Java programs
💻
字号:
#! /bin/sh# Launch FindBugs from the command line.@DEFINE_ESCAPE_ARG@@GET_FBHOME@@SET_DEFAULT_JAVA@maxheap=768ShowHelpAndExit() {	fb_appjar="$findbugs_home/lib/findbugsGUI.jar"	fb_mainclass="edu.umd.cs.findbugs.ShowHelp"	@WRAP_JAVA@	exit 0}# Set defaultsfb_appjar="$findbugs_home/lib/findbugsGUI.jar"fb_mainclass="edu.umd.cs.findbugs.LaunchAppropriateUI"user_jvmargs=''debug_arg=''conservespace_arg=''workhard_arg=''user_props=''# Handle command line arguments.while [ $# -gt 0 ]; do	case $1 in	-gui)		# this is the default		;;	-gui1)		user_props="-Dfindbugs.launchUI=1 $user_props"		;;	-textui)		fb_appjar="$findbugs_home/lib/findbugs.jar"		fb_mainclass="edu.umd.cs.findbugs.FindBugs2"		;;	-jvmArgs)		shift		user_jvmargs="$1"		;;	-maxHeap)		shift		maxheap="$1"		;;	-javahome)		shift		fb_javacmd="$1/bin/java"		;;	-debug)		debug_arg="-Dfindbugs.debug=true"		;;	-conserveSpace)		conservespace_arg="-Dfindbugs.conserveSpace=true"		;;	-property)		shift		user_props="-D$1 $user_props"		;;		-D*=*)		user_props="$1 $user_props"		;;	-version)		fb_mainclass=edu.umd.cs.findbugs.Version		fb_appargs="-release"		while [ $# -gt 0 ]; do			shift		done		@WRAP_JAVA@		exit 0		;;	-help)		ShowHelpAndExit		;;	# All unrecognized arguments will be accumulated and	# passed to the application.	*)		fb_appargs="$fb_appargs `escape_arg "$1"`"		;;	esac	shiftdonefb_jvmargs="$user_jvmargs $debug_arg $conservespace_arg $workhard_arg $user_props"fb_maxheap="-Xmx${maxheap}m"# Extra JVM args for MacOSX.if [ $fb_osname = "Darwin" ]; then	fb_jvmargs="$fb_jvmargs \		-Xdock:name=FindBugs -Xdock:icon=${findbugs_home}/lib/buggy.icns \		-Dapple.laf.useScreenMenuBar=true"fi@WRAP_JAVA@# vim:ts=3

⌨️ 快捷键说明

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