DefaultAnnotation

com.google.api.server.spi.config

Class DefaultAnnotation

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


  • public class DefaultAnnotation
    extends java.lang.Object
    Class used for creation of a default instance of an annotation.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      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.
      • 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