src/sys/dotnet/fan/sys/ClassType.cs
/// <summary>
/// Map the Java members of the specified
/// class to my slots for reflection.
/// </summary>
Map the Java members of the specified
class to my slots for reflection.
Map the Java members of the specified class to my slots for reflection .
private void finishSlots(System.Type type, bool staticOnly)
    {
      FieldInfo[] fields = type.GetFields();
      for (int i=0; i<fields.Length; i++)
        finishField(fields[i]);
      MethodInfo[] methods = type.GetMethods();
      for (int i=0; i<methods.Length; i++)
        finishMethod(methods[i], staticOnly);
    }
private void finishSlots ( System . Type type , bool staticOnly ) { FieldInfo [ ] fields = type . GetFields ( ) ; for ( int i = 0 ; i < fields . Length ; i ++ ) finishField ( fields [ i ] ) ; MethodInfo [ ] methods = type . GetMethods ( ) ; for ( int i = 0 ; i < methods . Length ; i ++ ) finishMethod ( methods [ i ] , staticOnly ) ; }
Map the Java members of the specified
class to my slots for reflection.
Map the Java members of the specified class to my slots for reflection .
// map the class's fields to my slots // map the class's methods to my slots
type
System.Type
staticOnly
bool