Also: SpringCore
public interface

ClassMetadata

org.springframework.core.type.ClassMetadata
Known Indirect Subclasses

Class Overview

Interface that defines abstract metadata of a specific class, in a form that does not require that class to be loaded yet.

Summary

Public Methods
abstract String getClassName()
Return the name of the underlying class.
abstract String getEnclosingClassName()
Return the name of the enclosing class of the underlying class, or null if the underlying class is a top-level class.
abstract String[] getInterfaceNames()
Return the name of all interfaces that the underlying class implements, or an empty array if there are none.
abstract String getSuperClassName()
Return the name of the super class of the underlying class, or null if there is no super class defined.
abstract boolean hasEnclosingClass()
Return whether the underlying class has an enclosing class (i.e.
abstract boolean hasSuperClass()
Return whether the underlying class has a super class.
abstract boolean isAbstract()
Return whether the underlying class is marked as abstract.
abstract boolean isConcrete()
Return whether the underlying class represents a concrete class, i.e.
abstract boolean isFinal()
Return whether the underlying class is marked as 'final'.
abstract boolean isIndependent()
Determine whether the underlying class is independent, i.e.
abstract boolean isInterface()
Return whether the underlying class represents an interface.

Public Methods

public abstract String getClassName ()

Also: SpringCore

Return the name of the underlying class.

public abstract String getEnclosingClassName ()

Also: SpringCore

Return the name of the enclosing class of the underlying class, or null if the underlying class is a top-level class.

public abstract String[] getInterfaceNames ()

Also: SpringCore

Return the name of all interfaces that the underlying class implements, or an empty array if there are none.

public abstract String getSuperClassName ()

Also: SpringCore

Return the name of the super class of the underlying class, or null if there is no super class defined.

public abstract boolean hasEnclosingClass ()

Also: SpringCore

Return whether the underlying class has an enclosing class (i.e. the underlying class is an inner/nested class or a local class within a method).

If this method returns false, then the underlying class is a top-level class.

public abstract boolean hasSuperClass ()

Also: SpringCore

Return whether the underlying class has a super class.

public abstract boolean isAbstract ()

Also: SpringCore

Return whether the underlying class is marked as abstract.

public abstract boolean isConcrete ()

Also: SpringCore

Return whether the underlying class represents a concrete class, i.e. neither an interface nor an abstract class.

public abstract boolean isFinal ()

Also: SpringCore

Return whether the underlying class is marked as 'final'.

public abstract boolean isIndependent ()

Also: SpringCore

Determine whether the underlying class is independent, i.e. whether it is a top-level class or a nested class (static inner class) that can be constructed independent from an enclosing class.

public abstract boolean isInterface ()

Also: SpringCore

Return whether the underlying class represents an interface.