接着将类文件打包到一个JAR中。
对二进制类文件运行md5算法。
在这个目录中,可以获得多个类文件。
成功编译之后将产生类文件。
对象、类文件,和方法名称。
行覆盖率:类文件中覆盖的行百分比。
Line coverage: the percentage of lines covered in the class file.
最后一点,它只写到实际更改的类文件。
Finally, it only writes to class files that have actually been changed.
编译源代码来创建类文件。
第一步是手动地确认所有类文件的位置。
The first and foremost step is to manually validate the locations of all of your class files.
现在,让我们来看看实现该插件的类文件。
Now, let's look at the actual class file that implements the plug-in.
然后,在BLL文件夹中创建4个类文件。
不必重新编译类文件。
这生成一个类文件。
第二个包中的类文件实现了第一个包中的接口。
The class files from the second package implement the interfaces from the first.
它也不包含类文件。
这将删除前一次构建中使用的源代码和类文件。
This deletes the source code and class files that were used in the previous build.
此信息包含类名、其软件包以及类文件的位置。
The information includes the class name, its package, and the class file's location. The format of this information is similar to the following.
筛选器类文件位于JAR文件内相应的包目录中。
The filter class file in the appropriate package directory within the JAR file.
类文件存在吗?
创建简单的报告,列出每个类文件及其对应的校验和。
Create a simple report that lists each class file and its corresponding checksum.
编译器接受每一个方面,并建立包含通知代码的类文件。
The compiler takes each aspect and creates class files that contain the advice code.
将注释保留在编译后的类文件中,但是在运行时忽略它。
Retain the annotation in the compiled class file, but ignore it at runtime.
一旦您完成了绑定定义,就需要实际地将其编译成类文件。
Once you've got your binding definition, you need to actually compile it into the class files.
例如,不要将属性文件、类文件或其他重要信息放在那里。
For example, don't put property files, class files, or other important information there.
按照规定使用注释,但是并不将它保留到编译后的类文件中。
Use the annotation as indicated, but then discard it in the compiled class file.
实际的类文件修改是由称为绑定编译器的JiBX组件完成的。
The actual class file modifications are done by a JiBX component called the binding compiler.
您可以启动NewClass向导,并使用它来创建类文件。
You can invoke the New class wizard and use it to create the class file.
把注释与类文件修改组合起来可以提供一种走出这一困境的方法。
Combining annotations with class file modification can provide a way out of this dilemma.
将注释保留在编译后的类文件中,并在第一次加载类时读取它。
Retain the annotation in the compiled class file of the annotated class, and read it when the class first loads.
它们三个的源文件和类文件可以在本文中附带的代码包中找到。
The source and class files for all three can be found in the code package that accompanies this article.
应用推荐