反射是运行时发现的关于给定类或接口的信息,如方法、字段和构造函数。
Reflection is the runtime discovery of information, such as methods, fields, and constructors, about a given class or interface.
带注解的类包含JAXB运行时解析xml(为了进行编组和反编组)所需的所有信息,还可以通过一个可选的步骤检验文档。
The annotated classes contain all the necessary information for the JAXB runtime to parse the XML for marshalling and unmarshalling, and in an optional step, to validate documents.
JVM在装载类时记录这个签名信息,并在运行时通过反射使它可用。
The JVM records this signature information when loading a class and makes it available at run time using reflection.
注释的定义是为了控制方法参数和类成员的注入,它们在运行时的整个过程向应用程序提供了有价值的上下文信息。
Annotations are defined that govern injection of method parameters and class members, which provide valuable contextual information to applications during runtime.
在部署于WebSphereApplicationServer上的任何应用程序的类和包的任何聚集中,都可以获得有用的运行时跟踪信息。
Useful run-time trace information is obtainable on any collection of classes or packages from any application deployed on WebSphere application Server.
我更喜欢在类的内部说明类的运行时行为,将有关类的所有信息集中保存在一个地方。
I prefer specification of the runtime behavior of a class within the class itself, keeping all the information about a class in one place.
构建类列表需要在应用程序运行时从其中收集信息,或者使用一个实用工具来确定应用程序将加载哪些类。
Building the list of classes requires gathering information from your application while it runs, or using a utility that can determine which classes your application will load.
它提供了有关JVM的详细信息,包括总的运行时间、线程信息、装载的类、内存统计信息、垃圾收集和操作系统信息。
It provides detailed information about the JVM, including total uptime, threading information, classes loaded, memory statistics, garbage collection, and operating-system information.
运行时缺乏类型信息,这给泛型容器类和希望创建保护性副本的泛型类提出了难题。
This lack of type information at runtime poses a problem for generic container classes and for generic classes that want to make defensive copies.
反射使您能够运行时接入广泛的类信息。
Reflection gives you run-time access to a variety of class information.
运行时需要这些信息当你发送消息给你的类或者实例时响应这些消息。
The runtime needs this information when responding to messages that message your class or it's instances.
参数化类使您可以根据运行时获取或计算的信息创建记录集查询。
A parameterized class lets you base a recordset query on information obtained or calculated at run time.
当执行代码时,运行时将元数据加载到内存中,并引用它来发现有关代码的类、成员、继承等信息。
When code is executed, the runtime loads metadata into memory and references it to discover information about your code's classes, members, inheritance, and so on.
当执行代码时,运行时将元数据加载到内存中,并引用它来发现有关代码的类、成员、继承等信息。
When code is executed, the runtime loads metadata into memory and references it to discover information about your code's classes, members, inheritance, and so on.
应用推荐