SORU
6 Mayıs 2011, Cuma


javadoc: yöntemleri bağlantılar yazma

Nasıl bir yöntem bağlamak için @link etiketi kullanabilir miyim?

Değiştirmek istiyorum

/**
 * Returns the Baz object owned by the Bar object owned by Foo owned by this.
 * A convenience method, equivalent to getFoo().getBar().getBaz()
 * @return baz
 */
public Baz fooBarBaz()

için

/**
 * Returns the Baz object owned by the Bar object owned by Foo owned by this.
 * A convenience method, equivalent to {@link getFoo()}.{@link getBar()}.{@link getBaz()}
 * @return baz
 */
public Baz fooBarBaz()

ama @link etiketi doğru şekilde biçimlendirmek için nasıl bilmiyorum.

CEVAP
6 Mayıs 2011, Cuma


{@link package.class#member label} etiketi aradığınız () bilgileri de dahil olmak üzere JavaDoc Tool reference page,: JavaDoc hakkında daha fazla bilgi bulabilirsiniz

Örneğin, burada(int, int getComponentAt yöntemi ifade eden bir yorum

Use the {@link #getComponentAt(int, int) getComponentAt} method.


Diğer yararlı bağlantılar hakkında JavaDoc

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • Android Central

    Android Cent

    13 Kasım 2008
  • bobinire

    bobinire

    24 EYLÜL 2006
  • Gavin Hoey

    Gavin Hoey

    21 Aralık 2007