Example #1
0
 /// <summary>
 /// Callback to call when a java class was loaded.
 /// The class is converted to XType's.
 /// </summary>
 public void OnClassLoaded(JvmClassLib.ClassFile cf)
 {
     if (!cf.IsCreatedByLoader && !cf.IsNested)
     {
         var typeDef = new Java.XBuilder.JavaTypeDefinition(this, null, cf);
         types.Add(typeDef);
         Register(typeDef);
     }
 }
Example #2
0
 /// <summary>
 /// Is the given type reference part of the "product" that should be included in the reachables search?
 /// </summary>
 public bool Contains(JvmClassLib.ClassFile typeRef)
 {
     return(true);
 }