Save This Page
Home » cglib-src-2.2 » net.sf.cglib.core » [javadoc | source]
public interface: NamingPolicy [javadoc | source]

All Known Implementing Classes:

Customize the generated class name for AbstractClassGenerator -based utilities.
Method from net.sf.cglib.core.NamingPolicy Summary:
equals,   getClassName
Method from net.sf.cglib.core.NamingPolicy Detail:
 public boolean equals(Object o)
    The NamingPolicy in use does not currently, but may in the future, affect the caching of classes generated by AbstractClassGenerator , so this is a reminder that you should correctly implement equals and hashCode to avoid generating too many classes.
 public String getClassName(String prefix,
    String source,
    Object key,
    Predicate names)
    Choose a name for a generated class.