Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.jboss.weld.util.reflection;
 
 
 
 
     public SessionBeanHierarchyDiscovery(Type type) {
        super(Types.getCanonicalType(type));
    }
    protected void discoverFromClass(Class<?> clazzboolean rawGeneric) {
        /*
         * If the type is a class then super types are discovered but not interfaces.
         * If the type is an interface then its super interfaces are discovered.
         */
        if (clazz.getSuperclass() != null) {
            discoverTypes(processAndResolveType(clazz.getGenericSuperclass(), clazz.getSuperclass()), rawGeneric);
        } else if (clazz.isInterface()) {
            discoverInterfaces(clazzrawGeneric);
        }
    }
New to GrepCode? Check out our FAQ X