public interface Hierarchical
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasSubclasses()
Returns true if the subclasses() method will return an array of
one or more elements (ie, not an empty array).
|
List<ObjectSpecification> |
interfaces()
Get the list of specifications for all the interfaces that the class
represented by this specification implements.
|
boolean |
isOfType(ObjectSpecification specification)
Determines if this specification represents the same specification, or a
subclass, of the specified specification.
|
List<ObjectSpecification> |
subclasses()
Get the list of specifications for the subclasses of the class
represented by this specification
|
ObjectSpecification |
superclass()
Get the specification for this specification's class's superclass.
|
boolean hasSubclasses()
List<ObjectSpecification> interfaces()
boolean isOfType(ObjectSpecification specification)
subSpec.isOfType(superSpec) is equivalent to
Java's
superType.isAssignableFrom(subType).
List<ObjectSpecification> subclasses()
ObjectSpecification superclass()
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.