Class ScopeInfo


  • public class ScopeInfo
    extends Object
    Data structure concerning scope annotations
    Author:
    jwells
    • Constructor Detail

      • ScopeInfo

        public ScopeInfo​(Annotation scope,
                         Class<? extends 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 Annotation getScope()
        Returns the scope for this data structure
        Returns:
        The non-null scope for this data structure
      • getAnnoType

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