换句话说,检测器是否需要记住它在方法、类、层次结构或者整个程序级别上看到了什么?
In other words, does the detector need to remember what it sees at the method, class, hierarchy, or whole program level?
适当地使用这些类及其包含的方法能够改善程序。
Proper use of these classes and their methods will improve your programs.
在编程语言上下文中,元数据是添加到程序元素如方法、字段、类和包上的额外信息。
In the programming language context, metadata is additional information attached to program elements such as methods, fields, classes, and packages.
例如,代理类可以把方法调用委托其他任何对象,甚至是处理程序本身。
For example, the proxy class could delegate the method invocation to any other object or even handle it itself.
应用程序实例化存根类并在本地调用它的方法。
Your application instantiates the stub class and calls its methods locally.
您可以执行这个类的助手方法,查看您的应用程序使用的特性和运行时版本。
You can execute the main helper method of this class to see features and runtime versions that your application USES.
调用处理程序类必须知道如何处理所有接口类型的方法调用。
The invocation handler class must know how to deal with method invocations of all the interface types.
我们还可以用这个方法测试非可视化应用程序类中的值。
We can in this way test values of non-visual application classes as well.
然后,在这些类文件中对适当方法的调用被编织入原始应用程序代码。
Then, calls to the appropriate methods in these class files are woven into the original application code.
当服务器报告一个意外的异常时,您可以检查关联堆栈跟踪的类和方法,来确定哪个应用程序导致了异常或者与异常有关。
When the server reports an unexpected exception, you can examine the classes and methods of the associated stack trace to determine which application caused, or was involved in, the exception.
基本布局类定义了不同的表单应用程序使用的全局方法和声明。
The base layout class defines the global methods and the declarations that different form applications use.
或许避免在程序执行期间创建这些类的最佳方式在于,避免在应用程序的时间关键型部分使用反射服务来从字符串映射类、字段或方法。
Probably the best way to avoid their creation during the program is to avoid using reflection services to map class, field, or methods from strings during the time-critical parts of your application.
虽然很多类、程序包和方法都可以通过功能测试进行测试,但是当您从一个程序员的角度而不是从一个用户的角度查看程序时,经常会发现不同的问题。
Although many classes, packages, and methods are tested by the functionality tests, you often find different problems when looking at the program from a programmer's view rather than a user's view.
因为每个服务实用程序类所需调用的UR n名和方法名都将是唯一的,所以它们都有其自己的实现。
Each service utility class has it own implementation, since the URN name and method name each needs to invoke will be unique.
调用处理程序类还会把方法调用委托到真正的实现类,以便处理核心业务逻辑。
The invocation handler class will also delegate method calls to a real implementation class in order to process the core business logic.
处理程序必须调用超类中的方法而是重写模块中的方法(如清单9所示)。
It is essential that the handler invoke methods in the superclass rather than methods in the overriding module (see Listing 9).
象对静态方法和类所做的那样,只要防止程序员在静态字段中引用泛型类型,情况就会好很多。
It would be much better to simply prevent the programmer from referring to generic types in static fields, as is done in the case of static methods and classes.
时序图利用建模系统的逻辑流程,详细描述了应用程序中各个类之间交互的系统方法,并且允许你对方法的入口和出口进行分类。
It does this by modeling the logic flow within your system, detailing interactions between your application's class methods and allowing you to journal method entries and exits.
供应商定义的工厂类将提供方法以允许程序员设置连接参数。
A vendor-defined factory class will expose methods that allow the programmer to set the connection parameters.
调用动态服务实用程序方法,从而提供对要调用的正确的服务实用程序类的映射。
Call the dynamic service utility method for providing mapping to the correct service utility classes to invoke.
解决类可视性问题的惟一方法是确保所有的应用程序类都可见。
The only way to resolve class visibility problems is to ensure that all the application classes are visible.
对程序中的某些类和方法,我需要了解它们被调用次数,各自平均执行时间和整体平均时间
For certain classes and methods in my application I want to see the invocation counts, the average self execution time and the average wall clock time.
它的检测方法本质上是重新定义程序执行中的大多数类和方法,结果必然会明显减缓程序执行速度。
It's instrumentation approach will essentially redefine most of the classes and methods that your application is executing, and as a result is likely to slow down your application significantly.
对代理类的方法调用,被分配给调用处理程序,而调用处理程序是在代理类生成的时候指定的。
Method invocations on a proxy class are dispatched to an invocation handler that is specified when the proxy class is generated.
在该文中,我们只是将类和方法名称作为参数传递给程序,程序加载二进制类文件,添加定时代码,然后写回该类。
In that article, we just passed the class and method name as command-line parameters to my program, which loaded the binary class file, added the timing code, then wrote the class back out.
清单2和清单3是一个简单的PHP应用程序,其中包含一个类、方法和一些包装器代码。
Listing 2 and Listing 3 show a simple PHP application with a class, methods, and some wrapper code.
然后将在以前使用的DB实用程序类中调用新方法。
It then calls a new method in the DB utility class we have used previously.
例如,实现类的实用程序方法不必放在远程接口上。
For example, utility methods on the implementation class don't have to exist on the remote interface.
一个为monkeyrunner程序提供工具方法的类。
Monkeyrunner: a class of utility methods for monkeyrunner programs.
虽然也可以在这个处理程序类中直接处理方法,但是更简洁的做法是将不同的方法类型(例如getter和setter)委托给不同的实现类。
It would be possible to handle methods directly in this handler class, but it's much cleaner to delegate different method types (getters and setters, for example) to different implementation classes.
应用推荐