Skip to content

Commit

Permalink
doc: fix missing Javadoc tag warning in CtImport (#6171)
Browse files Browse the repository at this point in the history
  • Loading branch information
rishivijayv authored Feb 10, 2025
1 parent c5faa2b commit d57fda0
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/main/java/spoon/reflect/declaration/CtImport.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,26 +34,31 @@
*/
public interface CtImport extends CtElement {
/**
* Returns the kind of import (see {@link CtImportKind})
* {@return The kind of import (see {@link CtImportKind})}
*/
@DerivedProperty
CtImportKind getImportKind();

/**
* Returns the reference of the import.
* {@return The reference of the import}
*/
@PropertyGetter(role = IMPORT_REFERENCE)
CtReference getReference();

/**
* Sets the reference of the import.
* The import kind will be computed based on this reference.
*
* @param reference The {@link CtReference} to be set for the import
* @param <T> The import kind determined based on the provided {@link CtReference}
* @return The determined import kind
*/
@PropertySetter(role = IMPORT_REFERENCE)
<T extends CtImport> T setReference(CtReference reference);

/**
* Accepts a {@link CtImportVisitor}
* @param visitor The {@link CtImportVisitor} to be accepted.
*/
void accept(CtImportVisitor visitor);

Expand Down

0 comments on commit d57fda0

Please sign in to comment.