|
|||||||||
| Home >> All >> com >> puppycrawl >> tools >> checkstyle >> checks >> usage >> [ transmogrify overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.puppycrawl.tools.checkstyle.checks.usage.transmogrify
Class BaseScope

java.lang.Objectcom.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Definition
com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Scope
com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.DefaultScope
com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.BaseScope
- All Implemented Interfaces:
- java.lang.Comparable, IDefinition
- public class BaseScope
- extends DefaultScope
the bottom scope of the scope stack, contains some extra information to make resolution easier.
| Field Summary | |
private SymbolTable |
table
|
| Fields inherited from class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Scope |
classes, elements, labels, referencesInScope |
| Fields inherited from class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Definition |
|
| Constructor Summary | |
BaseScope(SymbolTable symbolTable)
|
|
| Method Summary | |
void |
addDefinition(IPackage def)
|
IClass |
getClassDefinition(java.lang.String name)
|
IPackage |
getPackageDefinition(java.lang.String fullyQualifiedName)
gets the package associated with a fully qualified name |
boolean |
isBaseScope()
|
| Methods inherited from class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.DefaultScope |
getLabelDefinition, getMethodDefinition, getVariableDefinition |
| Methods inherited from class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Scope |
addDefinition, addDefinition, addDefinition, addDefinition, addReferenceInScope, getClasses, getDefinitions, getReferencesIn, getSymbol |
| Methods inherited from class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.Definition |
addReference, compareTo, getEnclosingClass, getEnclosingPackage, getName, getNumReferences, getOccurrence, getParentScope, getQualifiedName, getReferences, getTreeNode, isSourced, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
table
private SymbolTable table
| Constructor Detail |
BaseScope
public BaseScope(SymbolTable symbolTable)
| Method Detail |
isBaseScope
public boolean isBaseScope()
addDefinition
public void addDefinition(IPackage def)
- Overrides:
addDefinitionin classDefaultScope
getPackageDefinition
public IPackage getPackageDefinition(java.lang.String fullyQualifiedName)
- gets the package associated with a fully qualified name
getClassDefinition
public IClass getClassDefinition(java.lang.String name)
- Overrides:
getClassDefinitionin classDefaultScope
|
|||||||||
| Home >> All >> com >> puppycrawl >> tools >> checkstyle >> checks >> usage >> [ transmogrify overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC