Class Annotation


  • public class Annotation
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Annotation​(java.lang.String keyword, java.lang.Object value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Boolean asBoolean()  
      java.lang.Integer asInteger()  
      java.util.Collection<java.lang.Integer> asIntegers()  
      java.util.Collection<java.lang.String> asStrings()  
      java.lang.String getKeyword()  
      java.lang.Object getValue()  
      <T> boolean is​(java.lang.Class<T> type)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Annotation

        public Annotation​(java.lang.String keyword,
                          java.lang.Object value)
    • Method Detail

      • getKeyword

        public java.lang.String getKeyword()
      • getValue

        public java.lang.Object getValue()
      • is

        public <T> boolean is​(java.lang.Class<T> type)
      • asBoolean

        public java.lang.Boolean asBoolean()
      • asInteger

        public java.lang.Integer asInteger()
      • asStrings

        public java.util.Collection<java.lang.String> asStrings()
      • asIntegers

        public java.util.Collection<java.lang.Integer> asIntegers()