Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: fix javadoc in MetamodelPropertyField.java #2685

Merged
merged 1 commit into from Oct 19, 2018
Merged

doc: fix javadoc in MetamodelPropertyField.java #2685

merged 1 commit into from Oct 19, 2018

Conversation

zielint0
Copy link
Contributor

@zielint0 zielint0 commented Oct 18, 2018

Code inspection

  • Declaration has problems in Javadoc references inspection

Symbol 'simpleName' is inacessible from here

/**
 * Tells that a field is a property of the metamodel
 * For instance {@link CtClassImpl#simpleName} is the property name of {@link CtNamedElement}
 *
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.FIELD })
public @interface MetamodelPropertyField {
	CtRole[] role();
}

Maybe a correct solution is reference to:
{@link spoon.support.reflect.declaration.CtNamedElementImpl#getSimpleName}
?

@pvojtechovsky
Could you take a look on WHOLE comment? ;-)

@zielint0 zielint0 changed the title doc: fix javadoc doc: fix javadoc in MetamodelPropertyField.java Oct 18, 2018
@monperrus monperrus merged commit 635a909 into INRIA:master Oct 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants