相反,它允许通过引入附加的方法字段和属性来修改对象的结构。
Rather, static crosscutting allows you to alter the structure of an object by introducing additional methods, fields, and properties.
如果客户机能够调用方法或访问字段,那么就测试它。
在这一阶段不处理方法、字段和引用的其他类。
Methods, fields, and other referenced classes are not dealt with at this stage.
这些项后面是有关字段和方法的信息,它们本身用复杂结构表示。
These items are followed by information about the fields and methods, which are themselves represented as complex structures.
它还包括该类定义的构造函数、字段和方法的详细信息。
It also includes details of the constructors, fields, and methods defined by the class.
转换类型可分为三类:方法调用转换、字段访问转换和新对象转换。
These fall into three categories: method call transformations, field access transformations, and a new object transformation.
注释是可以添加到代码中的修饰符,可以用于包声明、类型声明、构造函数、方法、字段、参数和变量。
Annotations are modifiers you can add to your code and apply to package declarations, type declarations, constructors, methods, fields, parameters, and variables.
编译集的主要功能就是要保存符号列表,像命名空间、类型、方法、字段、事件、局部变量以及标签等等。
The compilation’s primary role is to hold the list of symbols such as namespaces, types, methods, fields, events, local variables, and labels.
这种做法并不常见,因为需要开发人员创建仅用于访问非实例(静态)方法和字段的对象的实例。
This is unusual because it requires a developer to create an instance of an object just to access non-instance (static) methods and fields!
反射是运行时发现的关于给定类或接口的信息,如方法、字段和构造函数。
Reflection is the runtime discovery of information, such as methods, fields, and constructors, about a given class or interface.
在编程语言上下文中,元数据是添加到程序元素如方法、字段、类和包上的额外信息。
In the programming language context, metadata is additional information attached to program elements such as methods, fields, classes, and packages.
这个阶段准备代表每个类中定义的字段、方法和实现接口所必需的数据结构。
This stage prepares the necessary data structures that represent fields, methods, and implemented interfaces that are defined within each class.
您得花些时间去学习上述类中所包含的字段和方法。
You should spend some time studying the fields and methods included in the classes mentioned above.
与直接在已编译代码中调用方法或访问字段相比,反射在性能上也处于劣势。
Reflection also suffers a performance disadvantage when compared to calling a method or accessing a field directly in compiled code.
支持导入常量:这个特性使静态方法和字段能够被导入,这样在访问静态成员时就不必使用完全限定的类名。
Support for importing constants: This facility allows static methods and fields to be imported, avoiding the need to use fully qualified class names when accessing static members.
该属性是一个简单的文本值,为类、字段、方法或变量解码泛型信息。
This attribute is a simple text value that encodes the generics information for a class, field, method, or variable.
我们会在“当方法和字段存取器无法区分时:唯一存取的原则”章节中讨论唯一存取原则时看到原因。
We'll see why when we discuss the Uniform Access Principle in the section called "when Accessor Methods and Fields Are Indistinguishable: the Uniform Access Principle" below.
哪些方法分配了特定的字段?
标注作为修饰符,可以添加到包、类、接口、方法或字段声明中。
Annotations serve as modifiers that can be added to packages, classes, interfaces, methods, or field declarations.
除了请求方法和头字段外,通常不需要指定任何其他信息。
Oftentimes you will not need to specify any additional information beyond the request method and header fields.
这很容易在GUI编辑器中完成,方法与您前面添加字段的方法相同。
This is done easily in the GUI editor the same way you added fields earlier.
当用于字段和方法接入时反射要远慢于直接代码。
Reflection is much slower than direct code when used for field and method access.
创建字段的方法也有两种。
JSDT试图解析对象的所有字段和方法。
JSDT attempts to resolve all fields and methods for an object.
该文件没有任何明显错误,我们不想除去任何方法或字段,所以我们不需编辑它。
This file does not have any obvious mistakes, and we do not want to remove any of the methods or fields, so we do not need to edit it.
它给出了加载的每一个类的每一个方法中所做的工作的详细分析,列出了所有方法调用、字段访问和新对象创建。
This gives the detailed breakdown of what's being done within each method of each class loaded, listing all method calls, field accesses, and new object creations.
方法描述符结合了字段描述符,以指定方法的参数类型和返回类型。
A method descriptor just combines field descriptors to specify the parameter types and return type of a method.
清单6显示了样例字段和方法。
下面是我们使用的gdata . spreadsheet方法和字段。
在class标签中是字段、方法和构造函数。
Within the class tags are the fields, methods, and constructors.
应用推荐