elk-reasoner/src/main/java/org/semanticweb/elk/reasoner/Reasoner.java
public synchronized Set<? extends Node<ElkClass>> getSubClassesQuietly(
			final ElkClassExpression classExpression, final boolean direct)
			throws ElkException {
		try {
			return getSubClasses(classExpression, direct);
		} catch (final ElkInconsistentOntologyException e) {
			// All classes are equivalent to each other, so also to owl:Nothing.
			final TaxonomyNode<ElkClass> node = getTaxonomyQuietly()
					.getBottomNode();
			return direct ? node.getDirectSubNodes() : node.getAllSubNodes();
		}
	}
public synchronized Set<? extends Node<ElkClass>> getSubClassesQuietly(
			final ElkClassExpression classExpression, final boolean direct)
			throws ElkException {
		try {
			return getSubClasses(classExpression, direct);
		} catch (final ElkInconsistentOntologyException e) {
			// All classes are equivalent to each other, so also to owl:Nothing.
			final TaxonomyNode<ElkClass> node = getTaxonomyQuietly()
					.getBottomNode();
			return direct ? node.getDirectSubNodes() : node.getAllSubNodes();
		}
	}
public synchronized Set < ? extends Node < ElkClass > > getSubClassesQuietly ( final ElkClassExpression classExpression , final boolean direct ) throws ElkException { try { return getSubClasses ( classExpression , direct ) ; } catch ( final ElkInconsistentOntologyException e ) { // All classes are equivalent to each other, so also to owl:Nothing. final TaxonomyNode < ElkClass > node = getTaxonomyQuietly ( ) . getBottomNode ( ) ; return direct ? node . getDirectSubNodes ( ) : node . getAllSubNodes ( ) ; } }
Return the (direct or indirect) subclasses of the given
{@link ElkClassExpression} as specified by the parameter. The method
returns a set of {@link Node}s, each of which representing an equivalent
class of subclasses. Calling of this method may trigger the computation
of the taxonomy, if it has not been done yet.

@param classExpression
the {@link ElkClassExpression} for which to return the
subclass {@link Node}s
@param direct
if {@code true}, only direct subclasses should be returned
@return the set of {@link Node}s for direct or indirect subclasses of the
given {@link ElkClassExpression} according to the specified
parameter
@throws ElkException
if the result cannot be computed
Return the ( direct or indirect ) subclasses of the given { @link ElkClassExpression } as specified by the parameter . The method returns a set of { @link Node } s each of which representing an equivalent class of subclasses . Calling of this method may trigger the computation of the taxonomy if it has not been done yet .