Class ScopeInfo

java.lang.Object
org.glassfish.hk2.utilities.reflection.ScopeInfo

public class ScopeInfo extends Object
Data structure concerning scope annotations
  • Field Details

  • Constructor Details

    • 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 Details

    • 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