# NavDestination.ClassType

Artifact: [androidx.navigation:navigation-common](https://developer.android.com/jetpack/androidx/releases/navigation) [View Source](https://cs.android.com/search?q=file:androidx/navigation/NavDestination.+class:androidx.navigation.NavDestination.ClassType) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/navigation#1.0.0)

*** ** * ** ***


```
@Retention(value = AnnotationRetention.BINARY)
@Target(allowedTargets = [AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.CLASS])
public annotation NavDestination.ClassType
```

<br />

*** ** * ** ***

This optional annotation allows tooling to offer auto-complete for the `android:name` attribute. This should match the class type passed to [parseClassFromName](https://developer.android.com/reference/androidx/navigation/NavDestination#parseClassFromName(android.content.Context,kotlin.String,java.lang.Class)) when parsing the `android:name` attribute.

## Summary

| ### Public methods |
|---|---|
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.reflect/-k-class/index.html<@https://developer.android.com/reference/androidx/annotation/NonNull ?>` | `https://developer.android.com/reference/androidx/navigation/NavDestination.ClassType#getValue()()` |

## Public methods

### getValue

```
public final @NonNull KClass<@NonNull ?> getValue()
```