Commit 9d4d7083 authored by Lionel Seinturier's avatar Lionel Seinturier
Browse files

Generate @see fields for the top level component and for provided fields.

parent 34fa73c5
......@@ -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());
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment