diff --git a/topics/java/lci/java-lci.csproj b/topics/java/lci/java-lci.csproj index d93f361b..f7bf3042 100644 --- a/topics/java/lci/java-lci.csproj +++ b/topics/java/lci/java-lci.csproj @@ -58,19 +58,22 @@ - + + + - - + + + @@ -79,7 +82,6 @@ - diff --git a/topics/java/lci/java.lcf b/topics/java/lci/java.lcf index 95d9d9ac..80f0f022 100644 --- a/topics/java/lci/java.lcf +++ b/topics/java/lci/java.lcf @@ -122,7 +122,7 @@ refactorExpressions inlineStatements generalizeStatements - editExpressions + editExpressions-doc2 eliminate-doc2 refactorClasses-doc2 refactorInterfaces-doc2 diff --git a/topics/java/lci/xbgf/correct-app2.xbgf b/topics/java/lci/xbgf/correct-app2.xbgf index 91dcaa50..9476d496 100644 --- a/topics/java/lci/xbgf/correct-app2.xbgf +++ b/topics/java/lci/xbgf/correct-app2.xbgf @@ -43,29 +43,9 @@ - - - - Statement - - - continue - - - - - Identifier - - - - - - - - Statement @@ -90,36 +70,12 @@ - - - - - - - Statement - - - - break - - - - - Identifier - - - - - - - - Statement @@ -144,9 +100,6 @@ - - - - ClassBodyDeclaration @@ -1714,9 +1670,6 @@ - - - - - - - Primary - - this - - - - Primary @@ -85,9 +75,6 @@ - - - - + - Primary - Type + + + Type + + . @@ -113,29 +103,55 @@ - - - - + Type - - - - - BasicType - - - BracketsOpt - - - + + BasicType + + + + + + Primary + + + + BasicType + + + + + + + + + [ + + + ] + + + + + + + + + . + + + class + + + + + + + BracketsOpt - + Primary - - - - + - - - - Primary - - this - - - - Primary @@ -85,9 +75,6 @@ - - - - + - Primary - Type + + + Type + + . @@ -113,30 +103,56 @@ - - - - + Type - - - - - BasicType - - - BracketsOpt - - - + + BasicType + + + + + + Primary + + + + BasicType + + + + + + + + + [ + + + ] + + + + + + + + + . + + + class + + + + + + + BracketsOpt - + Primary - - - - - + + - - - - Primary - - this - - - - - - - Primary - - - - this - - - - - - - Arguments - - - - - - - - - - - - - - @@ -267,22 +224,6 @@ vs. - [], ,([n(QualifiedIdentifier), ?(n(IdentifierSuffix))]) --> - - - - Primary - - - - QualifiedIdentifier - - - Arguments - - - - - IdentifierSuffix @@ -291,7 +232,7 @@ - + Primary @@ -306,12 +247,9 @@ - + Primary - - - @@ -327,7 +265,11 @@ QualifiedIdentifier - Arguments + + + IdentifierSuffix + + @@ -565,7 +507,11 @@ Identifier - Arguments + + + IdentifierSuffix + + @@ -594,4 +540,34 @@ ParExpression + + + + Primary + + + + this + + + + + + + Arguments + + + + + + + + + + \ No newline at end of file diff --git a/topics/java/lci/xbgf/extend-doc12.xbgf b/topics/java/lci/xbgf/extend-doc12.xbgf index 25580269..69e37949 100644 --- a/topics/java/lci/xbgf/extend-doc12.xbgf +++ b/topics/java/lci/xbgf/extend-doc12.xbgf @@ -958,41 +958,8 @@ ,([n(ClassName), t(.), t(super), t(.), ?(n(NonWildTypeArguments)), n(Identifier), t((), ?(n(ArgumentList)), t())]), ,([n(TypeName), t(.), n(NonWildTypeArguments), n(Identifier), t((), ?(n(ArgumentList)), t())])]) --> - - - - MethodInvocation - - - - Primary - - - . - - - Identifier - - - ( - - - - - ArgumentList - - - - - ) - - - - - - MethodInvocation @@ -1033,41 +1000,8 @@ - - - - MethodInvocation - - - - super - - - . - - - Identifier - - - ( - - - - - ArgumentList - - - - - ) - - - - - - MethodInvocation @@ -1108,47 +1042,8 @@ - - - - MethodInvocation - - - - ClassName - - - . - - - super - - - . - - - Identifier - - - ( - - - - - ArgumentList - - - - - ) - - - - - - MethodInvocation @@ -1229,15 +1124,6 @@ - - - - - - - - - - - - - ExplicitConstructorInvocation - - - - this - - - ( - - - - - ArgumentList - - - - - ) - - - ; - - - - - - ExplicitConstructorInvocation @@ -1743,38 +1599,8 @@ - - - - ExplicitConstructorInvocation - - - - super - - - ( - - - - - ArgumentList - - - - - ) - - - ; - - - - - - ExplicitConstructorInvocation @@ -1812,41 +1638,6 @@ - - - - ExplicitConstructorInvocation - - - - Primary - - - . - - - super - - - ( - - - - - ArgumentList - - - - - ) - - - ; - - - - - ReferenceTypeList @@ -1893,7 +1684,6 @@ - ExplicitConstructorInvocation @@ -1937,15 +1727,6 @@ - - - - - - - - - - - - - ClassInstanceCreationExpression - - - - new - - - ClassOrInterfaceType - - - ( - - - - - ArgumentList - - - - - ) - - - - - ClassBody - - - - - - - - - - - ClassInstanceCreationExpression - - - - Primary - - - . - - - new - - - Identifier - - - ( - - - - - ArgumentList - - - - - ) - - - - - ClassBody - - - - - - - - ClassInstanceCreationExpression @@ -2082,7 +1784,6 @@ - ClassInstanceCreationExpression @@ -2135,7 +1836,6 @@ - ClassInstanceCreationExpression @@ -2193,12 +1893,6 @@ - - - - - - - - - - ClassBodyDeclaration - - ClassOrInterfaceDeclaration - - - - ClassBodyDeclaration @@ -467,9 +457,6 @@ - - - ModifiersOpt diff --git a/topics/java/lci/xbgf/refactorClasses-doc3.xbgf b/topics/java/lci/xbgf/refactorClasses-doc3.xbgf index 459e6db7..f63e30bc 100644 --- a/topics/java/lci/xbgf/refactorClasses-doc3.xbgf +++ b/topics/java/lci/xbgf/refactorClasses-doc3.xbgf @@ -183,18 +183,8 @@ - - - - ClassMemberDeclaration - - ClassDeclaration - - - - ClassMemberDeclaration @@ -216,21 +206,8 @@ - - - - - - - ClassMemberDeclaration - - InterfaceDeclaration - - - - ClassMemberDeclaration @@ -252,9 +229,6 @@ - - - ClassMemberDeclaration ModifiersOpt diff --git a/topics/java/lci/xbgf/refactorInterfaces-doc3.xbgf b/topics/java/lci/xbgf/refactorInterfaces-doc3.xbgf index 9832c301..5ec334aa 100644 --- a/topics/java/lci/xbgf/refactorInterfaces-doc3.xbgf +++ b/topics/java/lci/xbgf/refactorInterfaces-doc3.xbgf @@ -206,18 +206,8 @@ AbstractMethodDeclaration - - - - InterfaceBodyDeclaration - - ClassDeclaration - - - - InterfaceBodyDeclaration @@ -239,21 +229,8 @@ - - - - - - - InterfaceBodyDeclaration - - InterfaceDeclaration - - - - InterfaceBodyDeclaration @@ -275,9 +252,6 @@ - - - ModifiersOpt diff --git a/topics/java/lci/xbgf/refactorStatements-jls1.xbgf b/topics/java/lci/xbgf/refactorStatements-jls1.xbgf index 94f24fea..f6983812 100644 --- a/topics/java/lci/xbgf/refactorStatements-jls1.xbgf +++ b/topics/java/lci/xbgf/refactorStatements-jls1.xbgf @@ -338,18 +338,8 @@ - - - - BlockStatement - - Statement - - - - BlockStatement @@ -378,9 +368,6 @@ - - - - - - - Type - - QualifiedIdentifier - - - - Type @@ -166,11 +156,8 @@ BracketsOpt - + Type - - - \ No newline at end of file