类 NamingPolicy.InfraNamingPolicy
java.lang.Object
cn.taketoday.bytecode.core.NamingPolicy.InfraNamingPolicy
- 所有已实现的接口:
NamingPolicy
- 封闭接口:
- NamingPolicy
-
字段详细资料
-
INSTANCE
-
LABEL
- 另请参阅:
-
-
构造器详细资料
-
InfraNamingPolicy
public InfraNamingPolicy()
-
-
方法详细资料
-
getClassName
从接口复制的说明:NamingPolicyChoose a name for a generated class.- 指定者:
getClassName在接口中NamingPolicy- 参数:
prefix- a dotted-name chosen by the generating class (possibly to put the generated class in a particular package)source- the class simple name of the generating classkey- A key object representing the state of the parameters; for caching to work properly, equal keys should result in the same generated class name. The default policy incorporateskey.hashCode()into the class name.names- a predicate that returns true if the given classname has already been used in the same ClassLoader.- 返回:
- the fully-qualified class name
-