mirror of
https://github.com/querydsl/querydsl.git
synced 2026-07-03 21:07:49 +08:00
Use memberClass
This commit is contained in:
parent
d285ba836f
commit
091888f3d8
@ -147,7 +147,7 @@ public class SimpleType implements Type {
|
||||
|
||||
@Override
|
||||
public Type getEnclosingType() {
|
||||
if (enclosingType == null && localName.contains(".")) {
|
||||
if (enclosingType == null && memberClass) {
|
||||
String newLocalName = localName.substring(0, localName.lastIndexOf('.'));
|
||||
String newSimpleName = newLocalName.substring(newLocalName.lastIndexOf('.') + 1);
|
||||
enclosingType = new SimpleType(outerClassName, packageName, newSimpleName);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user