在一个静态初始化块中,在加载类时执行。
In a static initializer block, which executes when the class is loaded.
当我们查询抽象类时,事情变得有些复杂。
Things get a little trickier when we query an abstract class.
在创建新存储类时,可指定本地和远程目标。
In creating a new storage class, both local and remote destination can be specified.
这里请注意类名,使用类时需要知道该名称。
Note here the name of the class, you'll need it for when you begin using it.
Ruby通常在加载类时使用宏来为类添加功能。
Ruby often USES macros to add capabilities to each class as it's loaded.
这样,新创建域类时它们就有适当的字段和事件闭包。
That way every new domain class created already has the fields and event closures in place.
当XML标记对应于一个类时,标记名就直接取自类名。
When an XML tag corresponds to a class, the tag name is taken directly from the class name.
比如,假设在记录这个lure类时,您并不关心颜色。
Suppose, for example, that you don't care about the color when logging the Lure class.
一个是当修改类时,必须修改它的表和它所有子类的表。
One is that when you modify a class you have to modify its table and the table of any of its subclasses.
比如,在向图中增加类时,它可以自动地画出这些关系。
For example, when adding a class to a diagram, it can draw all these relationships automatically.
编译器生成一些代码,用于在没有加载类时加载并解析类。
The compiler generates code that causes the class to be loaded and resolved, if it has not yet been loaded.
您启动类时,构造函数会加载您的Facebook插件。
When you initiate the class, the constructor loads your Facebook plug-in.
在修复bug或优化类时,非常容易破坏所有已有串行化对象。
It's particularly easy to break all existing serialized objects when fixing a bug or optimizing a class.
在选择对象类时,需要提供具体对象类中包含的所有必需属性。
When you select an object class, you need to supply all the mandatory attributes included in the particular object class.
将注释保留在编译后的类文件中,并在第一次加载类时读取它。
Retain the annotation in the compiled class file of the annotated class, and read it when the class first loads.
JVM在装载类时记录这个签名信息,并在运行时通过反射使它可用。
The JVM records this signature information when loading a class and makes it available at run time using reflection.
对于JiBX,处理类时最重要的部分是向编译的类表示中加入字节码。
In the case of JiBX, the most important part of its work with classes occurs when it's adding bytecode to the compiled class representations.
当消息的源和目标为对象或类时,标签是响应消息时所调用方法的签名。
When the source and target of a message is an object or class, the label is the signature of the method invoked in response to the message.
当使用 1.4JVM运行修改后的类时,输出与清单2中的相同。
When the modified classes are run using a 1.4 JVM, the output is the same as in Listing 2.
知道页面上的所有ID和类时,编写jQuery代码是非常简单的。
Writing jQuery code when you know every ID and class on the page can be very straightforward and easy.
您开发一个服务端点类时,您必须确保这个端点不维护任何属于客户机的状态。
As you develop a service endpoint class, you must ensure that this endpoint does not maintain any state pertaining to a client.
第二类问题发生在找到了您正试图使用的类,但没有找到它所导入的某个类时。
The second problem occurs when the class you are trying to use is found, but one of the classes it imports is not found.
当实现用例的新类时,必须创建一个新的DTO,并调整EJB以对其进行检索。
When you implement a new class of use case, you have to create a new DTO and go tweak the EJB to retrieve it.
每当引用源代码文件中还不包含的类时,调用 __autoload函数。
The PHP magic method __autoload function is called whenever a class is referenced that has not yet been included in the source file.
换句话说,在使用这类带有整型常量的类时,该解决方案也许可行,但并不是非常有效。
In other words, while using classes with integer constants like this might be a passable solution, it's not a very efficient one.
将该值设置为true会告诉Geronimo在查找类时使用标准Web应用程序范围。
Setting this value to true tells Geronimo to use standard Web application scoping when looking up classes.
类装入器通常保留它们所装入类的映射,从而当再次请求某个类时,能通过名称找到该类。
Class loaders normally keep a map of the classes they've loaded, to be able to find one by name if it's requested again.
这样,当您在Eclipse中编译类时,JPA增强程序将作为该构建的一部分来运行。
This way, when you compile your classes in Eclipse, the JPA enhancer will run as part of the build.
用户应该理解元类型冲突的原因和解决方案,当您想使用多个定制的元类时,这将非常必要。
Users should understand the cause and the resolution of metatype conflicts. This becomes essential when you want to use more than one custom metaclass.
在FindBugs分析类时,它会在分析方法内容时调用visit (Code)方法。
As FindBugs analyzes a class, it will call the visit (Code) method when the contents of a method are walked.
应用推荐