Find Usages: Add support of naming conventions
#KT-1356 Fixed
This commit is contained in:
@@ -18,6 +18,7 @@ package org.jetbrains.jet.lang.types.lang;
|
||||
|
||||
import com.google.common.collect.ImmutableSet;
|
||||
import com.google.common.collect.Lists;
|
||||
import kotlin.KotlinPackage;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
import org.jetbrains.jet.lang.PlatformToKotlinClassMap;
|
||||
@@ -881,4 +882,15 @@ public class KotlinBuiltIns {
|
||||
public JetType getDefaultBound() {
|
||||
return getNullableAnyType();
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// GET FUNCTION
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
@NotNull
|
||||
public FunctionDescriptor getIdentityEquals() {
|
||||
return KotlinPackage.first(getBuiltInsPackageFragment().getMemberScope().getFunctions(Name.identifier("identityEquals")));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user