Codota Logo
EnhancedAnnotatedParameter.getMetaAnnotations
Code IndexAdd Codota 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)

  • Common ways to obtain EnhancedAnnotatedParameter
private void myMethod () {
EnhancedAnnotatedParameter e =
  • Codota IconObject obj;Reflections.cast(obj)
  • Codota IconEnhancedAnnotatedMethod enhancedAnnotatedMethod;enhancedAnnotatedMethod.getEnhancedParameters(Disposes.class).get(int1)
  • Codota IconEnhancedAnnotatedMethod enhancedAnnotatedMethod;enhancedAnnotatedMethod.getEnhancedParameters(Observes.class).get(int1)
  • Smart code suggestions by Codota
}
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

  • Updating database using SQL prepared statement
  • getExternalFilesDir (Context)
  • startActivity (Activity)
  • getSystemService (Context)
  • FileInputStream (java.io)
    A FileInputStream obtains input bytes from a file in a file system. What files are available depends
  • InputStreamReader (java.io)
    An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and decodes
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Permission (java.security)
    Abstract class for representing access to a system resource. All permissions have a name (whose inte
  • Vector (java.util)
    The Vector class implements a growable array of objects. Like an array, it contains components that
  • JCheckBox (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now