|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |
A cache of introspection information for a specific class instance. Keys {@link java.lang.Method} objects by a concatenation of the method name and the names of classes that make up the parameters.
Constructor Summary | |
---|---|
ClassMap(System.Type clazz) Standard constructor |
|
ClassMap() Initializes a new instance of the ClassMap class. |
Method Summary | |
---|---|
System.Reflection.MethodInfo |
findMethod(string name, object[] params_Renamed) Find a Method using the methodKey provided. Look in the methodMap for an entry. If found, it'll either be a CACHE_MISS, in which case we simply give up, or it'll be a Method, in which case, we return it. If nothing is found, then we must actually go and introspect the method from the MethodMap. |
System.Reflection.PropertyInfo |
findProperty(string name) Find a Method using the methodKey provided. Look in the methodMap for an entry. If found, it'll either be a CACHE_MISS, in which case we simply give up, or it'll be a Method, in which case, we return it. If nothing is found, then we must actually go and introspect the method from the MethodMap. |
System.Reflection.MethodInfo |
getPublicMethod(System.Reflection.MethodInfo method) For a given method, retrieves its publicly accessible counterpart. This method will look for a method with same name and signature declared in a public superclass or implemented interface of this method's declaring class. This counterpart method is publicly callable. |
System.Reflection.PropertyInfo | getPublicProperty(System.Reflection.PropertyInfo property) |
Methods inherited from class System.Object |
---|
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString |
Constructor Detail |
---|
public ClassMap(System.Type clazz)
Standard constructor
public ClassMap()
Initializes a new instance of the ClassMap class.
Method Detail |
---|
public System.Reflection.MethodInfo findMethod(string name, object[] params_Renamed)
Find a Method using the methodKey provided. Look in the methodMap for an entry. If found, it'll either be a CACHE_MISS, in which case we simply give up, or it'll be a Method, in which case, we return it. If nothing is found, then we must actually go and introspect the method from the MethodMap.
public System.Reflection.PropertyInfo findProperty(string name)
Find a Method using the methodKey provided. Look in the methodMap for an entry. If found, it'll either be a CACHE_MISS, in which case we simply give up, or it'll be a Method, in which case, we return it. If nothing is found, then we must actually go and introspect the method from the MethodMap.
public System.Reflection.MethodInfo getPublicMethod(System.Reflection.MethodInfo method)
For a given method, retrieves its publicly accessible counterpart. This method will look for a method with same name and signature declared in a public superclass or implemented interface of this method's declaring class. This counterpart method is publicly callable.
Parameters:
method
- a method whose publicly callable counterpart is requested.
public System.Reflection.PropertyInfo getPublicProperty(System.Reflection.PropertyInfo property)
|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |