Codota Logo
EnhancedAnnotationImpl
Code IndexAdd Codota to your IDE (free)

How to use
EnhancedAnnotationImpl
in
org.jboss.weld.annotated.enhanced.jlr

Best Java code snippets using org.jboss.weld.annotated.enhanced.jlr.EnhancedAnnotationImpl (Showing top 20 results out of 315)

Refine searchRefine arrow

  • ClassTransformer
  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
StringBuilder s =
  • Codota Iconnew StringBuilder()
  • Codota Iconnew StringBuilder(32)
  • Codota IconString str;new StringBuilder(str)
  • Smart code suggestions by Codota
}
origin: weld/core

  @Override
  public EnhancedAnnotation<?> apply(Class<? extends Annotation> from) {
    SlimAnnotatedType<? extends Annotation> slimAnnotatedType = syntheticAnnotationsAnnotatedTypes.get(from);
    if (slimAnnotatedType == null) {
      // We do not recognize the BDA that defined the annotation This could in theory cause problem is two
      // annotations with the same name but different definition are defined within the same application (different
      // BDAs)
      slimAnnotatedType = getBackedAnnotatedType(from, AnnotatedTypeIdentifier.NULL_BDA_ID);
    }
    return EnhancedAnnotationImpl.create(slimAnnotatedType, ClassTransformer.this);
  }
}
origin: org.jboss.weld.se/weld-se

/**
 * Gets a string representation of the annotation
 *
 * @return A string representation
 */
@Override
public String toString() {
  return getJavaClass().toString();
}
origin: org.jboss.weld.se/weld-se

public static <A extends Annotation> EnhancedAnnotation<A> create(SlimAnnotatedType<A> annotatedType, ClassTransformer classTransformer) {
  Class<A> annotationType = annotatedType.getJavaClass();
  Map<Class<? extends Annotation>, Annotation> annotationMap = new HashMap<Class<? extends Annotation>, Annotation>();
  annotationMap.putAll(buildAnnotationMap(annotatedType.getAnnotations()));
  annotationMap.putAll(buildAnnotationMap(classTransformer.getTypeStore().get(annotationType)));
  // Annotations and declared annotations are the same for annotation type
  return new EnhancedAnnotationImpl<A>(annotatedType, annotationMap, annotationMap, classTransformer);
}
origin: org.jboss.weld.se/weld-se

  @Override
  public boolean equals(Object obj) {
    if (obj == null) {
      return false;
    }
    if (this == obj) {
      return true;
    }
    if (getClass() != obj.getClass()) {
      return false;
    }
    EnhancedAnnotationImpl<?> that = cast(obj);
    return super.equals(that);
  }
}
origin: weld/core

public static <A extends Annotation> EnhancedAnnotation<A> create(SlimAnnotatedType<A> annotatedType, ClassTransformer classTransformer) {
  Class<A> annotationType = annotatedType.getJavaClass();
  Map<Class<? extends Annotation>, Annotation> annotationMap = new HashMap<Class<? extends Annotation>, Annotation>();
  annotationMap.putAll(buildAnnotationMap(annotatedType.getAnnotations()));
  annotationMap.putAll(buildAnnotationMap(classTransformer.getTypeStore().get(annotationType)));
  // Annotations and declared annotations are the same for annotation type
  return new EnhancedAnnotationImpl<A>(annotatedType, annotationMap, annotationMap, classTransformer);
}
origin: weld/core

  @Override
  public boolean equals(Object obj) {
    if (obj == null) {
      return false;
    }
    if (this == obj) {
      return true;
    }
    if (getClass() != obj.getClass()) {
      return false;
    }
    EnhancedAnnotationImpl<?> that = cast(obj);
    return super.equals(that);
  }
}
origin: weld/core

public static <A extends Annotation> EnhancedAnnotation<A> create(SlimAnnotatedType<A> annotatedType, ClassTransformer classTransformer) {
  Class<A> annotationType = annotatedType.getJavaClass();
  Map<Class<? extends Annotation>, Annotation> annotationMap = new HashMap<Class<? extends Annotation>, Annotation>();
  annotationMap.putAll(buildAnnotationMap(annotatedType.getAnnotations()));
  annotationMap.putAll(buildAnnotationMap(classTransformer.getTypeStore().get(annotationType)));
  // Annotations and declared annotations are the same for annotation type
  return new EnhancedAnnotationImpl<A>(annotatedType, annotationMap, annotationMap, classTransformer);
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

  @Override
  public EnhancedAnnotation<?> apply(Class<? extends Annotation> from) {
    SlimAnnotatedType<? extends Annotation> slimAnnotatedType = syntheticAnnotationsAnnotatedTypes.get(from);
    if (slimAnnotatedType == null) {
      // We do not recognize the BDA that defined the annotation This could in theory cause problem is two
      // annotations with the same name but different definition are defined within the same application (different
      // BDAs)
      slimAnnotatedType = getBackedAnnotatedType(from, AnnotatedTypeIdentifier.NULL_BDA_ID);
    }
    return EnhancedAnnotationImpl.create(slimAnnotatedType, ClassTransformer.this);
  }
}
origin: weld/core

/**
 * Gets a string representation of the annotation
 *
 * @return A string representation
 */
@Override
public String toString() {
  return getJavaClass().toString();
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

  @Override
  public boolean equals(Object obj) {
    if (obj == null) {
      return false;
    }
    if (this == obj) {
      return true;
    }
    if (getClass() != obj.getClass()) {
      return false;
    }
    EnhancedAnnotationImpl<?> that = cast(obj);
    return super.equals(that);
  }
}
origin: weld/core

public static <A extends Annotation> EnhancedAnnotation<A> create(SlimAnnotatedType<A> annotatedType, ClassTransformer classTransformer) {
  Class<A> annotationType = annotatedType.getJavaClass();
  Map<Class<? extends Annotation>, Annotation> annotationMap = new HashMap<Class<? extends Annotation>, Annotation>();
  annotationMap.putAll(buildAnnotationMap(annotatedType.getAnnotations()));
  annotationMap.putAll(buildAnnotationMap(classTransformer.getTypeStore().get(annotationType)));
  // Annotations and declared annotations are the same for annotation type
  return new EnhancedAnnotationImpl<A>(annotatedType, annotationMap, annotationMap, classTransformer);
}
origin: weld/core

  @Override
  public EnhancedAnnotation<?> apply(Class<? extends Annotation> from) {
    SlimAnnotatedType<? extends Annotation> slimAnnotatedType = syntheticAnnotationsAnnotatedTypes.get(from);
    if (slimAnnotatedType == null) {
      // We do not recognize the BDA that defined the annotation This could in theory cause problem is two
      // annotations with the same name but different definition are defined within the same application (different
      // BDAs)
      slimAnnotatedType = getBackedAnnotatedType(from, AnnotatedTypeIdentifier.NULL_BDA_ID);
    }
    return EnhancedAnnotationImpl.create(slimAnnotatedType, ClassTransformer.this);
  }
}
origin: weld/core

/**
 * Gets a string representation of the annotation
 *
 * @return A string representation
 */
@Override
public String toString() {
  return getJavaClass().toString();
}
origin: weld/core

  @Override
  public boolean equals(Object obj) {
    if (obj == null) {
      return false;
    }
    if (this == obj) {
      return true;
    }
    if (getClass() != obj.getClass()) {
      return false;
    }
    EnhancedAnnotationImpl<?> that = cast(obj);
    return super.equals(that);
  }
}
origin: org.jboss.weld.se/weld-se-shaded

public static <A extends Annotation> EnhancedAnnotation<A> create(SlimAnnotatedType<A> annotatedType, ClassTransformer classTransformer) {
  Class<A> annotationType = annotatedType.getJavaClass();
  Map<Class<? extends Annotation>, Annotation> annotationMap = new HashMap<Class<? extends Annotation>, Annotation>();
  annotationMap.putAll(buildAnnotationMap(annotatedType.getAnnotations()));
  annotationMap.putAll(buildAnnotationMap(classTransformer.getTypeStore().get(annotationType)));
  // Annotations and declared annotations are the same for annotation type
  return new EnhancedAnnotationImpl<A>(annotatedType, annotationMap, annotationMap, classTransformer);
}
origin: weld/core

  @Override
  public EnhancedAnnotation<?> apply(Class<? extends Annotation> from) {
    SlimAnnotatedType<? extends Annotation> slimAnnotatedType = syntheticAnnotationsAnnotatedTypes.get(from);
    if (slimAnnotatedType == null) {
      // We do not recognize the BDA that defined the annotation This could in theory cause problem is two
      // annotations with the same name but different definition are defined within the same application (different
      // BDAs)
      slimAnnotatedType = getBackedAnnotatedType(from, AnnotatedTypeIdentifier.NULL_BDA_ID);
    }
    return EnhancedAnnotationImpl.create(slimAnnotatedType, ClassTransformer.this);
  }
}
origin: weld/core

/**
 * Gets a string representation of the annotation
 *
 * @return A string representation
 */
@Override
public String toString() {
  return getJavaClass().toString();
}
origin: weld/core

  @Override
  public boolean equals(Object obj) {
    if (obj == null) {
      return false;
    }
    if (this == obj) {
      return true;
    }
    if (getClass() != obj.getClass()) {
      return false;
    }
    EnhancedAnnotationImpl<?> that = cast(obj);
    return super.equals(that);
  }
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

public static <A extends Annotation> EnhancedAnnotation<A> create(SlimAnnotatedType<A> annotatedType, ClassTransformer classTransformer) {
  Class<A> annotationType = annotatedType.getJavaClass();
  Map<Class<? extends Annotation>, Annotation> annotationMap = new HashMap<Class<? extends Annotation>, Annotation>();
  annotationMap.putAll(buildAnnotationMap(annotatedType.getAnnotations()));
  annotationMap.putAll(buildAnnotationMap(classTransformer.getTypeStore().get(annotationType)));
  // Annotations and declared annotations are the same for annotation type
  return new EnhancedAnnotationImpl<A>(annotatedType, annotationMap, annotationMap, classTransformer);
}
origin: org.jboss.weld.se/weld-se-shaded

  @Override
  public EnhancedAnnotation<?> apply(Class<? extends Annotation> from) {
    SlimAnnotatedType<? extends Annotation> slimAnnotatedType = syntheticAnnotationsAnnotatedTypes.get(from);
    if (slimAnnotatedType == null) {
      // We do not recognize the BDA that defined the annotation This could in theory cause problem is two
      // annotations with the same name but different definition are defined within the same application (different
      // BDAs)
      slimAnnotatedType = getBackedAnnotatedType(from, AnnotatedTypeIdentifier.NULL_BDA_ID);
    }
    return EnhancedAnnotationImpl.create(slimAnnotatedType, ClassTransformer.this);
  }
}
org.jboss.weld.annotated.enhanced.jlrEnhancedAnnotationImpl

Javadoc

Represents an annotated annotation

This class is immutable and therefore threadsafe

Most used methods

  • <init>
    Constructor Initializes the superclass with the built annotation map
  • buildAnnotationMap
  • cast
  • create
  • getJavaClass

Popular in Java

  • Finding current android device location
  • startActivity (Activity)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • Iterator (java.util)
    An iterator over a collection. Iterator takes the place of Enumeration in the Java Collections Frame
  • LinkedHashMap (java.util)
    Hash table and linked list implementation of the Map interface, with predictable iteration order. Th
  • PriorityQueue (java.util)
    An unbounded priority Queue based on a priority heap. The elements of the priority queue are ordered
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Runner (org.openjdk.jmh.runner)
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