Optimize KtPropertyAccessor.hasBlockBody()
This commit is contained in:
@@ -91,6 +91,10 @@ public class KtPropertyAccessor extends KtDeclarationStub<KotlinPropertyAccessor
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean hasBlockBody() {
|
public boolean hasBlockBody() {
|
||||||
|
KotlinPropertyAccessorStub stub = getStub();
|
||||||
|
if (stub != null) {
|
||||||
|
return stub.hasBlockBody();
|
||||||
|
}
|
||||||
return getEqualsToken() == null;
|
return getEqualsToken() == null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user