JetClassOrObject now has a type-safe Name
This commit is contained in:
@@ -20,6 +20,7 @@ import com.intellij.psi.PsiElement;
|
|||||||
import com.intellij.psi.PsiNameIdentifierOwner;
|
import com.intellij.psi.PsiNameIdentifierOwner;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
import org.jetbrains.annotations.Nullable;
|
import org.jetbrains.annotations.Nullable;
|
||||||
|
import org.jetbrains.jet.lang.resolve.name.Name;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@@ -40,8 +41,7 @@ public interface JetClassOrObject extends PsiElement, PsiNameIdentifierOwner, Je
|
|||||||
boolean hasPrimaryConstructor();
|
boolean hasPrimaryConstructor();
|
||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
@Override
|
Name getNameAsName();
|
||||||
String getName();
|
|
||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
JetModifierList getModifierList();
|
JetModifierList getModifierList();
|
||||||
|
|||||||
Reference in New Issue
Block a user