next up previous
Next: Productions from 9: Interface Up: Productions from 8: Class Previous: Productions from 8.6 and

Productions from 8.8: Constructor Declarations

Productions from 8.8: Constructor Declarations[48]:

ConstructorDeclaration:
  Modifiers TypeName '(' FormalParameters ')' Throws
  '{' ConstructorStatements '}' .

ConstructorStatements:
  [ExplicitConstructorInvocation] [BlockStatements] .

ExplicitConstructorInvocation:
  'this' '(' Arguments ')' ';' /
  'super' '(' Arguments ')' ';' /
  Primary '.' 'super' '(' Arguments ')' ';' /
  Name '.' 'super' '(' Arguments ')' ';' .
This macro is invoked in definition 38.



2008-09-11