MethodDeclaration:
MethodHeaderMethodBody MethodHeader:
ModifiersoptType
MethodDeclarator
Throwsopt
Modifiersoptvoid
MethodDeclaratorThrowsopt MethodDeclarator:
Identifier(
FormalParameterListopt)
MethodDeclarator
[ ]
FormalParameterList:
FormalParameter
FormalParameterList,
FormalParameter FormalParameter:
TypeVariableDeclaratorId Throws:
throws
ClassTypeList ClassTypeList:
ClassType
ClassTypeList,
ClassType MethodBody:
Block
;