com.puppycrawl.tools.checkstyle.checks

Class AbstractTypeAwareCheck.ClassInfo

Enclosing Class:
AbstractTypeAwareCheck

protected class AbstractTypeAwareCheck.ClassInfo
extends java.lang.Object

Contains class's FullIdent and Class object if we can load it.

Constructor Summary

ClassInfo(FullIdent aName, String aCurrentClass)
Creates new instance of of class information object.

Method Summary

Class
getClazz()
FullIdent
getName()
boolean
isLoadable()
void
setClazz(Class aClass)
Associates Class with an object.

Constructor Details

ClassInfo

public ClassInfo(FullIdent aName,
                 String aCurrentClass)
Creates new instance of of class information object.

Parameters:
aName - FullIdent associated with new object.
aCurrentClass - name of current surrounding class.

Method Details

getClazz

public final Class getClazz()

Returns:
Class associated with an object.


getName

public final FullIdent getName()

Returns:
class name


isLoadable

public final boolean isLoadable()

Returns:
if class is loadable ot not.


setClazz

public final void setClazz(Class aClass)
Associates Class with an object.

Parameters:
aClass - Class to associate with.