/**
* Checks whether a given container has a class, interface or enumeration with a given
* name.
*
* @param container
* The container.
* @param name
* The {@link String} name.
* @return <code>true</code> if such an entity was found; <code>false</code> otherwise.
*/
public static boolean containsClassInterfaceOrEnumWithName(Commentable container, String name) {
Switch<Boolean> switcher = new ContainerHasConflictingNameSwitch(name);
return switcher.doSwitch(container);
}
RefactoringUtil.java 文件源码
java
阅读 32
收藏 0
点赞 0
评论 0
项目:SPLevo
作者:
评论列表
文章目录