protected List < Name > parseSupertypes ( TokenStream tokens ) { if ( tokens . canConsume ( ' ' ) ) { // There is at least one supertype ... return parseNameList ( tokens ) ; } return Collections . emptyList ( ) ; }
Parse an optional list of supertypes if they appear next on the token stream .