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

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

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

origin: HotswapProjects/HotswapAgent

if (!eat.isAbstract() || !eat.getJavaClass().isInterface()) { // injectionTargetCannotBeCreatedForInterface
  ((AbstractClassBean)bean).setProducer(beanManager.getLocalInjectionTargetFactory(eat).createInjectionTarget(eat, bean, false));
  if (isReinjectingContext(bean)) {
origin: wildfly/wildfly

EnhancedAnnotatedType<T> type = transformer.getEnhancedAnnotatedType(clazz, beanManager.getId());
if (!type.getJavaClass().equals(componentClass)) {
origin: weld/core

  @Override
  public String toString() {
    return "InterceptionModelInitializer for " + annotatedType.getJavaClass();
  }
}
origin: weld/core

  @Override
  public String toString() {
    return "InterceptionModelInitializer for " + annotatedType.getJavaClass();
  }
}
origin: weld/core

/**
 * Initializes the bean type
 */
protected void initType() {
  this.type = getEnhancedAnnotated().getJavaClass();
}
origin: weld/core

/**
 * Initializes the bean type
 */
protected void initType() {
  this.type = getEnhancedAnnotated().getJavaClass();
}
origin: org.jboss.weld.se/weld-se

/**
 * Initializes the bean type
 */
protected void initType() {
  this.type = getEnhancedAnnotated().getJavaClass();
}
origin: org.jboss.weld.se/weld-se

public <T> ConstructorInjectionPoint<T> createConstructorInjectionPoint(Bean<T> declaringBean,
    EnhancedAnnotatedType<T> type, BeanManagerImpl manager) {
  EnhancedAnnotatedConstructor<T> constructor = Beans.getBeanConstructorStrict(type);
  return createConstructorInjectionPoint(declaringBean, type.getJavaClass(), constructor, manager);
}
origin: weld/core

public <T> ConstructorInjectionPoint<T> createConstructorInjectionPoint(Bean<T> declaringBean,
    EnhancedAnnotatedType<T> type, BeanManagerImpl manager) {
  EnhancedAnnotatedConstructor<T> constructor = Beans.getBeanConstructorStrict(type);
  return createConstructorInjectionPoint(declaringBean, type.getJavaClass(), constructor, manager);
}
origin: weld/core

protected void checkType(EnhancedAnnotatedType<T> type) {
  if (!Reflections.isTopLevelOrStaticNestedClass(type.getJavaClass())) {
    throw BeanLogger.LOG.simpleBeanAsNonStaticInnerClassNotAllowed(type);
  }
}
origin: org.jboss.weld.se/weld-se

  @Override
  protected Class<T> createEnhancedSubclass(EnhancedAnnotatedType<T> type, Bean<?> bean, BeanManagerImpl manager) {
    return new DecoratorProxyFactory<T>(manager.getContextId(), type.getJavaClass(), delegateInjectionPoint, bean).getProxyClass();
  }
};
origin: org.jboss.weld.se/weld-se

@Override
public <M> EnhancedAnnotatedMethod<M, ?> getEnhancedMethod(MethodSignature signature) {
  EnhancedAnnotatedMethod<M, ?> method = cast(getDeclaredEnhancedMethod(signature));
  if ((method == null) && (superclass != null) && (superclass.getJavaClass() != Object.class)) {
    method = superclass.getEnhancedMethod(signature);
  }
  return method;
}
origin: weld/core

  @Override
  protected Class<T> createEnhancedSubclass(EnhancedAnnotatedType<T> type, Bean<?> bean, BeanManagerImpl manager) {
    return new DecoratorProxyFactory<T>(manager.getContextId(), type.getJavaClass(), delegateInjectionPoint, bean).getProxyClass();
  }
};
origin: weld/core

@Override
public <M> EnhancedAnnotatedMethod<M, ?> getEnhancedMethod(MethodSignature signature) {
  EnhancedAnnotatedMethod<M, ?> method = cast(getDeclaredEnhancedMethod(signature));
  if ((method == null) && (superclass != null) && (superclass.getJavaClass() != Object.class)) {
    method = superclass.getEnhancedMethod(signature);
  }
  return method;
}
origin: weld/core

  @Override
  protected Class<T> createEnhancedSubclass(EnhancedAnnotatedType<T> type, Bean<?> bean, BeanManagerImpl manager) {
    return new DecoratorProxyFactory<T>(manager.getContextId(), type.getJavaClass(), delegateInjectionPoint, bean).getProxyClass();
  }
};
origin: weld/core

protected SubclassedComponentInstantiator(EnhancedAnnotatedType<T> type, Bean<T> bean, ConstructorInjectionPoint<T> originalConstructor, BeanManagerImpl manager) {
  EnhancedAnnotatedConstructor<T> constructorForEnhancedSubclass = initEnhancedSubclass(manager, type, bean, originalConstructor);
  this.proxyClassConstructorInjectionPoint = new ProxyClassConstructorInjectionPointWrapper<T>(bean, type.getJavaClass(), constructorForEnhancedSubclass, originalConstructor, manager);
  this.componentClassConstructor = originalConstructor.getAnnotated().getJavaMember();
}
origin: org.jboss.weld.se/weld-se

protected SubclassedComponentInstantiator(EnhancedAnnotatedType<T> type, Bean<T> bean, ConstructorInjectionPoint<T> originalConstructor, BeanManagerImpl manager) {
  EnhancedAnnotatedConstructor<T> constructorForEnhancedSubclass = initEnhancedSubclass(manager, type, bean, originalConstructor);
  this.proxyClassConstructorInjectionPoint = new ProxyClassConstructorInjectionPointWrapper<T>(bean, type.getJavaClass(), constructorForEnhancedSubclass, originalConstructor, manager);
  this.componentClassConstructor = originalConstructor.getAnnotated().getJavaMember();
}
origin: org.jboss.weld.se/weld-se

public static <T> SubclassedComponentInstantiator<T> forSubclassedEjb(EnhancedAnnotatedType<T> componentType, EnhancedAnnotatedType<T> subclass, Bean<T> bean, BeanManagerImpl manager) {
  final EnhancedAnnotatedConstructor<T> componentConstructor = Beans.getBeanConstructor(componentType);
  final EnhancedAnnotatedConstructor<T> subclassConstructor = findMatchingConstructor(componentConstructor.getSignature(), subclass);
  final ConstructorInjectionPoint<T> cip = InjectionPointFactory.instance().createConstructorInjectionPoint(bean, componentType.getJavaClass(), subclassConstructor, manager);
  return new SubclassedComponentInstantiator<T>(cip, componentConstructor.getJavaMember());
}
origin: weld/core

public static <T> SubclassedComponentInstantiator<T> forSubclassedEjb(EnhancedAnnotatedType<T> componentType, EnhancedAnnotatedType<T> subclass, Bean<T> bean, BeanManagerImpl manager) {
  final EnhancedAnnotatedConstructor<T> componentConstructor = Beans.getBeanConstructor(componentType);
  final EnhancedAnnotatedConstructor<T> subclassConstructor = findMatchingConstructor(componentConstructor.getSignature(), subclass);
  final ConstructorInjectionPoint<T> cip = InjectionPointFactory.instance().createConstructorInjectionPoint(bean, componentType.getJavaClass(), subclassConstructor, manager);
  return new SubclassedComponentInstantiator<T>(cip, componentConstructor.getJavaMember());
}
origin: weld/core

public ExtensionBean(BeanManagerImpl manager, EnhancedAnnotatedType<E> enhancedAnnotatedType, Metadata<E> instance) {
  super(new StringBeanIdentifier(BeanIdentifiers.forExtension(enhancedAnnotatedType)), manager, enhancedAnnotatedType.getJavaClass());
  this.annotatedType = enhancedAnnotatedType.slim();
  this.instance = instance;
  this.passivationCapable = enhancedAnnotatedType.isSerializable();
  this.proxiable = Proxies.isTypeProxyable(enhancedAnnotatedType.getBaseType(), manager.getServices());
  checkPublicFields(enhancedAnnotatedType);
}
org.jboss.weld.annotated.enhancedEnhancedAnnotatedTypegetJavaClass

Popular methods of EnhancedAnnotatedType

  • getDeclaredEnhancedConstructor
    Get the constructor which matches the argument list provided
  • getEnhancedMethod
    Get a method by name
  • getEnhancedMethods
    Gets all methods annotated with annotationType including those declared on a superclass of #getJavaC
  • getNoArgsEnhancedConstructor
    Gets the no-args constructor
  • isAbstract
  • isDiscovered
  • slim
    Returns a lightweight implementation of AnnotatedType with minimal memory footprint.
  • getConstructors
  • getDeclaredEnhancedFields
    Gets all fields which are annotated with the given annotation type on this class only.
  • getDeclaredEnhancedMethods
    Gets all methods annotated with annotationType
  • getDeclaredEnhancedMethodsWithAnnotatedParameters
    Gets declared with parameters annotated with annotationType
  • getDeclaredMetaAnnotations
    Gets all annotations which are declared on this annotated item with the given meta annotation type
  • getDeclaredEnhancedMethodsWithAnnotatedParameters,
  • getDeclaredMetaAnnotations,
  • getEnhancedConstructors,
  • getEnhancedFields,
  • getEnhancedMethodsWithAnnotatedParameters,
  • getEnhancedSuperclass,
  • getFields,
  • getMethods,
  • getSimpleName

Popular in Java

  • Updating database using SQL prepared statement
  • getSystemService (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • onCreateOptionsMenu (Activity)
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • JOptionPane (javax.swing)
  • JPanel (javax.swing)
  • Top Sublime Text plugins
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