com.puppycrawl.tools.checkstyle

Class DefaultContext

public final class DefaultContext extends Object implements Context

A default implementation of the Context interface.

Author: lkuehne

Method Summary
voidadd(String aKey, Object aValue)
Adds a context entry.
Objectget(String aKey)
{@inheritDoc}
String[]getAttributeNames()
{@inheritDoc}

Method Detail

add

public void add(String aKey, Object aValue)
Adds a context entry.

Parameters: aKey the context key aValue the value for aKey

get

public Object get(String aKey)
{@inheritDoc}

getAttributeNames

public String[] getAttributeNames()
{@inheritDoc}