Codota Logo
EnhancedAnnotatedMethod.getAnnotations
Code IndexAdd Codota to your IDE (free)

How to use
getAnnotations
method
in
org.jboss.weld.annotated.enhanced.EnhancedAnnotatedMethod

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

  • Common ways to obtain EnhancedAnnotatedMethod
private void myMethod () {
EnhancedAnnotatedMethod e =
  • Codota IconEnhancedAnnotated enhancedAnnotated;Beans.checkEnhancedAnnotatedAvailable(enhancedAnnotated)
  • Codota IconEnhancedAnnotatedType enhancedAnnotatedType;MethodSignature signature;enhancedAnnotatedType.getEnhancedMethod(signature)
  • Smart code suggestions by Codota
}
origin: weld/core

/**
 * Constructor
 * <p/>
 * Initializes the superclass with the built annotation map
 *
 * @param annotationType The annotation type
 */
protected EnhancedAnnotationImpl(SlimAnnotatedType<T> annotatedType, Map<Class<? extends Annotation>, Annotation> annotationMap, Map<Class<? extends Annotation>, Annotation> declaredAnnotationMap, ClassTransformer classTransformer) {
  super(annotatedType, annotationMap, declaredAnnotationMap, classTransformer);
  this.clazz = annotatedType.getJavaClass();
  members = new HashSet<EnhancedAnnotatedMethod<?, ?>>();
  annotatedMembers = SetMultimap.newSetMultimap();
  for (AnnotatedMethod<? super T> annotatedMethod : annotatedType.getMethods()) {
    EnhancedAnnotatedMethod<?, ? super T> enhancedAnnotatedMethod = EnhancedAnnotatedMethodImpl.of(annotatedMethod, this, classTransformer);
    members.add(enhancedAnnotatedMethod);
    for (Annotation annotation : enhancedAnnotatedMethod.getAnnotations()) {
      annotatedMembers.put(annotation.annotationType(), enhancedAnnotatedMethod);
    }
  }
}
origin: weld/core

/**
 * Constructor
 * <p/>
 * Initializes the superclass with the built annotation map
 *
 * @param annotationType The annotation type
 */
protected EnhancedAnnotationImpl(SlimAnnotatedType<T> annotatedType, Map<Class<? extends Annotation>, Annotation> annotationMap, Map<Class<? extends Annotation>, Annotation> declaredAnnotationMap, ClassTransformer classTransformer) {
  super(annotatedType, annotationMap, declaredAnnotationMap, classTransformer);
  this.clazz = annotatedType.getJavaClass();
  members = new HashSet<EnhancedAnnotatedMethod<?, ?>>();
  annotatedMembers = SetMultimap.newSetMultimap();
  for (AnnotatedMethod<? super T> annotatedMethod : annotatedType.getMethods()) {
    EnhancedAnnotatedMethod<?, ? super T> enhancedAnnotatedMethod = EnhancedAnnotatedMethodImpl.of(annotatedMethod, this, classTransformer);
    members.add(enhancedAnnotatedMethod);
    for (Annotation annotation : enhancedAnnotatedMethod.getAnnotations()) {
      annotatedMembers.put(annotation.annotationType(), enhancedAnnotatedMethod);
    }
  }
}
origin: weld/core

/**
 * Constructor
 * <p/>
 * Initializes the superclass with the built annotation map
 *
 * @param annotationType The annotation type
 */
protected EnhancedAnnotationImpl(SlimAnnotatedType<T> annotatedType, Map<Class<? extends Annotation>, Annotation> annotationMap, Map<Class<? extends Annotation>, Annotation> declaredAnnotationMap, ClassTransformer classTransformer) {
  super(annotatedType, annotationMap, declaredAnnotationMap, classTransformer);
  this.clazz = annotatedType.getJavaClass();
  members = new HashSet<EnhancedAnnotatedMethod<?, ?>>();
  annotatedMembers = SetMultimap.newSetMultimap();
  for (AnnotatedMethod<? super T> annotatedMethod : annotatedType.getMethods()) {
    EnhancedAnnotatedMethod<?, ? super T> enhancedAnnotatedMethod = EnhancedAnnotatedMethodImpl.of(annotatedMethod, this, classTransformer);
    members.add(enhancedAnnotatedMethod);
    for (Annotation annotation : enhancedAnnotatedMethod.getAnnotations()) {
      annotatedMembers.put(annotation.annotationType(), enhancedAnnotatedMethod);
    }
  }
}
origin: org.jboss.weld.se/weld-se

/**
 * Constructor
 * <p/>
 * Initializes the superclass with the built annotation map
 *
 * @param annotationType The annotation type
 */
protected EnhancedAnnotationImpl(SlimAnnotatedType<T> annotatedType, Map<Class<? extends Annotation>, Annotation> annotationMap, Map<Class<? extends Annotation>, Annotation> declaredAnnotationMap, ClassTransformer classTransformer) {
  super(annotatedType, annotationMap, declaredAnnotationMap, classTransformer);
  this.clazz = annotatedType.getJavaClass();
  members = new HashSet<EnhancedAnnotatedMethod<?, ?>>();
  annotatedMembers = SetMultimap.newSetMultimap();
  for (AnnotatedMethod<? super T> annotatedMethod : annotatedType.getMethods()) {
    EnhancedAnnotatedMethod<?, ? super T> enhancedAnnotatedMethod = EnhancedAnnotatedMethodImpl.of(annotatedMethod, this, classTransformer);
    members.add(enhancedAnnotatedMethod);
    for (Annotation annotation : enhancedAnnotatedMethod.getAnnotations()) {
      annotatedMembers.put(annotation.annotationType(), enhancedAnnotatedMethod);
    }
  }
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

/**
 * Constructor
 * <p/>
 * Initializes the superclass with the built annotation map
 *
 * @param annotationType The annotation type
 */
protected EnhancedAnnotationImpl(SlimAnnotatedType<T> annotatedType, Map<Class<? extends Annotation>, Annotation> annotationMap, Map<Class<? extends Annotation>, Annotation> declaredAnnotationMap, ClassTransformer classTransformer) {
  super(annotatedType, annotationMap, declaredAnnotationMap, classTransformer);
  this.clazz = annotatedType.getJavaClass();
  members = new HashSet<EnhancedAnnotatedMethod<?, ?>>();
  annotatedMembers = SetMultimap.newSetMultimap();
  for (AnnotatedMethod<? super T> annotatedMethod : annotatedType.getMethods()) {
    EnhancedAnnotatedMethod<?, ? super T> enhancedAnnotatedMethod = EnhancedAnnotatedMethodImpl.of(annotatedMethod, this, classTransformer);
    members.add(enhancedAnnotatedMethod);
    for (Annotation annotation : enhancedAnnotatedMethod.getAnnotations()) {
      annotatedMembers.put(annotation.annotationType(), enhancedAnnotatedMethod);
    }
  }
}
origin: org.jboss.weld.se/weld-se-shaded

/**
 * Constructor
 * <p/>
 * Initializes the superclass with the built annotation map
 *
 * @param annotationType The annotation type
 */
protected EnhancedAnnotationImpl(SlimAnnotatedType<T> annotatedType, Map<Class<? extends Annotation>, Annotation> annotationMap, Map<Class<? extends Annotation>, Annotation> declaredAnnotationMap, ClassTransformer classTransformer) {
  super(annotatedType, annotationMap, declaredAnnotationMap, classTransformer);
  this.clazz = annotatedType.getJavaClass();
  members = new HashSet<EnhancedAnnotatedMethod<?, ?>>();
  annotatedMembers = SetMultimap.newSetMultimap();
  for (AnnotatedMethod<? super T> annotatedMethod : annotatedType.getMethods()) {
    EnhancedAnnotatedMethod<?, ? super T> enhancedAnnotatedMethod = EnhancedAnnotatedMethodImpl.of(annotatedMethod, this, classTransformer);
    members.add(enhancedAnnotatedMethod);
    for (Annotation annotation : enhancedAnnotatedMethod.getAnnotations()) {
      annotatedMembers.put(annotation.annotationType(), enhancedAnnotatedMethod);
    }
  }
}
origin: weld/core

    EnhancedAnnotatedMethod<?, ? super T> weldMethod = EnhancedAnnotatedMethodImpl.of(method, this, classTransformer);
    declaredMethodsTemp.add(weldMethod);
    for (Annotation annotation : weldMethod.getAnnotations()) {
      declaredAnnotatedMethods.put(annotation.annotationType(), weldMethod);
  declaredMethodsTemp.add(enhancedMethod);
for (Annotation annotation : enhancedMethod.getAnnotations()) {
  if (method.getJavaMember().getDeclaringClass().equals(javaClass)) {
    declaredAnnotatedMethods.put(annotation.annotationType(), enhancedMethod);
origin: weld/core

    EnhancedAnnotatedMethod<?, ? super T> weldMethod = EnhancedAnnotatedMethodImpl.of(method, this, classTransformer);
    declaredMethodsTemp.add(weldMethod);
    for (Annotation annotation : weldMethod.getAnnotations()) {
      declaredAnnotatedMethods.put(annotation.annotationType(), weldMethod);
  declaredMethodsTemp.add(enhancedMethod);
for (Annotation annotation : enhancedMethod.getAnnotations()) {
  if (method.getJavaMember().getDeclaringClass().equals(javaClass)) {
    declaredAnnotatedMethods.put(annotation.annotationType(), enhancedMethod);
origin: weld/core

    EnhancedAnnotatedMethod<?, ? super T> weldMethod = EnhancedAnnotatedMethodImpl.of(method, this, classTransformer);
    declaredMethodsTemp.add(weldMethod);
    for (Annotation annotation : weldMethod.getAnnotations()) {
      declaredAnnotatedMethods.put(annotation.annotationType(), weldMethod);
  declaredMethodsTemp.add(enhancedMethod);
for (Annotation annotation : enhancedMethod.getAnnotations()) {
  if (method.getJavaMember().getDeclaringClass().equals(javaClass)) {
    declaredAnnotatedMethods.put(annotation.annotationType(), enhancedMethod);
origin: org.jboss.weld.servlet/weld-servlet-shaded

    EnhancedAnnotatedMethod<?, ? super T> weldMethod = EnhancedAnnotatedMethodImpl.of(method, this, classTransformer);
    declaredMethodsTemp.add(weldMethod);
    for (Annotation annotation : weldMethod.getAnnotations()) {
      declaredAnnotatedMethods.put(annotation.annotationType(), weldMethod);
  declaredMethodsTemp.add(enhancedMethod);
for (Annotation annotation : enhancedMethod.getAnnotations()) {
  if (method.getJavaMember().getDeclaringClass().equals(javaClass)) {
    declaredAnnotatedMethods.put(annotation.annotationType(), enhancedMethod);
origin: org.jboss.weld.se/weld-se-shaded

    EnhancedAnnotatedMethod<?, ? super T> weldMethod = EnhancedAnnotatedMethodImpl.of(method, this, classTransformer);
    declaredMethodsTemp.add(weldMethod);
    for (Annotation annotation : weldMethod.getAnnotations()) {
      declaredAnnotatedMethods.put(annotation.annotationType(), weldMethod);
  declaredMethodsTemp.add(enhancedMethod);
for (Annotation annotation : enhancedMethod.getAnnotations()) {
  if (method.getJavaMember().getDeclaringClass().equals(javaClass)) {
    declaredAnnotatedMethods.put(annotation.annotationType(), enhancedMethod);
origin: org.jboss.weld.se/weld-se

    EnhancedAnnotatedMethod<?, ? super T> weldMethod = EnhancedAnnotatedMethodImpl.of(method, this, classTransformer);
    declaredMethodsTemp.add(weldMethod);
    for (Annotation annotation : weldMethod.getAnnotations()) {
      declaredAnnotatedMethods.put(annotation.annotationType(), weldMethod);
  declaredMethodsTemp.add(enhancedMethod);
for (Annotation annotation : enhancedMethod.getAnnotations()) {
  if (method.getJavaMember().getDeclaringClass().equals(javaClass)) {
    declaredAnnotatedMethods.put(annotation.annotationType(), enhancedMethod);
org.jboss.weld.annotated.enhancedEnhancedAnnotatedMethodgetAnnotations

Popular methods of EnhancedAnnotatedMethod

  • getSignature
  • isStatic
  • getJavaMember
  • isFinal
  • isPrivate
  • getAnnotation
  • getBaseType
  • getDeclaringType
  • getEnhancedParameters
    Get the parameters annotated with a given annotation type.
  • getJavaClass
  • getName
  • getPackage
  • getName,
  • getPackage,
  • getParameterTypesAsArray,
  • getParameters,
  • getPropertyName,
  • getTypeClosure,
  • isAnnotationPresent,
  • isGeneric,
  • isPackagePrivate

Popular in Java

  • Parsing JSON documents to java classes using gson
  • findViewById (Activity)
  • getSystemService (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • Socket (java.net)
    Provides a client-side TCP socket.
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Pattern (java.util.regex)
    A compiled representation of a regular expression. A regular expression, specified as a string, must
  • JCheckBox (javax.swing)
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
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