outerTypeParamsT(#id, #rawType, [#param1, ...])

Java 5 Syntax Element

This fact represents the outer type parameters of a parameterized type if it is a reference to an inner class. There can be multiple outerTypeParamsT facts for one parameterized type.

Arguments

#id: parameterizedTypeT
the ID of the surrounding parameterizedTypeT.1)

#rawType: classT
the raw type of the outer type

[#param1, …]: classT, parameterizedTypeT, typeParamT
type params to the outer type

Sample Java Source

class A {
 
  B<String>.C field;
 
}

Its PEF Representation

fieldT(#field, #class, #type, 'field', 'null').
parameterizedTypeT(#type, #field, #rawTypeC, []).
outerTypeParamsT(#type, #field, #rawTypeB, [#TypeRefToString]).

AST Specification

ast_relation('Java', outerTypeParamsT,[
     ast_arg(id,        mult(1,1,no ), id,   [parameterizedTypeT]),
     ast_arg(rawType,   mult(1,1,no ), id,   [classT]),
     ast_arg(paramRef,  mult(1,*,ord ),id,   [typeParamT,classT,parameterizedTypeT])
]).
1) here it's possible that the list of type parameters is empty, see the example
Last modified: 2014/04/10 07:30
 
*