JetTypeProjection#getProjectionKind() by stub
This commit is contained in:
@@ -37,6 +37,11 @@ public class JetTypeProjection extends JetModifierListOwnerStub<PsiJetTypeProjec
|
||||
|
||||
@NotNull
|
||||
public JetProjectionKind getProjectionKind() {
|
||||
PsiJetTypeProjectionStub stub = getStub();
|
||||
if (stub != null) {
|
||||
return stub.getProjectionKind();
|
||||
}
|
||||
|
||||
ASTNode projectionNode = getProjectionNode();
|
||||
if (projectionNode == null) return JetProjectionKind.NONE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user