Class ScopeInfo


  • public class ScopeInfo
    extends java.lang.Object
    Data structure concerning scope annotations
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.Class<? extends java.lang.annotation.Annotation> annoType  
      private java.lang.annotation.Annotation scope  
    • Constructor Summary

      Constructors 
      Constructor Description
      ScopeInfo​(java.lang.annotation.Annotation scope, java.lang.Class<? extends java.lang.annotation.Annotation> annoType)
      Constructor of the data structure concerning the scope annotation
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class<? extends java.lang.annotation.Annotation> getAnnoType()
      Returns the annotation class for this annotation type
      java.lang.annotation.Annotation getScope()
      Returns the scope for this data structure
      • Methods inherited from class java.lang.Object

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

      • scope

        private final java.lang.annotation.Annotation scope
      • annoType

        private final java.lang.Class<? extends java.lang.annotation.Annotation> annoType
    • Constructor Detail

      • ScopeInfo

        public ScopeInfo​(java.lang.annotation.Annotation scope,
                         java.lang.Class<? extends java.lang.annotation.Annotation> annoType)
        Constructor of the data structure concerning the scope annotation
        Parameters:
        scope - The scope annotation
        annoType - The type of annotation
    • Method Detail

      • getScope

        public java.lang.annotation.Annotation getScope()
        Returns the scope for this data structure
        Returns:
        The non-null scope for this data structure
      • getAnnoType

        public java.lang.Class<? extends java.lang.annotation.Annotation> getAnnoType()
        Returns the annotation class for this annotation type
        Returns:
        the annotation type for this scope