classforpointinfo.java

来自「随书光盘:精通Sping 2.0 的随书源代码」· Java 代码 · 共 38 行

JAVA
38
字号
package test.pointcut;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

/**
 * 
 * @author worldheart
 *
 */
@ForYou
public class ClassForPointInfo {

	protected static final Log log = LogFactory.getLog(ClassForPointInfo.class);
		
	public String getInfo1(){
		return "getInfo1()";
	}
	
	public String getInfo1(String str){
		return "getInfo1(String str)";
	}
	
	public String getInfo1(String str, int i) throws RuntimeException{
		return "getInfo1(String str, int i) throws RuntimeException";
	}
	
	public void setInfo2(AnnotationParam ap){
		log.info(ap);
	}
	
	@ForYou
	public void setInfo3(){
		;
	}
	
}

⌨️ 快捷键说明

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