Uast: Constructors.kt testdata fixes
This commit is contained in:
committed by
Nikolay Krasko
parent
2c81362ce1
commit
f91f42c253
+5
-5
@@ -8,7 +8,7 @@ UFile (package = )
|
||||
UAnnotation (fqName = org.jetbrains.annotations.NotNull)
|
||||
UAnnotationMethod (name = A)
|
||||
UParameter (name = i)
|
||||
UAnnotation (fqName = null)
|
||||
UAnnotation (fqName = org.jetbrains.annotations.NotNull)
|
||||
UBlockExpression
|
||||
UCallExpression (kind = UastCallKind(name='constructor_call'), argCount = 1))
|
||||
UIdentifier (Identifier (this))
|
||||
@@ -32,7 +32,7 @@ UFile (package = )
|
||||
USimpleNameReferenceExpression (identifier = println)
|
||||
UAnnotationMethod (name = AWithInit)
|
||||
UParameter (name = i)
|
||||
UAnnotation (fqName = null)
|
||||
UAnnotation (fqName = org.jetbrains.annotations.NotNull)
|
||||
UBlockExpression
|
||||
UCallExpression (kind = UastCallKind(name='constructor_call'), argCount = 1))
|
||||
UIdentifier (Identifier (this))
|
||||
@@ -62,7 +62,7 @@ UFile (package = )
|
||||
ULiteralExpression (value = 2)
|
||||
UAnnotationMethod (name = AWith2Init)
|
||||
UParameter (name = i)
|
||||
UAnnotation (fqName = null)
|
||||
UAnnotation (fqName = org.jetbrains.annotations.NotNull)
|
||||
UBlockExpression
|
||||
UCallExpression (kind = UastCallKind(name='constructor_call'), argCount = 1))
|
||||
UIdentifier (Identifier (this))
|
||||
@@ -94,7 +94,7 @@ UFile (package = )
|
||||
UAnnotation (fqName = org.jetbrains.annotations.NotNull)
|
||||
UAnnotationMethod (name = AWithSecondary)
|
||||
UParameter (name = i)
|
||||
UAnnotation (fqName = null)
|
||||
UAnnotation (fqName = org.jetbrains.annotations.NotNull)
|
||||
UBlockExpression
|
||||
UCallExpression (kind = UastCallKind(name='constructor_call'), argCount = 0))
|
||||
UIdentifier (Identifier ())
|
||||
@@ -125,7 +125,7 @@ UFile (package = )
|
||||
UAnnotation (fqName = org.jetbrains.annotations.NotNull)
|
||||
UAnnotationMethod (name = AWithSecondaryInit)
|
||||
UParameter (name = i)
|
||||
UAnnotation (fqName = null)
|
||||
UAnnotation (fqName = org.jetbrains.annotations.NotNull)
|
||||
UBlockExpression
|
||||
UCallExpression (kind = UastCallKind(name='constructor_call'), argCount = 0))
|
||||
UIdentifier (Identifier ())
|
||||
|
||||
+5
-5
@@ -2,7 +2,7 @@ public final class A {
|
||||
@org.jetbrains.annotations.NotNull private final var str: java.lang.String
|
||||
public final fun getStr() : java.lang.String = UastEmptyExpression
|
||||
public fun A(@org.jetbrains.annotations.NotNull str: java.lang.String) = UastEmptyExpression
|
||||
public fun A(@null i: int) {
|
||||
public fun A(@org.jetbrains.annotations.NotNull i: int) {
|
||||
<init>(i.toString())
|
||||
}
|
||||
}
|
||||
@@ -15,7 +15,7 @@ public final class AWithInit {
|
||||
println()
|
||||
}
|
||||
}
|
||||
public fun AWithInit(@null i: int) {
|
||||
public fun AWithInit(@org.jetbrains.annotations.NotNull i: int) {
|
||||
<init>(i.toString())
|
||||
}
|
||||
}
|
||||
@@ -31,7 +31,7 @@ public final class AWith2Init {
|
||||
println(2)
|
||||
}
|
||||
}
|
||||
public fun AWith2Init(@null i: int) {
|
||||
public fun AWith2Init(@org.jetbrains.annotations.NotNull i: int) {
|
||||
<init>(i.toString())
|
||||
}
|
||||
}
|
||||
@@ -51,7 +51,7 @@ public final class AWithSecondary {
|
||||
@org.jetbrains.annotations.NotNull public var a: java.lang.String
|
||||
public final fun getA() : java.lang.String = UastEmptyExpression
|
||||
public final fun setA(@org.jetbrains.annotations.NotNull p: java.lang.String) : void = UastEmptyExpression
|
||||
public fun AWithSecondary(@null i: int) {
|
||||
public fun AWithSecondary(@org.jetbrains.annotations.NotNull i: int) {
|
||||
<init>()
|
||||
a = i.toString()
|
||||
}
|
||||
@@ -65,7 +65,7 @@ public final class AWithSecondaryInit {
|
||||
@org.jetbrains.annotations.NotNull public var a: java.lang.String
|
||||
public final fun getA() : java.lang.String = UastEmptyExpression
|
||||
public final fun setA(@org.jetbrains.annotations.NotNull p: java.lang.String) : void = UastEmptyExpression
|
||||
public fun AWithSecondaryInit(@null i: int) {
|
||||
public fun AWithSecondaryInit(@org.jetbrains.annotations.NotNull i: int) {
|
||||
<init>()
|
||||
{
|
||||
println()
|
||||
|
||||
Reference in New Issue
Block a user