For each type of abstract syntax tree (AST) node there is a specific Program Element Fact (PEF) type. This page lists all the PEF types for the Java 7 AST represented in JTransformer 4.1 1). Each PEF type is described in detail on a separate page, linked below.
→ See the language-independent model elements.
- interfaceT(#class) ← An interface type is a class with the 'interfaceT' property
- annotationTypeT(#id) ← An annotation type is a class with the 'annotationTypeT' property
- enumT(#class) ← An enumeration type is a class with the 'enumT' property
Their inheritance relations
JTransformer Annotations are special Java comments that JTransformer can parse and interprete. They can be attached also for elements for which there are no Java annotations (e.g. within an expression):
The following PEF types are relevant just for code reengineeing (recreation of Java source code from the internal representation). They convey information that is necessary to preserve to original layout of the source code: