Codota Logo
EnhancedAnnotatedParameter.isAnnotationPresent
Code IndexAdd Codota to your IDE (free)

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

Best Java code snippets using org.jboss.weld.annotated.enhanced.EnhancedAnnotatedParameter.isAnnotationPresent (Showing top 20 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

  private boolean isSpecialParameter(EnhancedAnnotatedParameter<?, ?> parameter) {
    return parameter.isAnnotationPresent(Disposes.class) || parameter.isAnnotationPresent(Observes.class)
        || parameter.isAnnotationPresent(ObservesAsync.class);
  }
}
origin: weld/core

private static boolean initHasTransientReference(List<? extends EnhancedAnnotatedParameter<?, ?>> parameters) {
  for (EnhancedAnnotatedParameter<?, ?> parameter : parameters) {
    if (parameter.isAnnotationPresent(TransientReference.class)) {
      return true;
    }
  }
  return false;
}
origin: org.jboss.weld.se/weld-se

private static boolean initHasTransientReference(List<? extends EnhancedAnnotatedParameter<?, ?>> parameters) {
  for (EnhancedAnnotatedParameter<?, ?> parameter : parameters) {
    if (parameter.isAnnotationPresent(TransientReference.class)) {
      return true;
    }
  }
  return false;
}
origin: weld/core

  private boolean isSpecialParameter(EnhancedAnnotatedParameter<?, ?> parameter) {
    return parameter.isAnnotationPresent(Disposes.class) || parameter.isAnnotationPresent(Observes.class)
        || parameter.isAnnotationPresent(ObservesAsync.class);
  }
}
origin: org.jboss.weld.se/weld-se

  private boolean isSpecialParameter(EnhancedAnnotatedParameter<?, ?> parameter) {
    return parameter.isAnnotationPresent(Disposes.class) || parameter.isAnnotationPresent(Observes.class);
  }
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

private static boolean initHasTransientReference(List<? extends EnhancedAnnotatedParameter<?, ?>> parameters) {
  for (EnhancedAnnotatedParameter<?, ?> parameter : parameters) {
    if (parameter.isAnnotationPresent(TransientReference.class)) {
      return true;
    }
  }
  return false;
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

  private boolean isSpecialParameter(EnhancedAnnotatedParameter<?, ?> parameter) {
    return parameter.isAnnotationPresent(Disposes.class) || parameter.isAnnotationPresent(Observes.class)
        || parameter.isAnnotationPresent(ObservesAsync.class);
  }
}
origin: weld/core

private static boolean initHasTransientReference(List<? extends EnhancedAnnotatedParameter<?, ?>> parameters) {
  for (EnhancedAnnotatedParameter<?, ?> parameter : parameters) {
    if (parameter.isAnnotationPresent(TransientReference.class)) {
      return true;
    }
  }
  return false;
}
origin: weld/core

  private boolean isSpecialParameter(EnhancedAnnotatedParameter<?, ?> parameter) {
    return parameter.isAnnotationPresent(Disposes.class) || parameter.isAnnotationPresent(Observes.class)
        || parameter.isAnnotationPresent(ObservesAsync.class);
  }
}
origin: weld/core

private static boolean initHasTransientReference(List<? extends EnhancedAnnotatedParameter<?, ?>> parameters) {
  for (EnhancedAnnotatedParameter<?, ?> parameter : parameters) {
    if (parameter.isAnnotationPresent(TransientReference.class)) {
      return true;
    }
  }
  return false;
}
origin: weld/core

public List<EnhancedAnnotatedParameter<?, X>> getEnhancedParameters(Class<? extends Annotation> annotationType) {
  List<EnhancedAnnotatedParameter<?, X>> ret = new ArrayList<EnhancedAnnotatedParameter<?, X>>();
  for (EnhancedAnnotatedParameter<?, X> parameter : parameters) {
    if (parameter.isAnnotationPresent(annotationType)) {
      ret.add(parameter);
    }
  }
  return ret;
}
origin: org.jboss.weld.se/weld-se-shaded

public List<EnhancedAnnotatedParameter<?, X>> getEnhancedParameters(Class<? extends Annotation> annotationType) {
  List<EnhancedAnnotatedParameter<?, X>> ret = new ArrayList<EnhancedAnnotatedParameter<?, X>>();
  for (EnhancedAnnotatedParameter<?, X> parameter : parameters) {
    if (parameter.isAnnotationPresent(annotationType)) {
      ret.add(parameter);
    }
  }
  return ret;
}
origin: org.jboss.weld.se/weld-se

public List<EnhancedAnnotatedParameter<?, X>> getEnhancedParameters(Class<? extends Annotation> annotationType) {
  List<EnhancedAnnotatedParameter<?, X>> ret = new ArrayList<EnhancedAnnotatedParameter<?, X>>();
  for (EnhancedAnnotatedParameter<?, X> parameter : parameters) {
    if (parameter.isAnnotationPresent(annotationType)) {
      ret.add(parameter);
    }
  }
  return ret;
}
origin: weld/core

public List<EnhancedAnnotatedParameter<?, X>> getEnhancedParameters(Class<? extends Annotation> annotationType) {
  List<EnhancedAnnotatedParameter<?, X>> ret = new ArrayList<EnhancedAnnotatedParameter<?, X>>();
  for (EnhancedAnnotatedParameter<?, X> parameter : parameters) {
    if (parameter.isAnnotationPresent(annotationType)) {
      ret.add(parameter);
    }
  }
  return ret;
}
origin: weld/core

public List<EnhancedAnnotatedParameter<?, X>> getEnhancedParameters(Class<? extends Annotation> annotationType) {
  List<EnhancedAnnotatedParameter<?, X>> ret = new ArrayList<EnhancedAnnotatedParameter<?, X>>();
  for (EnhancedAnnotatedParameter<?, X> parameter : parameters) {
    if (parameter.isAnnotationPresent(annotationType)) {
      ret.add(parameter);
    }
  }
  return ret;
}
origin: weld/core

protected void checkRequiredTypeAnnotations(EnhancedAnnotatedParameter<?, ?> eventParameter) {
  if (eventParameter.isAnnotationPresent(WithAnnotations.class)) {
    throw EventLogger.LOG
        .invalidWithAnnotations(this, Formats.formatAsStackTraceElement(eventParameter.getDeclaringEnhancedCallable().getJavaMember()));
  }
}
origin: weld/core

protected void checkRequiredTypeAnnotations(EnhancedAnnotatedParameter<?, ?> eventParameter) {
  if (eventParameter.isAnnotationPresent(WithAnnotations.class)) {
    throw EventLogger.LOG
        .invalidWithAnnotations(this, Formats.formatAsStackTraceElement(eventParameter.getDeclaringEnhancedCallable().getJavaMember()));
  }
}
origin: weld/core

protected void checkRequiredTypeAnnotations(EnhancedAnnotatedParameter<?, ?> eventParameter) {
  if (eventParameter.isAnnotationPresent(WithAnnotations.class)) {
    throw EventLogger.LOG
        .invalidWithAnnotations(this, Formats.formatAsStackTraceElement(eventParameter.getDeclaringEnhancedCallable().getJavaMember()));
  }
}
origin: org.jboss.weld.se/weld-se-shaded

protected void checkRequiredTypeAnnotations(EnhancedAnnotatedParameter<?, ?> eventParameter) {
  if (eventParameter.isAnnotationPresent(WithAnnotations.class)) {
    throw EventLogger.LOG
        .invalidWithAnnotations(this, Formats.formatAsStackTraceElement(eventParameter.getDeclaringEnhancedCallable().getJavaMember()));
  }
}
origin: org.jboss.weld.se/weld-se

protected void checkRequiredTypeAnnotations(EnhancedAnnotatedParameter<?, ?> eventParameter) {
  if (eventParameter.isAnnotationPresent(WithAnnotations.class)) {
    throw EventLogger.LOG
        .invalidWithAnnotations(this, Formats.formatAsStackTraceElement(eventParameter.getDeclaringEnhancedCallable().getJavaMember()));
  }
}
org.jboss.weld.annotated.enhancedEnhancedAnnotatedParameterisAnnotationPresent

Popular methods of EnhancedAnnotatedParameter

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

Popular in Java

  • Updating database using SQL prepared statement
  • getSystemService (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • ImageIO (javax.imageio)
  • JCheckBox (javax.swing)
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
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