# DefaultAnnotation

com.google.api.server.spi.config

## Class DefaultAnnotation

- java.lang.Object
-
  - com.google.api.server.spi.config.DefaultAnnotation

-

  *** ** * ** ***

  <br />

  ```
  public class DefaultAnnotation
  extends java.lang.Object
  ```
  Class used for creation of a default instance of an annotation.
-
  -

    ### Constructor Summary

    | Constructor and Description |
    |---|
    | `https://docs.cloud.google.com/endpoints/docs/frameworks/java/javadoc/com/google/api/server/spi/config/DefaultAnnotation.html#DefaultAnnotation--()` |
    [Constructors]

  <!-- -->

  -

    ### Method Summary

    | Modifier and Type | Method and Description |
    |---|---|
    | `static <A extends java.lang.annotation.Annotation> A` | `https://docs.cloud.google.com/endpoints/docs/frameworks/java/javadoc/com/google/api/server/spi/config/DefaultAnnotation.html#of-java.lang.Class-(java.lang.Class<A> annotation)` Creates an instance of an annotation with all properties set to their default values. |
    [All Methods Static Methods Concrete Methods]

    -

      ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`
-
  -

    ### Constructor Detail


    -

      #### DefaultAnnotation

      ```
      public DefaultAnnotation()
      ```

  <!-- -->

  -

    ### Method Detail


    -

      #### of

      ```
      public static <A extends java.lang.annotation.Annotation> A of(java.lang.Class<A> annotation)
      ```
      Creates an instance of an annotation with all properties set to their default values.

      Parameters:
      :   `annotation` - Class of annotation to create default instance for