JMMF API
pre-release v0.8

fr.umlv.jmmf.reflect
Interface TypeModel

All Known Implementing Classes:
DefaultTypeModel

public interface TypeModel

Version:
0.8.2
Author:
Remi Forax

Method Summary
 java.lang.Class getSuperclass(java.lang.Class c)
          returns the Class representing the superclass of the entity (class, interface, primitive type or void) represented by this Class.
 java.lang.Class[] getSuperTypes(java.lang.Class c)
          return all super types of a given class.
 boolean isInterface(java.lang.Class c)
          return true if the class must be considered as an interface.
 

Method Detail

getSuperTypes

public java.lang.Class[] getSuperTypes(java.lang.Class c)
return all super types of a given class.

isInterface

public boolean isInterface(java.lang.Class c)
return true if the class must be considered as an interface.

getSuperclass

public java.lang.Class getSuperclass(java.lang.Class c)
returns the Class representing the superclass of the entity (class, interface, primitive type or void) represented by this Class. If this Class represents either the Object class, an interface, a primitive type, or void, then null is returned. If this object represents an array class then the Class object representing the Object class is returned.
Returns:
the superclass of the class represented by this object.
See Also:
getSuperTypes(Class)

JMMF API
pre-release v0.8

Rémi Forax 1999,2000 Université de Marne la Vallée