|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcn.wensiqun.asmsupport.utils.chooser.MethodChooser
public class MethodChooser
| 字段摘要 | |
|---|---|
protected AClass[] |
argumentTypes
|
protected AClass |
directCallClass
what class call |
protected String |
name
method name |
protected AClass |
whereCall
where is this method invoke operator |
| 构造方法摘要 | |
|---|---|
MethodChooser(AClass whereCall,
AClass directCallClass,
String name,
AClass[] argumentTypes)
|
|
| 方法摘要 | |
|---|---|
MethodEntity |
chooseMethod()
|
MethodEntity |
choosingTheMostSpecificMethod(List<MethodEntity> entities)
Choosing the Most Specific Method reference to : The Java™ Language Specification 15.12.2.5 |
MethodEntity |
firstPhase()
Phase 1 Identify Matching Arity Methods Applicable by Subtyping reference to : The Java™ Language Specification 15.12.2.2 |
Map<AClass,List<MethodEntity>> |
identifyPotentiallyApplicableMethods()
jsl3 := The Java™ Language Specification Third Edition A member method is potentially applicable to a method invocation if and only if all of the following are true: The name of the member is identical to the name of the method in the method invocation. |
MethodEntity |
secondPhase()
Phase 2: Identify Matching Arity Methods Applicable by Method Invocation Conversion reference to : The Java™ Language Specification 15.12.2.3 |
MethodEntity |
thirdPhase()
Phase 3: Identify Applicable Variable Arity Methods reference to : The Java™ Language Specification 15.12.2.4 |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 字段详细信息 |
|---|
protected AClass whereCall
protected AClass directCallClass
protected String name
protected AClass[] argumentTypes
| 构造方法详细信息 |
|---|
public MethodChooser(AClass whereCall,
AClass directCallClass,
String name,
AClass[] argumentTypes)
| 方法详细信息 |
|---|
public MethodEntity chooseMethod()
IMethodChooser 中的 chooseMethodpublic Map<AClass,List<MethodEntity>> identifyPotentiallyApplicableMethods()
DetermineMethodSignature 复制的描述jsl3 := The Java™ Language Specification Third Edition
A member method is potentially applicable to a method invocation if and only if all of the following are true:
DetermineMethodSignature 中的 identifyPotentiallyApplicableMethodspublic MethodEntity firstPhase()
DetermineMethodSignature 复制的描述
Phase 1 Identify Matching Arity Methods Applicable by Subtyping
DetermineMethodSignature 中的 firstPhasepublic MethodEntity secondPhase()
DetermineMethodSignature 复制的描述Phase 2: Identify Matching Arity Methods Applicable by Method Invocation Conversion
reference to : The Java™ Language Specification 15.12.2.3
DetermineMethodSignature 中的 secondPhasepublic MethodEntity thirdPhase()
DetermineMethodSignature 复制的描述Phase 3: Identify Applicable Variable Arity Methods
reference to : The Java™ Language Specification 15.12.2.4
DetermineMethodSignature 中的 thirdPhasepublic MethodEntity choosingTheMostSpecificMethod(List<MethodEntity> entities)
DetermineMethodSignature 复制的描述
Choosing the Most Specific Method
DetermineMethodSignature 中的 choosingTheMostSpecificMethod
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||