> For the complete documentation index, see [llms.txt](https://docs.yemreak.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yemreak.com/arsiv/java/javadoc.md).

# JavaDoc

Java kod dokümanları, yorum satırları ve kod açıklamaları

## 🔰 Yapıyı Tanıyalım

* 📝 Metotların hemen üstüne `/**` karakteri ile açılan yorum satırlarıdır
* 📃 Metodun üzerine imleç ile geldiğinizde karşınıza çıkan popup ekranının içeriğini belirler
* 📈 Birden fazla kişinin çalıştığı projelerde kodun anlaşılabilirliğini artırır

> ⏲ Tek çalışıyorsanız da, uzun süre sonra koda baktığınızda hatırlamanızı sağlar

## 👀 Popup Ekrana Bakış

![](https://2136337814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3IVBqG9Jn8K2viWOpgUm%2Fuploads%2Fgit-blob-969529af0328f3b4b564bb4ba0bc3733c327f552%2Fjavadoc-prewiev.gif?alt=media)

## 🧱 Temel Anahtarlar

| 💎 Anahtar        | 📝 Açıklama                                                 |
| ----------------- | ----------------------------------------------------------- |
| `@param`          | Metodun aldığı parametreleri açıklar                        |
| `@return`         | Metodun döndürdüğü değeri açıklar                           |
| `@see <metin>`    | Kodu anlamamız için bakmamız gereken alanları gösterir      |
| `{@link <metin>}` | Kod ile alakalı değişken, metot ya da class objesi belirtir |

{% hint style="info" %}
‍🧙‍♂ `@See` anahtarı, html etiketlerini desteklemektedir
{% endhint %}

```java
/**
 * Gets URL
 * @see <a href="https://android.yemreak.com/temel/http-istekleri">HTTPS istekleri ~ YEmreAk</a>
 * @return Generated {@link #URL_TEMPLATE} with a random {@link #API_KEYS}
 */
private static String generateURL() {
    int ix = new Random().nextInt(API_KEYS.length);
    return String.format(URL_TEMPLATE, API_KEYS[ix]);
}
```

## 🐣 Erişim Operatörleri

* 📌 Class objelerine direkt olarak bağlantı verebilirsin
* 💎 Değişkenlere veya metotlara bağlantı vermek için `#` operatörü kullanılır
* 💠 Metotlar doküman içerisinde prototipleri ile gösterilirler

![](https://2136337814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3IVBqG9Jn8K2viWOpgUm%2Fuploads%2Fgit-blob-668dcb613f539019641f1617f5d0e112d20f0734%2Fimage%20\(9\).png?alt=media)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.yemreak.com/arsiv/java/javadoc.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
