1 // Copyright 2000 Finn Bock 2 3 package org.python.core; 4 5 /** 6 * An empty tagging interface that can be used if a java class 7 * want control over the class dict initialization. 8 * When a java class implements this interface, it must also have 9 * a method like: 10 * <pre> 11 * public static void classDictInit(PyObject dict) { .. } 12 * </pre> 13 * The method will be called when the class is initialized. The 14 * method can then make changes to the class's __dict__ instance, 15 * f.example be removing method that should not be avaiable in python 16 * or by replacing some method with high performance versions. 17 */ 18 19 public interface ClassDictInit 20 { 21 // An empty tagging interface. 22 } 23