在他们的情况中,通过直接处理类文件,同时向编译器所生成的类添加代码以便为框架提供直接访问,来避免使用反射。
In their case, they avoided using reflection by instead working directly with class files, adding code to the classes generated by the compiler in order to provide direct access for the framework.
研究表明:大多数虚调用只有一个目标对应于所有的接收方对象,而JIT编译器可以为直接调用生成比虚调用更有效率的代码。
Research has shown that most virtual invocations have only a single target for all receiver objects, and JIT compilers can generate more-efficient code for a direct call than for a virtual invocation.
在此方法中,在应用程序框架之上直接生成了大量应用程序代码,并且不需要开发人员的修改。
In this approach, a large amount of the application code is generated directly on top of the application framework and requires no modification by the developer.
所生成的链接代码使用所选数据绑定框架处理数据结构与xml之间的转换细节,让您的应用程序直接访问数据结构。
The generated linkage code handles the details of converting data structures to and from XML using your chosen data-binding framework, giving your application direct access to the data structures.
ejb可视化编辑器提供了图形化的编辑器,例如uml类图,可用于直接向自动生成相应代码的EJB项目中添加eJB组件。
The EJB Visual editor provides graphical editors, such as UML class diagrams, for adding EJB components directly into an EJB project that automatically generates the corresponding code.
正像例子中展示的那样,生成的过程既简单又直接,所有的定制代码都支持定制。
As shown in the examples, generation is simple and straightforward, and all of the customized code supports customization.
注意:所有这些内容均可在生成时直接在WSDL和操作代码中更改。
NOTE: All this can be changed directly in the WSDL and in the action code when it is generated.
此服务代码以框架实现的形式生成,其中包含直接引发异常的服务方法。
This service code is generated in the form of a skeleton implementation, with service methods that just throw an exception.
该软件还能够由模型直接生成代码,并由代码生成模型,这使您全面掌控了模型何时及如何与代码保持同步。
This software can also generate code directly from your models and generate models from your code, which gives you full control over when and how models are synchronized with your code.
EMF 产生的代码使得可以直接生成API ,用来支持WSDL 文件的编组和解组,以及底层的模型管理。
Using the EMF-based code generation allows for a very straight-forward creation of an API that supports both WSDL marshalling and unmarshalling and underlying model manipulation.
再对这些文件进行一些手工编辑,则可以避免生成用于该对象类的新代码,直接链接到Castor映射绑定所使用的现有的类。
With more manual editing of the files I could have avoided generating new code for the object classes, instead linking directly to the existing classes used by the Castor mapped binding.
此问题的一个解决方法是,消除客户机或框架代码的生成工作,通过通用HTTP客户机直接调用Web服务。
One solution to this problem is to eliminate the generation of the client or skeleton code and invoke the web service directly through a generic HTTP client.
此问题的解决方法是,消除客户机或框架代码的生成工作,通过通用HTTP客户机直接调用Web服务。
A solution to this problem is to eliminate the generation of the client or skeleton code and invoke the web service directly through a generic HTTP client.
在清单3中,servlet直接打开到客户端的流并使用生成的代码编写到流的二进制协议buffers数据。
In Listing 3, the servlet opens up a stream directly to the client and USES the generated code to write the binary protocol buffers data to the stream.
该目录的内容与XDoclet代码生成的执行方式直接相关。
The contents of this directory relate directly to the way XDoclet code generation is performed.
RoRRoR处理创建的模板,生成HTML代码,控制器的直接传入请求和模型,使数据库都处于活动状态对象中。
RoR deals with creating the templates that generate HTML code, the controllers that direct incoming requests and the model that makes the database come alive in objects.
您可以直接通过sql语句和存储过程生成DataWebServices,无需编写任何应用程序代码。
You can generate Data Web Services directly from SQL statements and stored procedures without writing a single line of application code.
RJCB 生成的桥代码可以进行直接的、针对特定接口的 vtable调用。
The RJCB-generated bridge code makes direct, interface-specific vtable calls.
有关格式的知识不在解析器中,而是在模型中,模型可由解析器在运行时直接访问,或者将其生成为解析器可调用的代码。
The knowledge of the format is not in the parser but in the model, which is either accessed directly by the parser at run time, or generated into code that the parser invokes.
绑定编译器的早期版本不经历构造代码生成模型这一步,而是直接从绑定生成代码。
Early versions of the binding compiler did not go through this step of constructing a code generation model, instead generating code directly from the binding.
直接向此类添加代码的缺点在于,如果服务器接口更改,则需要重新生成此类并包含更改。
The downside of adding code directly to this class is that if the service interface changes, you need to regenerate the class and merge your changes.
所生成的对象模型方法的主要缺点是它使您的代码与XML文档结构直接相关。
The main drawback to the generated object model approach is that it ties your code directly to the structure of the XML document.
它同时(利用可视化工具)还产生了对于模型生成代码的直接连接。
It also provides a direct link to modeling of the generated code (using visualization tools).
当对合适的WSDL服务定义使用取消包装操作时,生成的客户机存根(以及服务器代码框架)将更为简单和直接。
When unwrapping is used with a suitable WSDL service definition, the generated client stub (and also the server skeleton) is simpler and more direct.
但是在Microsoft . NETWeb服务实现当中,如果您允许. NET框架生成WSDL文件,那么目标命名空间就会直接从您在代码中的定义生成。
But in Microsoft.net Web services implementations, if you allow the.net framework to generate the WSDL file, the target namespace comes directly from what you have defined in the code.
直接流端口和直接关系的最优化代码,以最优化初始化和为这些构建生成代码的数量。
Optimized code for direct flow ports and direct relationships to optimize the initialization and amount of code that generates for these constructs.
以编程方式将生成的SOAPElement映射到xsd:group数据类型是一种脆弱的解决方案,并违反了尽可能避免直接修改所生成的代码的实践。
Programmatically mapping the generated SOAPElement to the XSD: group data type is a brittle solution and goes against the practice of minimizing direct modification of generated code.
此外,你可以直接将其他任何xUnit框架集成到FlexMonkey中并生成代码,就像我们对FlexUnit所做的一样 (请放心大胆地去做吧)。
Additionally, it would be straightforward to generate code and integrate FlexMonkey with any other xUnit framework in the same way we have done for FlexUnit. (Please feel free to volunteer!).
也就是说,我们不必要先在后台建立好数据库,可以用代码直接生成我们想要的数据库表,并且可以随意访问数据库。
In other words, it is unnecessary to establish a database first in the background, we can generate the database that we need with direct code, and can visits the database at random.
要直接向锁匠下单,应用会生成一个代码供锁匠配制钥匙。
To order a key from a locksmith, the app produces a code that the locksmith can use to create the duplicate.
应用推荐