Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

找不到isJavaInterface() #126

Open
wdsaini opened this issue Jul 27, 2022 · 0 comments
Open

找不到isJavaInterface() #126

wdsaini opened this issue Jul 27, 2022 · 0 comments

Comments

@wdsaini
Copy link

wdsaini commented Jul 27, 2022

if(!compilationUnit.isJavaInterface()&&!compilationUnit.getType().getFullyQualifiedName().contains(EXAMPLE_SUFFIX)){ compilationUnit.addImportedType(new FullyQualifiedJavaType(API_MODEL_PROPERTY_FULL_CLASS_NAME)); }
isJavaInterface方法报错,运行时:打印的结果如下:
java: 找不到符号
符号: 方法 isJavaInterface()
位置: 类型为org.mybatis.generator.api.dom.java.CompilationUnit的变量 compilationUnit

@wdsaini wdsaini closed this as completed Jul 27, 2022
@wdsaini wdsaini reopened this Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant