congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
EnhancedAnnotatedParameter.getMetaAnnotations
Code IndexAdd Tabnine to your IDE (free)

How to use
getMetaAnnotations
method
in
org.jboss.weld.annotated.enhanced.EnhancedAnnotatedParameter

Best Java code snippets using org.jboss.weld.annotated.enhanced.EnhancedAnnotatedParameter.getMetaAnnotations (Showing top 12 results out of 315)

origin: weld/core

  /**
   * A disposer method is bound to a producer if the producer is assignable to the disposed parameter.
   *
   * @param enhancedDisposedParameter
   * @return the set of required qualifiers for the given disposed parameter
   */
  private Set<QualifierInstance> getRequiredQualifiers(EnhancedAnnotatedParameter<?, ? super X> enhancedDisposedParameter) {
    Set<Annotation> disposedParameterQualifiers = enhancedDisposedParameter.getMetaAnnotations(Qualifier.class);
    if (disposedParameterQualifiers.isEmpty()) {
      disposedParameterQualifiers = Collections.<Annotation> singleton(Default.Literal.INSTANCE);
    }
    return beanManager.getServices().get(MetaAnnotationStore.class).getQualifierInstances(disposedParameterQualifiers);
  }
}
origin: org.jboss.weld.se/weld-se-shaded

  /**
   * A disposer method is bound to a producer if the producer is assignable to the disposed parameter.
   *
   * @param enhancedDisposedParameter
   * @return the set of required qualifiers for the given disposed parameter
   */
  private Set<QualifierInstance> getRequiredQualifiers(EnhancedAnnotatedParameter<?, ? super X> enhancedDisposedParameter) {
    Set<Annotation> disposedParameterQualifiers = enhancedDisposedParameter.getMetaAnnotations(Qualifier.class);
    if (disposedParameterQualifiers.isEmpty()) {
      disposedParameterQualifiers = Collections.<Annotation> singleton(Default.Literal.INSTANCE);
    }
    return beanManager.getServices().get(MetaAnnotationStore.class).getQualifierInstances(disposedParameterQualifiers);
  }
}
origin: org.jboss.weld.se/weld-se

  /**
   * A disposer method is bound to a producer if the producer is assignable to the disposed parameter.
   *
   * @param enhancedDisposedParameter
   * @return the set of required qualifiers for the given disposed parameter
   */
  private Set<QualifierInstance> getRequiredQualifiers(EnhancedAnnotatedParameter<?, ? super X> enhancedDisposedParameter) {
    Set<Annotation> disposedParameterQualifiers = enhancedDisposedParameter.getMetaAnnotations(Qualifier.class);
    if (disposedParameterQualifiers.isEmpty()) {
      disposedParameterQualifiers = Collections.<Annotation> singleton(DefaultLiteral.INSTANCE);
    }
    return beanManager.getServices().get(MetaAnnotationStore.class).getQualifierInstances(disposedParameterQualifiers);
  }
}
origin: weld/core

  /**
   * A disposer method is bound to a producer if the producer is assignable to the disposed parameter.
   *
   * @param enhancedDisposedParameter
   * @return the set of required qualifiers for the given disposed parameter
   */
  private Set<QualifierInstance> getRequiredQualifiers(EnhancedAnnotatedParameter<?, ? super X> enhancedDisposedParameter) {
    Set<Annotation> disposedParameterQualifiers = enhancedDisposedParameter.getMetaAnnotations(Qualifier.class);
    if (disposedParameterQualifiers.isEmpty()) {
      disposedParameterQualifiers = Collections.<Annotation> singleton(Default.Literal.INSTANCE);
    }
    return beanManager.getServices().get(MetaAnnotationStore.class).getQualifierInstances(disposedParameterQualifiers);
  }
}
origin: weld/core

  /**
   * A disposer method is bound to a producer if the producer is assignable to the disposed parameter.
   *
   * @param enhancedDisposedParameter
   * @return the set of required qualifiers for the given disposed parameter
   */
  private Set<QualifierInstance> getRequiredQualifiers(EnhancedAnnotatedParameter<?, ? super X> enhancedDisposedParameter) {
    Set<Annotation> disposedParameterQualifiers = enhancedDisposedParameter.getMetaAnnotations(Qualifier.class);
    if (disposedParameterQualifiers.isEmpty()) {
      disposedParameterQualifiers = Collections.<Annotation> singleton(Default.Literal.INSTANCE);
    }
    return beanManager.getServices().get(MetaAnnotationStore.class).getQualifierInstances(disposedParameterQualifiers);
  }
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

  /**
   * A disposer method is bound to a producer if the producer is assignable to the disposed parameter.
   *
   * @param enhancedDisposedParameter
   * @return the set of required qualifiers for the given disposed parameter
   */
  private Set<QualifierInstance> getRequiredQualifiers(EnhancedAnnotatedParameter<?, ? super X> enhancedDisposedParameter) {
    Set<Annotation> disposedParameterQualifiers = enhancedDisposedParameter.getMetaAnnotations(Qualifier.class);
    if (disposedParameterQualifiers.isEmpty()) {
      disposedParameterQualifiers = Collections.<Annotation> singleton(Default.Literal.INSTANCE);
    }
    return beanManager.getServices().get(MetaAnnotationStore.class).getQualifierInstances(disposedParameterQualifiers);
  }
}
origin: org.jboss.weld.se/weld-se

this.id = createId(observer, declaringBean);
this.bindings = manager.getServices().get(SharedObjectCache.class)
    .getSharedSet(observer.getEnhancedParameters(Observes.class).get(0).getMetaAnnotations(Qualifier.class));
Observes observesAnnotation = observer.getEnhancedParameters(Observes.class).get(0).getAnnotation(Observes.class);
this.reception = observesAnnotation.notifyObserver();
origin: weld/core

    .getSharedSet(eventParameter.getMetaAnnotations(Qualifier.class));
this.eventType = new HierarchyDiscovery(declaringBean.getBeanClass()).resolveType(eventParameter.getBaseType());
origin: weld/core

    .getSharedSet(eventParameter.getMetaAnnotations(Qualifier.class));
this.eventType = new HierarchyDiscovery(declaringBean.getBeanClass()).resolveType(eventParameter.getBaseType());
origin: weld/core

    .getSharedSet(eventParameter.getMetaAnnotations(Qualifier.class));
this.eventType = new HierarchyDiscovery(declaringBean.getBeanClass()).resolveType(eventParameter.getBaseType());
origin: org.jboss.weld.servlet/weld-servlet-shaded

    .getSharedSet(eventParameter.getMetaAnnotations(Qualifier.class));
this.eventType = new HierarchyDiscovery(declaringBean.getBeanClass()).resolveType(eventParameter.getBaseType());
origin: org.jboss.weld.se/weld-se-shaded

    .getSharedSet(eventParameter.getMetaAnnotations(Qualifier.class));
this.eventType = new HierarchyDiscovery(declaringBean.getBeanClass()).resolveType(eventParameter.getBaseType());
org.jboss.weld.annotated.enhancedEnhancedAnnotatedParametergetMetaAnnotations

Popular methods of EnhancedAnnotatedParameter

  • getActualTypeArguments
  • getAnnotation
  • getBaseType
  • getDeclaringEnhancedCallable
  • getJavaClass
  • getPosition
  • getQualifiers
  • isAnnotationPresent
  • slim
    Returns a lightweight implementation of AnnotatedParameter with minimal memory footprint.
  • getDeclaringCallable
  • getDeclaringType
  • getDeclaringType

Popular in Java

  • Making http post requests using okhttp
  • setRequestProperty (URLConnection)
  • findViewById (Activity)
  • getSystemService (Context)
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Top 15 Vim Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now