Tabnine Logo
Reflections.isTopLevelOrStaticNestedClass
Code IndexAdd Tabnine to your IDE (free)

How to use
isTopLevelOrStaticNestedClass
method
in
org.jboss.weld.util.reflection.Reflections

Best Java code snippets using org.jboss.weld.util.reflection.Reflections.isTopLevelOrStaticNestedClass (Showing top 20 results out of 315)

origin: org.jboss.weld.se/weld-se

public static boolean isCacheable(Annotation[] annotations) {
  for (Annotation qualifier : annotations) {
    Class<?> clazz = qualifier.getClass();
    if (!isTopLevelOrStaticNestedClass(clazz)) {
      return false;
    }
  }
  return true;
}
origin: weld/core

public static boolean isCacheable(Collection<Annotation> annotations) {
  for (Annotation qualifier : annotations) {
    Class<?> clazz = qualifier.getClass();
    if (!isTopLevelOrStaticNestedClass(clazz)) {
      return false;
    }
  }
  return true;
}
origin: weld/core

public static boolean isCacheable(Annotation[] annotations) {
  for (Annotation qualifier : annotations) {
    Class<?> clazz = qualifier.getClass();
    if (!isTopLevelOrStaticNestedClass(clazz)) {
      return false;
    }
  }
  return true;
}
origin: weld/core

public static boolean isCacheable(Collection<Annotation> annotations) {
  for (Annotation qualifier : annotations) {
    Class<?> clazz = qualifier.getClass();
    if (!isTopLevelOrStaticNestedClass(clazz)) {
      return false;
    }
  }
  return true;
}
origin: org.jboss.weld.se/weld-se

public static boolean isCacheable(Collection<Annotation> annotations) {
  for (Annotation qualifier : annotations) {
    Class<?> clazz = qualifier.getClass();
    if (!isTopLevelOrStaticNestedClass(clazz)) {
      return false;
    }
  }
  return true;
}
origin: weld/core

public static boolean isCacheable(Annotation[] annotations) {
  for (Annotation qualifier : annotations) {
    Class<?> clazz = qualifier.getClass();
    if (!isTopLevelOrStaticNestedClass(clazz)) {
      return false;
    }
  }
  return true;
}
origin: org.jboss.weld.se/weld-se-shaded

public static boolean isCacheable(Collection<Annotation> annotations) {
  for (Annotation qualifier : annotations) {
    Class<?> clazz = qualifier.getClass();
    if (!isTopLevelOrStaticNestedClass(clazz)) {
      return false;
    }
  }
  return true;
}
origin: weld/core

public static boolean isCacheable(Collection<Annotation> annotations) {
  for (Annotation qualifier : annotations) {
    Class<?> clazz = qualifier.getClass();
    if (!isTopLevelOrStaticNestedClass(clazz)) {
      return false;
    }
  }
  return true;
}
origin: weld/core

public static boolean isCacheable(Annotation[] annotations) {
  for (Annotation qualifier : annotations) {
    Class<?> clazz = qualifier.getClass();
    if (!isTopLevelOrStaticNestedClass(clazz)) {
      return false;
    }
  }
  return true;
}
origin: weld/core

/**
 * Indicates if the type is a simple Web Bean
 *
 * @param clazz The type to inspect
 * @return True if simple Web Bean, false otherwise
 */
public static boolean isTypeManagedBeanOrDecoratorOrInterceptor(AnnotatedType<?> annotatedType) {
  Class<?> javaClass = annotatedType.getJavaClass();
  return !javaClass.isEnum() && !Extension.class.isAssignableFrom(javaClass)
      && Reflections.isTopLevelOrStaticNestedClass(javaClass) && !Reflections.isParameterizedTypeWithWildcard(javaClass)
      && hasSimpleCdiConstructor(annotatedType);
}
origin: org.jboss.weld.se/weld-se-shaded

/**
 * Indicates if the type is a simple Web Bean
 *
 * @param clazz The type to inspect
 * @return True if simple Web Bean, false otherwise
 */
public static boolean isTypeManagedBeanOrDecoratorOrInterceptor(AnnotatedType<?> annotatedType) {
  Class<?> javaClass = annotatedType.getJavaClass();
  return !javaClass.isEnum() && !Extension.class.isAssignableFrom(javaClass)
      && Reflections.isTopLevelOrStaticNestedClass(javaClass) && !Reflections.isParameterizedTypeWithWildcard(javaClass)
      && hasSimpleCdiConstructor(annotatedType);
}
origin: org.jboss.weld.se/weld-se

/**
 * Indicates if the type is a simple Web Bean
 *
 * @param clazz The type to inspect
 * @return True if simple Web Bean, false otherwise
 */
public static boolean isTypeManagedBeanOrDecoratorOrInterceptor(AnnotatedType<?> annotatedType) {
  Class<?> javaClass = annotatedType.getJavaClass();
  return !javaClass.isEnum() && !Extension.class.isAssignableFrom(javaClass)
      && Reflections.isTopLevelOrStaticNestedClass(javaClass) && !Reflections.isParameterizedTypeWithWildcard(javaClass)
      && hasSimpleCdiConstructor(annotatedType);
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

/**
 * Indicates if the type is a simple Web Bean
 *
 * @param clazz The type to inspect
 * @return True if simple Web Bean, false otherwise
 */
public static boolean isTypeManagedBeanOrDecoratorOrInterceptor(AnnotatedType<?> annotatedType) {
  Class<?> javaClass = annotatedType.getJavaClass();
  return !javaClass.isEnum() && !Extension.class.isAssignableFrom(javaClass)
      && Reflections.isTopLevelOrStaticNestedClass(javaClass) && !Reflections.isParameterizedTypeWithWildcard(javaClass)
      && hasSimpleCdiConstructor(annotatedType);
}
origin: weld/core

/**
 * Indicates if the type is a simple Web Bean
 *
 * @param clazz The type to inspect
 * @return True if simple Web Bean, false otherwise
 */
public static boolean isTypeManagedBeanOrDecoratorOrInterceptor(AnnotatedType<?> annotatedType) {
  Class<?> javaClass = annotatedType.getJavaClass();
  return !javaClass.isEnum() && !Extension.class.isAssignableFrom(javaClass)
      && Reflections.isTopLevelOrStaticNestedClass(javaClass) && !Reflections.isParameterizedTypeWithWildcard(javaClass)
      && hasSimpleCdiConstructor(annotatedType);
}
origin: weld/core

/**
 * Indicates if the type is a simple Web Bean
 *
 * @param clazz The type to inspect
 * @return True if simple Web Bean, false otherwise
 */
public static boolean isTypeManagedBeanOrDecoratorOrInterceptor(AnnotatedType<?> annotatedType) {
  Class<?> javaClass = annotatedType.getJavaClass();
  return !javaClass.isEnum() && !Extension.class.isAssignableFrom(javaClass)
      && Reflections.isTopLevelOrStaticNestedClass(javaClass) && !Reflections.isParameterizedTypeWithWildcard(javaClass)
      && hasSimpleCdiConstructor(annotatedType);
}
origin: weld/core

protected void checkType(EnhancedAnnotatedType<T> type) {
  if (!Reflections.isTopLevelOrStaticNestedClass(type.getJavaClass())) {
    throw BeanLogger.LOG.simpleBeanAsNonStaticInnerClassNotAllowed(type);
  }
}
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

protected void checkType(EnhancedAnnotatedType<T> type) {
  if (!Reflections.isTopLevelOrStaticNestedClass(type.getJavaClass())) {
    throw BeanLogger.LOG.simpleBeanAsNonStaticInnerClassNotAllowed(type);
  }
}
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-shaded

protected void checkType(EnhancedAnnotatedType<T> type) {
  if (!Reflections.isTopLevelOrStaticNestedClass(type.getJavaClass())) {
    throw BeanLogger.LOG.simpleBeanAsNonStaticInnerClassNotAllowed(type);
  }
}
org.jboss.weld.util.reflectionReflectionsisTopLevelOrStaticNestedClass

Popular methods of Reflections

  • cast
  • getRawType
  • loadClass
    Tries to load a class using the specified ResourceLoader. Returns null if the class is not found.
  • getInterfaceClosure
  • invokeAndUnwrap
    Invokes the method on a given instance passing in given parameters. If the invocation yields Invocat
  • isClassLoadable
  • isUnboundedTypeVariable
  • isUnboundedWildcard
  • addInterfaces
  • buildTypeMap
  • containsWildcards
  • getActualTypeArguments
    Gets the actual type arguments of a Type
  • containsWildcards,
  • getActualTypeArguments,
  • getBound,
  • getNesting,
  • getNonPrivateNonStaticFinalMethod,
  • getPropertyName,
  • isAbstract,
  • isArrayType,
  • isCacheable

Popular in Java

  • Making http post requests using okhttp
  • getResourceAsStream (ClassLoader)
  • requestLocationUpdates (LocationManager)
  • compareTo (BigDecimal)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • Top 12 Jupyter Notebook extensions
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