|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.puppycrawl.tools.checkstyle.DefaultContext
public final class DefaultContext
A default implementation of the Context interface.
| Constructor Summary | |
|---|---|
DefaultContext()
|
|
| Method Summary | |
|---|---|
void |
add(String aKey,
Object aValue)
Adds a context entry. |
Object |
get(String aKey)
Searches for the value with the specified attribute key in this context. |
com.google.common.collect.ImmutableCollection<String> |
getAttributeNames()
Returns the names of all atttributes of this context. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultContext()
| Method Detail |
|---|
public Object get(String aKey)
get in interface ContextaKey - the attribute key.
public com.google.common.collect.ImmutableCollection<String> getAttributeNames()
getAttributeNames in interface Context
public void add(String aKey,
Object aValue)
aKey - the context keyaValue - the value for aKey
|
Back to the Checkstyle Home Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||