Tabnine Logo
EnhancedAnnotatedMember.getJavaClass
Code IndexAdd Tabnine to your IDE (free)

How to use
getJavaClass
method
in
org.jboss.weld.annotated.enhanced.EnhancedAnnotatedMember

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

origin: weld/core

/**
 * Initializes the type
 */
protected void initType() {
  try {
    this.type = getEnhancedAnnotated().getJavaClass();
  } catch (ClassCastException e) {
    Type type = Beans.getDeclaredBeanType(getClass());
    throw BeanLogger.LOG.producerCastError(getEnhancedAnnotated().getJavaClass(), (type == null ? " unknown " : type), e);
  }
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

/**
 * Initializes the type
 */
protected void initType() {
  try {
    this.type = getEnhancedAnnotated().getJavaClass();
  } catch (ClassCastException e) {
    Type type = Beans.getDeclaredBeanType(getClass());
    throw BeanLogger.LOG.producerCastError(getEnhancedAnnotated().getJavaClass(), (type == null ? " unknown " : type), e);
  }
}
origin: org.jboss.weld.se/weld-se-shaded

/**
 * Initializes the type
 */
protected void initType() {
  try {
    this.type = getEnhancedAnnotated().getJavaClass();
  } catch (ClassCastException e) {
    Type type = Beans.getDeclaredBeanType(getClass());
    throw BeanLogger.LOG.producerCastError(getEnhancedAnnotated().getJavaClass(), (type == null ? " unknown " : type), e);
  }
}
origin: org.jboss.weld.se/weld-se

/**
 * Initializes the type
 */
protected void initType() {
  try {
    this.type = getEnhancedAnnotated().getJavaClass();
  } catch (ClassCastException e) {
    Type type = Beans.getDeclaredBeanType(getClass());
    throw BeanLogger.LOG.producerCastError(getEnhancedAnnotated().getJavaClass(), (type == null ? " unknown " : type), e);
  }
}
origin: weld/core

/**
 * Initializes the type
 */
protected void initType() {
  try {
    this.type = getEnhancedAnnotated().getJavaClass();
  } catch (ClassCastException e) {
    Type type = Beans.getDeclaredBeanType(getClass());
    throw BeanLogger.LOG.producerCastError(getEnhancedAnnotated().getJavaClass(), (type == null ? " unknown " : type), e);
  }
}
origin: weld/core

/**
 * Initializes the type
 */
protected void initType() {
  try {
    this.type = getEnhancedAnnotated().getJavaClass();
  } catch (ClassCastException e) {
    Type type = Beans.getDeclaredBeanType(getClass());
    throw BeanLogger.LOG.producerCastError(getEnhancedAnnotated().getJavaClass(), (type == null ? " unknown " : type), e);
  }
}
origin: weld/core

private void initPassivationCapable() {
  this.passivationCapableBean = !Reflections.isFinal(getEnhancedAnnotated().getJavaClass()) || Reflections.isSerializable(getEnhancedAnnotated().getJavaClass());
  if (isNormalScoped()) {
    this.passivationCapableDependency = true;
  } else if (getScope().equals(Dependent.class) && passivationCapableBean) {
    this.passivationCapableDependency = true;
  } else {
    this.passivationCapableDependency = false;
  }
}
origin: weld/core

private void initPassivationCapable() {
  this.passivationCapableBean = !Reflections.isFinal(getEnhancedAnnotated().getJavaClass()) || Reflections.isSerializable(getEnhancedAnnotated().getJavaClass());
  if (isNormalScoped()) {
    this.passivationCapableDependency = true;
  } else if (getScope().equals(Dependent.class) && passivationCapableBean) {
    this.passivationCapableDependency = true;
  } else {
    this.passivationCapableDependency = false;
  }
}
origin: weld/core

private void initPassivationCapable() {
  this.passivationCapableBean = !Reflections.isFinal(getEnhancedAnnotated().getJavaClass()) || Reflections.isSerializable(getEnhancedAnnotated().getJavaClass());
  if (isNormalScoped()) {
    this.passivationCapableDependency = true;
  } else if (getScope().equals(Dependent.class) && passivationCapableBean) {
    this.passivationCapableDependency = true;
  } else {
    this.passivationCapableDependency = false;
  }
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

private void initPassivationCapable() {
  this.passivationCapableBean = !Reflections.isFinal(getEnhancedAnnotated().getJavaClass()) || Reflections.isSerializable(getEnhancedAnnotated().getJavaClass());
  if (isNormalScoped()) {
    this.passivationCapableDependency = true;
  } else if (getScope().equals(Dependent.class) && passivationCapableBean) {
    this.passivationCapableDependency = true;
  } else {
    this.passivationCapableDependency = false;
  }
}
origin: org.jboss.weld.se/weld-se

private void initPassivationCapable() {
  this.passivationCapableBean = !Reflections.isFinal(getEnhancedAnnotated().getJavaClass()) || Reflections.isSerializable(getEnhancedAnnotated().getJavaClass());
  if (isNormalScoped()) {
    this.passivationCapableDependency = true;
  } else if (getScope().equals(Dependent.class) && passivationCapableBean) {
    this.passivationCapableDependency = true;
  } else {
    this.passivationCapableDependency = false;
  }
}
origin: org.jboss.weld.se/weld-se-shaded

private void initPassivationCapable() {
  this.passivationCapableBean = !Reflections.isFinal(getEnhancedAnnotated().getJavaClass()) || Reflections.isSerializable(getEnhancedAnnotated().getJavaClass());
  if (isNormalScoped()) {
    this.passivationCapableDependency = true;
  } else if (getScope().equals(Dependent.class) && passivationCapableBean) {
    this.passivationCapableDependency = true;
  } else {
    this.passivationCapableDependency = false;
  }
}
org.jboss.weld.annotated.enhancedEnhancedAnnotatedMembergetJavaClass

Popular methods of EnhancedAnnotatedMember

  • getBaseType
  • getDeclaringType
    Gets an abstraction of the declaring class
  • getJavaMember
  • slim
    Returns a lightweight implementation of AnnotatedMember with minimal memory footprint.

Popular in Java

  • Creating JSON documents from java classes using gson
  • findViewById (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • runOnUiThread (Activity)
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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