当前位置: 首页>>代码示例>>Java>>正文


Java Return类代码示例

本文整理汇总了Java中com.sun.btrace.annotations.Return的典型用法代码示例。如果您正苦于以下问题:Java Return类的具体用法?Java Return怎么用?Java Return使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


Return类属于com.sun.btrace.annotations包,在下文中一共展示了Return类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: afterdoAction_return

import com.sun.btrace.annotations.Return; //导入依赖的package包/类
@OnMethod(clazz = DS_CLASS_HTTP_CLIENT, method = "doAction", location = @Location(Kind.RETURN) )
public static void afterdoAction_return(@Return Object connection) {
	// 메소드 내용 진입후
	println("afterdoAction_return");
	println(connection);
	BTraceUtils.printFields(connection);
	println("after doaction");

}
 
开发者ID:callakrsos,项目名称:Gargoyle,代码行数:10,代码来源:SosRequestCapture.java

示例2: onGetInputStream

import com.sun.btrace.annotations.Return; //导入依赖的package包/类
@OnMethod(
		clazz = "+java.net.JarURLConnection",
		method = "getInputStream",
		location = @Location(Kind.RETURN))
public static void onGetInputStream(@Self Object thisObject,
		@Return Object inputStreamInstance) {
	liveStreams.put(identityHashCode(inputStreamInstance), jstackStr());
}
 
开发者ID:lhotari,项目名称:gradle-profiling,代码行数:9,代码来源:JarURLInputStreamTracer.java

示例3: onGetDataSource2

import com.sun.btrace.annotations.Return; //导入依赖的package包/类
@OnMethod(clazz = DS_CLASS, type = "void (java.lang.String, java.lang.String, java.lang.String)", method = "getConnection", location = @Location(Kind.RETURN))
public static void onGetDataSource2(@Return Connection connection, String url, String id, String pass) {
	println("url  :" + url + "\nid : " + id + "\npass : " + pass);
	printFields(connection);
}
 
开发者ID:callakrsos,项目名称:Gargoyle,代码行数:6,代码来源:MyTestConnectionManager.java

示例4: onGetDataSource3

import com.sun.btrace.annotations.Return; //导入依赖的package包/类
@OnMethod(clazz = DS_CLASS, type = "void (java.lang.String, java.lang.String, java.lang.String, java.lang.String)", method = "getConnection", location = @Location(Kind.RETURN))
public static void onGetDataSource3(@Return Connection connection, String driver, String url, String id, String pass) {
	println("driver : " + driver + "\nurl : " + url + "\nid : " + id + "\npass : " + pass);
	printFields(connection);
}
 
开发者ID:callakrsos,项目名称:Gargoyle,代码行数:6,代码来源:MyTestConnectionManager.java

示例5: args

import com.sun.btrace.annotations.Return; //导入依赖的package包/类
@OnMethod(clazz="/.*\\.OnMethodTest/", method="callTopLevel",
          [email protected](value=Kind.CALL, clazz="/.*\\.OnMethodTest/", method="callTarget", where=Where.AFTER))
public static void args(@Return long retVal, String a, long b) {
    println("args");
}
 
开发者ID:haitaoyao,项目名称:btrace,代码行数:6,代码来源:MethodCallReturn.java

示例6: args

import com.sun.btrace.annotations.Return; //导入依赖的package包/类
@OnMethod(clazz="/.*\\.OnMethodTest/", method="args", [email protected](value=Kind.RETURN))
public static void args(@Self Object self, @Return long retVal, String a, long b, String[] c, int[] d) {
    println("args");
}
 
开发者ID:haitaoyao,项目名称:btrace,代码行数:5,代码来源:ArgsReturn.java

示例7: args

import com.sun.btrace.annotations.Return; //导入依赖的package包/类
@OnMethod(clazz="/.*\\.OnMethodTest/", method="args", [email protected](value=Kind.RETURN))
public static void args(@Self Object self, @Return long retVal, @Duration long dur, String a, long b, String[] c, int[] d) {
    println("args");
}
 
开发者ID:haitaoyao,项目名称:btrace,代码行数:5,代码来源:ArgsDuration.java

示例8: args

import com.sun.btrace.annotations.Return; //导入依赖的package包/类
@OnMethod(clazz="/.*\\.OnMethodTest/", method="args", [email protected](value=Kind.RETURN))
public static void args(@Self Object self, @Return long retVal, @Duration Long dur, String a, long b, String[] c, int[] d) {
    println("args");
}
 
开发者ID:haitaoyao,项目名称:btrace,代码行数:5,代码来源:ArgsDurationBoxed.java

示例9: args

import com.sun.btrace.annotations.Return; //导入依赖的package包/类
@OnMethod(clazz="/.*\\.OnMethodTest/", method="newArray",
          [email protected](value=Kind.NEWARRAY, clazz="int", where=Where.AFTER))
public static void args(@Self Object self, @Return int[] retVal) {
    println("args");
}
 
开发者ID:haitaoyao,项目名称:btrace,代码行数:6,代码来源:NewArrayIntAfter.java

示例10: args

import com.sun.btrace.annotations.Return; //导入依赖的package包/类
@OnMethod(clazz="/.*\\.OnMethodTest/", method="newObject",
          [email protected](value=Kind.NEW, clazz="/.*/", where=Where.AFTER))
public static void args(@Self Object self, @Return Map instance, String instanceClassName) {
    println("args");
}
 
开发者ID:haitaoyao,项目名称:btrace,代码行数:6,代码来源:NewAfter.java

示例11: args

import com.sun.btrace.annotations.Return; //导入依赖的package包/类
@OnMethod(clazz="/.*\\.OnMethodTest/", method="newArray",
          [email protected](value=Kind.NEWARRAY, clazz="java.lang.String", where=Where.AFTER))
public static void args(@Self Object self, @Return String[] retVal) {
    println("args");
}
 
开发者ID:haitaoyao,项目名称:btrace,代码行数:6,代码来源:NewArrayStringAfter.java

示例12: args2

import com.sun.btrace.annotations.Return; //导入依赖的package包/类
@OnMethod(clazz="/.*\\.OnMethodTest/", method="/arg.*/", [email protected](value=Kind.RETURN))
public static void args2(@Self Object self, @Return long retVal, @Duration long dur, String a, long b, String[] c, int[] d) {
    println("args");
}
 
开发者ID:haitaoyao,项目名称:btrace,代码行数:5,代码来源:ArgsDuration2.java

示例13: args

import com.sun.btrace.annotations.Return; //导入依赖的package包/类
@OnMethod(clazz="/.*\\.OnMethodTest/", method="field",
          [email protected](value=Kind.FIELD_GET, clazz="resources.OnMethodTest", field="field", where=Where.AFTER))
public static void args(@Self Object self, @TargetInstance Object inst, @TargetMethodOrField String fldName, @Return int fldVal) {
    println("args");
}
 
开发者ID:haitaoyao,项目名称:btrace,代码行数:6,代码来源:FieldGetAfter.java

示例14: args

import com.sun.btrace.annotations.Return; //导入依赖的package包/类
@OnMethod(clazz="/.*\\.OnMethodTest/", method="array",
          [email protected](value=Kind.ARRAY_GET, where=Where.AFTER))
public static void args(@Self Object self, @Return int retVal, int[] arr, int index) {
    println("args");
}
 
开发者ID:haitaoyao,项目名称:btrace,代码行数:6,代码来源:ArrayGetAfter.java

示例15: args

import com.sun.btrace.annotations.Return; //导入依赖的package包/类
@OnMethod(clazz="/.*\\.OnMethodTest/", method="args$static", [email protected](value=Kind.RETURN))
public static void args(String a, @Return long retVal, long b, String[] c, int[] d) {
    println("args");
}
 
开发者ID:haitaoyao,项目名称:btrace,代码行数:5,代码来源:StaticArgsReturn.java


注:本文中的com.sun.btrace.annotations.Return类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。