[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-28 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eDefaultAnnotation\u003c/code\u003e class is designed to create default instances of annotations in Java.\u003c/p\u003e\n"],["\u003cp\u003eIt provides a static method \u003ccode\u003eof(java.lang.Class<A> annotation)\u003c/code\u003e to generate an annotation instance where all properties are set to their default values.\u003c/p\u003e\n"],["\u003cp\u003eThe class constructor, \u003ccode\u003eDefaultAnnotation()\u003c/code\u003e, is available to instantiate the class, but the primary functionality relies on the \u003ccode\u003eof\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eof\u003c/code\u003e method accepts the annotation's class as a parameter and returns an instance of that annotation with default settings.\u003c/p\u003e\n"]]],[],null,["# DefaultAnnotation\n\ncom.google.api.server.spi.config\n\nClass DefaultAnnotation\n-----------------------\n\n- java.lang.Object\n-\n - com.google.api.server.spi.config.DefaultAnnotation\n\n-\n\n *** ** * ** ***\n\n \u003cbr /\u003e\n\n ```\n public class DefaultAnnotation\n extends java.lang.Object\n ``` \nClass used for creation of a default instance of an annotation. \n-\n -\n\n ### Constructor Summary\n\n \u003c!-- --\u003e\n\n -\n\n ### Method Summary\n\n -\n\n ### Methods inherited from class java.lang.Object\n\n`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait` \n-\n -\n\n ### Constructor Detail\n\n\n -\n\n #### DefaultAnnotation\n\n ```\n public DefaultAnnotation()\n ```\n\n \u003c!-- --\u003e\n\n -\n\n ### Method Detail\n\n\n -\n\n #### of\n\n ```\n public static \u003cA extends java.lang.annotation.Annotation\u003e A of(java.lang.Class\u003cA\u003e annotation)\n ``` \n Creates an instance of an annotation with all properties set to their default values.\n\n Parameters:\n : `annotation` - Class of annotation to create default instance for"]]