Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fractal
fractal
Commits
9d4d7083
Commit
9d4d7083
authored
Dec 10, 2017
by
Lionel Seinturier
Browse files
Generate @see fields for the top level component and for provided fields.
parent
34fa73c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
juliac/extension/adlet/adl/src/main/java/org/objectweb/fractal/juliac/adlet/StaticMetamodelProcessor.java
View file @
9d4d7083
...
...
@@ -165,6 +165,8 @@ public class StaticMetamodelProcessor extends AbstractProcessor {
cw
.
visitPackageName
(
packageName
);
}
cw
.
visitComment
(
"/** @see "
+
element
.
toString
()+
" */"
);
ClassSourceCodeVisitor
cv
=
cw
.
visitPublicClass
();
cv
.
visit
(
Modifier
.
PUBLIC
,
className
,
null
,
null
,
null
);
process
(
element
,
cv
,
className
,
Object
.
class
.
getName
());
...
...
@@ -262,6 +264,7 @@ public class StaticMetamodelProcessor extends AbstractProcessor {
expression
.
append
(
name
);
expression
.
append
(
"\")"
);
cv
.
visitComment
(
"/** @see "
+
element
.
toString
()+
'#'
+
name
+
" */"
);
cv
.
visitField
(
modifiers
,
type
.
toString
(),(
String
)
name
,
expression
.
toString
());
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment