diff --git a/topics/java/lci/xbgf/correct-app2.xbgf b/topics/java/lci/xbgf/correct-app2.xbgf index 9476d496..c261d2bb 100644 --- a/topics/java/lci/xbgf/correct-app2.xbgf +++ b/topics/java/lci/xbgf/correct-app2.xbgf @@ -43,7 +43,6 @@ - Statement @@ -73,7 +72,6 @@ - Statement @@ -216,7 +214,6 @@ vs. - [], ;([*(,([n(InfixOp), n(Expression3)])), ,([n(Expression3), t(instanceof), n(Type)])]) --> - Expression2Rest diff --git a/topics/java/lci/xbgf/correct-app3.xbgf b/topics/java/lci/xbgf/correct-app3.xbgf index 443ab47a..f5dd9d06 100644 --- a/topics/java/lci/xbgf/correct-app3.xbgf +++ b/topics/java/lci/xbgf/correct-app3.xbgf @@ -25,7 +25,6 @@ Annotation: vs. - [], ;([*(,([n(InfixOp), n(Expression3)])), ,([n(Expression3), t(instanceof), n(Type)])]) --> - Expression2Rest @@ -80,7 +79,6 @@ Annotation: - [], ;([n(Block), ,([t(break), ?(n(Identifier)), t((;))]), --> - Statement @@ -110,7 +108,6 @@ Annotation: - Statement @@ -146,7 +143,6 @@ Annotation: ElementValues: ElementValue [ "," ElementValues ] --> - ElementValues @@ -196,7 +192,6 @@ AnnotationMethodRest: AnnotationConstantRest: VariableDeclarators --> - AnnotationTypeElementRest @@ -222,7 +217,6 @@ AnnotationConstantRest: - AnnotationMethodOrConstantRest diff --git a/topics/java/lci/xbgf/editDeclarations.xbgf b/topics/java/lci/xbgf/editDeclarations.xbgf index 3026ccda..b132145b 100644 --- a/topics/java/lci/xbgf/editDeclarations.xbgf +++ b/topics/java/lci/xbgf/editDeclarations.xbgf @@ -1942,7 +1942,6 @@ Block: - ClassBodyDeclaration diff --git a/topics/java/lci/xbgf/editExpressions-doc3.xbgf b/topics/java/lci/xbgf/editExpressions-doc3.xbgf index 96022a16..f64ee8dd 100644 --- a/topics/java/lci/xbgf/editExpressions-doc3.xbgf +++ b/topics/java/lci/xbgf/editExpressions-doc3.xbgf @@ -490,7 +490,7 @@ - + IdentifierSuffix @@ -499,15 +499,26 @@ . - class + + + + + class + + + + + this + + - + - + IdentifierSuffix @@ -516,15 +527,33 @@ . - super - - - Arguments + + + + + + + super + + + Arguments + + + + + + + class + + + this + + - + @@ -542,7 +571,7 @@ - + IdentifierSuffix @@ -551,109 +580,44 @@ . - new - - - InnerCreator - - - - - - - IdentifierSuffix - - - - - - - . - - - this - - - - - - - . - - - class - - - - - - - . - - - super - - - Arguments - - - - - - - . - - - new - - - InnerCreator - - - - - - - - - . - - - - - class - - - this - - - + - super + + + + + new + + + InnerCreator + + + + - Arguments + + + super + + + Arguments + + - - - - - new + class - InnerCreator + this - + - + - - - - - IdentifierSuffix - + + + - - - - PrimaryNoNewArray - - - - Literal - - - - - Type - - - . - - - class - - - - - - - void - - - . - - - class - - - - - this - - - - - ClassName - - - . - - - this - - - - - - - ( - - - Expression - - - ) - - - - - ClassInstanceCreationExpression - - - FieldAccess - - - MethodInvocation - - - ArrayAccess - - - - - - - PrimaryNoNewArray - + + + + PrimaryNoNewArray + + + + Type + + + . + + + class + + + + + + + + + + PrimaryNoNewArray + + + + void + + + . + + + class + + + + + + + + + + PrimaryNoNewArray + + + + ClassName + + + . + + + this + + + + + + - - + DefaultValue @@ -679,8 +679,6 @@ - - AnnotationTypeDeclaration @@ -707,8 +705,6 @@ - - AnnotationTypeElementDeclaration @@ -781,8 +777,6 @@ ; - - AnnotationTypeElementDeclarations @@ -802,9 +796,6 @@ - - - AnnotationTypeBody @@ -825,7 +816,8 @@ - + + InterfaceDeclaration @@ -851,26 +843,7 @@ vs. - [], ;([n(BasicForStatement), n(EnhancedForStatement)]) --> - - - ForStatement - - BasicForStatement - - - - - - - ForStatement - - EnhancedForStatement - - - - - - + EnhancedForStatement @@ -909,7 +882,25 @@ - + + + + ForStatement + + BasicForStatement + + + + + + + ForStatement + + EnhancedForStatement + + + + + + + ReferenceTypeList + + ReferenceType + + + + ReferenceTypeList + + + + ReferenceTypeList + + + , + + + ReferenceType + + + + + + + + NonWildTypeArguments + + + + < + + + ReferenceTypeList + + + > + + + + + MethodInvocation @@ -1186,7 +1219,7 @@ - - - - FormalParameters - - - FormalParameterList - + FormalParameters + + FormalParameters MethodDeclarator - - - - - FormalParameters - - - FormalParameterList - + + + FormalParameters ConstructorDeclarator - - - - - + + FormalParameterList - LastFormalParameter + FormalParameter @@ -1247,26 +1266,37 @@ , - LastFormalParameter + FormalParameter - + + + FormalParameterList + + FormalParameters + + + + FormalParameters + FormalParameterList - - + LastFormalParameter FormalParameter - + + FormalParameterList + + @@ -1301,7 +1331,6 @@ vs. - [], ,([?(n(ConstantModifiers)), n(Type), n(VariableDeclarators), t((;))]) --> - ConstantDeclaration @@ -1348,7 +1377,7 @@ - - + ExceptionTypeList - + ExceptionType + + + + + ExceptionType + + ClassType + + + + + + ExceptionTypeList + + - - - ExceptionTypeList - - - , - + ExceptionTypeList + + + , + + + ExceptionType - + - + + + + + ExceptionType + + ClassType + + + + + + + + SurgeryOnTypeName + + TypeName - + + ArrayCreationExpression + + + + + TypeName + + + + + + ClassType + + TypeName + + + + + + InterfaceType + + TypeName + + + + + + + SurgeryOnTypeName + + - ExceptionTypeList + SurgeryOnTypeName - + + ClassType + + + + + + + + InterfaceType + + + + + + + + ClassOrInterfaceType + SurgeryOnTypeName + + ClassOrInterfaceType + + SurgeryOnTypeName + + ClassOrInterfaceType + + @@ -1494,32 +1617,8 @@ - - - TypeDeclSpecifier - - TypeName - - - - TypeDeclSpecifier - - - - ClassOrInterfaceType - - - . - - - Identifier - - - - - - - - + + TypeDeclSpecifier + + TypeName + + + + ClassType + + + + TypeDeclSpecifier + InterfaceType + + + + + + TypeDeclSpecifier + + + + ClassOrInterfaceType + + + . + + + Identifier + + + + + + + + + ClassType TypeDeclSpecifier - + - TypeArguments + + + TypeArguments + + - + - - - + + - ClassType + InterfaceType TypeDeclSpecifier - + - TypeArguments + + + TypeArguments + + - + - - + + - - - NonWildTypeArguments - - - - < - - - ReferenceTypeList - - - > - - - - - ExplicitConstructorInvocation @@ -1913,30 +2011,5 @@ - - - - - - TypeName - - - ClassOrInterfaceType - - - ArrayCreationExpression - - - + \ No newline at end of file