public static AccessibleObject[] everythingDeclaredIn(final Class<?> cls, final Class<?>... additionalClasses) {
        if (cls == null) {
            throw new IllegalArgumentException("You need to supply at least one class.");
        }
        Set<AccessibleObject> accessibleObjects = new HashSet<AccessibleObject>();
        accessibleObjects.addAll(Collections.unmodifiableCollection(asList(methodsDeclaredIn(cls, additionalClasses))));
        accessibleObjects.addAll(Collections.unmodifiableCollection(asList(constructorsDeclaredIn(cls,
                additionalClasses))));
        return accessibleObjects.toArray(new AccessibleObject[accessibleObjects.size()]);
    }
public static AccessibleObject [ ] everythingDeclaredIn ( final Class < ? > cls , final Class < ? > ... additionalClasses ) { if ( cls == null ) { throw new IllegalArgumentException ( "You need to supply at least one class." ) ; } Set < AccessibleObject > accessibleObjects = new HashSet < AccessibleObject > ( ) ; accessibleObjects . addAll ( Collections . unmodifiableCollection ( asList ( methodsDeclaredIn ( cls , additionalClasses ) ) ) ) ; accessibleObjects . addAll ( Collections . unmodifiableCollection ( asList ( constructorsDeclaredIn ( cls , additionalClasses ) ) ) ) ; return accessibleObjects . toArray ( new AccessibleObject [ accessibleObjects . size ( ) ] ) ; }
Get all constructors and methods in the supplied class(es).

@param cls
The class whose constructors and methods to get.
@param additionalClasses
Additional classes whose constructors and methods to get.
@return All constructors and methods declared in this class.