Tabnine Logo
InvokableAnnotatedMethod.of
Code IndexAdd Tabnine to your IDE (free)

How to use
of
method
in
org.jboss.weld.annotated.runtime.InvokableAnnotatedMethod

Best Java code snippets using org.jboss.weld.annotated.runtime.InvokableAnnotatedMethod.of (Showing top 6 results out of 315)

origin: weld/core

/**
 * Determines the set of {@link InvokableAnnotatedMethod}s representing decorated methods of the specified decorator. A decorated method
 * is any method declared by a decorated type which is implemented by the decorator.
 *
 * @param beanManager the bean manager
 * @param decorator the specified decorator
 * @return the set of {@link InvokableAnnotatedMethod}s representing decorated methods of the specified decorator
 */
public static Set<InvokableAnnotatedMethod<?>> getDecoratorMethods(BeanManagerImpl beanManager, WeldDecorator<?> decorator) {
  ImmutableSet.Builder<InvokableAnnotatedMethod<?>> builder = ImmutableSet.builder();
  for (Type type : decorator.getDecoratedTypes()) {
    EnhancedAnnotatedType<?> weldClass = getEnhancedAnnotatedTypeOfDecoratedType(beanManager, type);
    for (EnhancedAnnotatedMethod<?, ?> method : weldClass.getDeclaredEnhancedMethods()) {
      if (decorator.getEnhancedAnnotated().getEnhancedMethod(method.getSignature()) != null) {
        builder.add(InvokableAnnotatedMethod.of(method.slim()));
      }
    }
  }
  return builder.build();
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

/**
 * Determines the set of {@link InvokableAnnotatedMethod}s representing decorated methods of the specified decorator. A decorated method
 * is any method declared by a decorated type which is implemented by the decorator.
 *
 * @param beanManager the bean manager
 * @param decorator the specified decorator
 * @return the set of {@link InvokableAnnotatedMethod}s representing decorated methods of the specified decorator
 */
public static Set<InvokableAnnotatedMethod<?>> getDecoratorMethods(BeanManagerImpl beanManager, WeldDecorator<?> decorator) {
  ImmutableSet.Builder<InvokableAnnotatedMethod<?>> builder = ImmutableSet.builder();
  for (Type type : decorator.getDecoratedTypes()) {
    EnhancedAnnotatedType<?> weldClass = getEnhancedAnnotatedTypeOfDecoratedType(beanManager, type);
    for (EnhancedAnnotatedMethod<?, ?> method : weldClass.getDeclaredEnhancedMethods()) {
      if (decorator.getEnhancedAnnotated().getEnhancedMethod(method.getSignature()) != null) {
        builder.add(InvokableAnnotatedMethod.of(method.slim()));
      }
    }
  }
  return builder.build();
}
origin: org.jboss.weld.se/weld-se

/**
 * Determines the set of {@link InvokableAnnotatedMethod}s representing decorated methods of the specified decorator. A decorated method
 * is any method declared by a decorated type which is implemented by the decorator.
 *
 * @param beanManager the bean manager
 * @param decorator the specified decorator
 * @return the set of {@link InvokableAnnotatedMethod}s representing decorated methods of the specified decorator
 */
public static Set<InvokableAnnotatedMethod<?>> getDecoratorMethods(BeanManagerImpl beanManager, WeldDecorator<?> decorator) {
  ImmutableSet.Builder<InvokableAnnotatedMethod<?>> builder = ImmutableSet.builder();
  for (Type type : decorator.getDecoratedTypes()) {
    EnhancedAnnotatedType<?> weldClass = getEnhancedAnnotatedTypeOfDecoratedType(beanManager, type);
    for (EnhancedAnnotatedMethod<?, ?> method : weldClass.getDeclaredEnhancedMethods()) {
      if (decorator.getEnhancedAnnotated().getEnhancedMethod(method.getSignature()) != null) {
        builder.add(InvokableAnnotatedMethod.of(method.slim()));
      }
    }
  }
  return builder.build();
}
origin: weld/core

/**
 * Determines the set of {@link InvokableAnnotatedMethod}s representing decorated methods of the specified decorator. A decorated method
 * is any method declared by a decorated type which is implemented by the decorator.
 *
 * @param beanManager the bean manager
 * @param decorator the specified decorator
 * @return the set of {@link InvokableAnnotatedMethod}s representing decorated methods of the specified decorator
 */
public static Set<InvokableAnnotatedMethod<?>> getDecoratorMethods(BeanManagerImpl beanManager, WeldDecorator<?> decorator) {
  ImmutableSet.Builder<InvokableAnnotatedMethod<?>> builder = ImmutableSet.builder();
  for (Type type : decorator.getDecoratedTypes()) {
    EnhancedAnnotatedType<?> weldClass = getEnhancedAnnotatedTypeOfDecoratedType(beanManager, type);
    for (EnhancedAnnotatedMethod<?, ?> method : weldClass.getDeclaredEnhancedMethods()) {
      if (decorator.getEnhancedAnnotated().getEnhancedMethod(method.getSignature()) != null) {
        builder.add(InvokableAnnotatedMethod.of(method.slim()));
      }
    }
  }
  return builder.build();
}
origin: weld/core

/**
 * Determines the set of {@link InvokableAnnotatedMethod}s representing decorated methods of the specified decorator. A decorated method
 * is any method declared by a decorated type which is implemented by the decorator.
 *
 * @param beanManager the bean manager
 * @param decorator the specified decorator
 * @return the set of {@link InvokableAnnotatedMethod}s representing decorated methods of the specified decorator
 */
public static Set<InvokableAnnotatedMethod<?>> getDecoratorMethods(BeanManagerImpl beanManager, WeldDecorator<?> decorator) {
  ImmutableSet.Builder<InvokableAnnotatedMethod<?>> builder = ImmutableSet.builder();
  for (Type type : decorator.getDecoratedTypes()) {
    EnhancedAnnotatedType<?> weldClass = getEnhancedAnnotatedTypeOfDecoratedType(beanManager, type);
    for (EnhancedAnnotatedMethod<?, ?> method : weldClass.getDeclaredEnhancedMethods()) {
      if (decorator.getEnhancedAnnotated().getEnhancedMethod(method.getSignature()) != null) {
        builder.add(InvokableAnnotatedMethod.of(method.slim()));
      }
    }
  }
  return builder.build();
}
origin: org.jboss.weld.se/weld-se-shaded

/**
 * Determines the set of {@link InvokableAnnotatedMethod}s representing decorated methods of the specified decorator. A decorated method
 * is any method declared by a decorated type which is implemented by the decorator.
 *
 * @param beanManager the bean manager
 * @param decorator the specified decorator
 * @return the set of {@link InvokableAnnotatedMethod}s representing decorated methods of the specified decorator
 */
public static Set<InvokableAnnotatedMethod<?>> getDecoratorMethods(BeanManagerImpl beanManager, WeldDecorator<?> decorator) {
  ImmutableSet.Builder<InvokableAnnotatedMethod<?>> builder = ImmutableSet.builder();
  for (Type type : decorator.getDecoratedTypes()) {
    EnhancedAnnotatedType<?> weldClass = getEnhancedAnnotatedTypeOfDecoratedType(beanManager, type);
    for (EnhancedAnnotatedMethod<?, ?> method : weldClass.getDeclaredEnhancedMethods()) {
      if (decorator.getEnhancedAnnotated().getEnhancedMethod(method.getSignature()) != null) {
        builder.add(InvokableAnnotatedMethod.of(method.slim()));
      }
    }
  }
  return builder.build();
}
org.jboss.weld.annotated.runtimeInvokableAnnotatedMethodof

Popular methods of InvokableAnnotatedMethod

  • <init>
  • getJavaMember
  • getParameters
  • invokeOnInstance
    Invokes the method on the class of the passed instance, not the declaring class. Useful with proxies

Popular in Java

  • Running tasks concurrently on multiple threads
  • addToBackStack (FragmentTransaction)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getContentResolver (Context)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • Socket (java.net)
    Provides a client-side TCP socket.
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Top PhpStorm 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