Bonjour,
Pour les commentaires C#, je voulais juste savoir s'il y avait un équivalent de {@inheritDoc} en java. Genre :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
public interface IMyInterface {
    /// <summary>
    /// La description de DoSomething.
    /// </summary>
    /// <param name="myParam">Un texte.</param>
    int DoSomething(string myParam);
}
 
public abstract class MyAbstractClass {
    /// <summary>
    /// La description 
    /// </summary>
    /// <param name="myParam">Un texte.</param>
    string DoNothing(string myParam);
}
 
public class MyClass : MyAbstractClass, IMyInterface {
    /// {@inheritDoc}
    int DoSomething(string myParam);
 
    /// {@inheritDoc}
    string DoNothing(string myParam);
}