Software Engineering for Smart Data Analytics & Smart Data Analytics for Software Engineering
Java 5 Syntax Element - supported since JTransformer 3.0
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.
#id: parameterizedTypeT
the ID of the surrounding parameterizedTypeT.1)
#rawType: classT
the raw type of the outer type
[#param1, …]: classT, parameterizedTypeT, wildcardT, arrayTypeT, typeParamT
type params to the outer type
class A { B<String>.C field; }
fieldT(#field, #class, #type, 'field', 'null'). parameterizedTypeT(#type, #rawTypeC, []). outerTypeParamsT(#type, #rawTypeB, [#TypeRefToString]).
ast_node_type_spec(outerTypeParamsT,[ ast_arg(id, mult(1,1,no ), id, [outerTypeParamsT]), ast_arg(rawType, mult(1,1,no ), id, [classT]), % out raw types ast_arg(outerParams, mult(1,*,ord ),id, [classT, parameterizedTypeT, wildcardT, arrayTypeT, typeParamT]) ]).