Rename namespace class to {package.name}Package
Conflicts: compiler/jet.as.java.psi/src/org/jetbrains/jet/asJava/JavaElementFinder.java
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|
||||
class Any {
|
||||
{
|
||||
Object r = namespace.anyany(new Object(), null);
|
||||
Object r = _DefaultPackage.anyany(new Object(), null);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
class ArrayOfIntArray {
|
||||
{
|
||||
int[][] a = new int[0][];
|
||||
int[][] r = namespace.ohMy(a);
|
||||
int[][] r = _DefaultPackage.ohMy(a);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
class ArrayOfIntArray {
|
||||
{
|
||||
Integer[][] a = new Integer[0][];
|
||||
Integer[][] r = namespace.ohMy(a, null);
|
||||
Integer[][] r = _DefaultPackage.ohMy(a, null);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
class GenericArray {
|
||||
public static void ggff() {
|
||||
String[] s = namespace.ffgg(new String[0]);
|
||||
String[] s = _DefaultPackage.ffgg(new String[0]);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
class Hello {
|
||||
public static void xx() {
|
||||
String s = namespace.f();
|
||||
String s = _DefaultPackage.f();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
class Int {
|
||||
{
|
||||
int r = namespace.lll(1);
|
||||
int r = _DefaultPackage.lll(1);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
class IntArray {
|
||||
{
|
||||
int[] r = namespace.doNothing(new int[0], null);
|
||||
int[] r = _DefaultPackage.doNothing(new int[0], null);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
class IntWithDefault {
|
||||
{
|
||||
int r = namespace.www(1);
|
||||
int r = _DefaultPackage.www(1);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
class IntArray {
|
||||
{
|
||||
Integer[] r = namespace.doNothing(new Integer[0], null);
|
||||
Integer[] r = _DefaultPackage.doNothing(new Integer[0], null);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ class ListOfInt {
|
||||
|
||||
public static void hhh() {
|
||||
List<Integer> list = new ArrayList<Integer>();
|
||||
List<Integer> r = namespace.ggg(list);
|
||||
List<Integer> r = _DefaultPackage.ggg(list);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -4,6 +4,6 @@ import java.util.ArrayList;
|
||||
class ListString {
|
||||
public static void gg() {
|
||||
List<String> list = new ArrayList<String>();
|
||||
namespace.ff(list);
|
||||
_DefaultPackage.ff(list);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ class ListOfT {
|
||||
|
||||
public static void check() {
|
||||
List<String> list = new ArrayList<String>();
|
||||
List<String> r = namespace.listOfT(list);
|
||||
List<String> r = _DefaultPackage.listOfT(list);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -6,6 +6,6 @@ class MapOfKString {
|
||||
public static void gfgdgfg() {
|
||||
Map<BigDecimal, String> map = new HashMap<BigDecimal, String>();
|
||||
|
||||
Map<BigDecimal, String> r = namespace.fff(map);
|
||||
Map<BigDecimal, String> r = _DefaultPackage.fff(map);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,6 +6,6 @@ class MapOfKString {
|
||||
public static void gfgdgfg() {
|
||||
Map<String, Integer> map = new HashMap<String, Integer>();
|
||||
|
||||
Map<String, Integer> r = namespace.fff(map);
|
||||
Map<String, Integer> r = _DefaultPackage.fff(map);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,6 +2,6 @@ class Question {
|
||||
// id2 is to prevent java type parameter type inference
|
||||
static <T> T id2(T p) { return p; }
|
||||
{
|
||||
java.util.List<? extends String> s = id2(namespace.id(null));
|
||||
java.util.List<? extends String> s = id2(_DefaultPackage.id(null));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,6 +2,6 @@ class Question {
|
||||
// id2 is to prevent java type parameter type inference
|
||||
static <T> T id2(T p) { return p; }
|
||||
{
|
||||
String s = id2(namespace.id(null));
|
||||
String s = id2(_DefaultPackage.id(null));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,6 @@ import java.util.ArrayList;
|
||||
class Vararg {
|
||||
{
|
||||
List<String> list = new ArrayList<String>();
|
||||
List<String> r = namespace.gg(list, 3, 4, 5, 6);
|
||||
List<String> r = _DefaultPackage.gg(list, 3, 4, 5, 6);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
class Void {
|
||||
{
|
||||
namespace.f();
|
||||
_DefaultPackage.f();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user