| |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MethodDesc | |
jellyj.util |
Uses of MethodDesc in jellyj.util |
Methods in jellyj.util that return MethodDesc | |
MethodDesc | ClassType.findMethod(MethodDesc mdesc) Search for a method in this type or in any of its super types Returns the closest unique occurrence of a method type, that is most specific, or null if no match was established If the most specific method type is not unique, than we have 2 cases : - if the 2 methods are defined in the same class, than an ambiguous type error is thrown - if the 2 mthods are defined in different classes, than we have 2 sub cases - if the 2 method types are identical, than the one closer to the leaf of the type hierarchy overrides the one higher up - if the 2 method types are not identical, then a ambiguous type error is thrown If a more specific method type is encountered higher up in the type hierarchy, then this also results in an ambiguous type error |
Methods in jellyj.util with parameters of type MethodDesc | |
MethodDesc | ClassType.findMethod(MethodDesc mdesc) Search for a method in this type or in any of its super types Returns the closest unique occurrence of a method type, that is most specific, or null if no match was established If the most specific method type is not unique, than we have 2 cases : - if the 2 methods are defined in the same class, than an ambiguous type error is thrown - if the 2 mthods are defined in different classes, than we have 2 sub cases - if the 2 method types are identical, than the one closer to the leaf of the type hierarchy overrides the one higher up - if the 2 method types are not identical, then a ambiguous type error is thrown If a more specific method type is encountered higher up in the type hierarchy, then this also results in an ambiguous type error |
| |||||||||
PREV NEXT | FRAMES NO FRAMES |