|
|||||||||
| 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 DefaultScope

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
- All Implemented Interfaces:
- java.lang.Comparable, IDefinition
- Direct Known Subclasses:
- BaseScope, BlockDef, ClassDef, MethodDef, PackageDef
- public class DefaultScope
- extends Scope
| Field Summary |
| 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 | |
DefaultScope(java.lang.String name,
Scope parentScope,
SymTabAST node)
|
|
| Method Summary | |
void |
addDefinition(IPackage def)
|
IClass |
getClassDefinition(java.lang.String name)
|
LabelDef |
getLabelDefinition(java.lang.String name)
|
IMethod |
getMethodDefinition(java.lang.String name,
ISignature signature)
|
IVariable |
getVariableDefinition(java.lang.String name)
|
| 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 |
| Constructor Detail |
DefaultScope
public DefaultScope(java.lang.String name, Scope parentScope, SymTabAST node)
| Method Detail |
addDefinition
public void addDefinition(IPackage def)
- Specified by:
addDefinitionin classScope
getClassDefinition
public IClass getClassDefinition(java.lang.String name)
- Specified by:
getClassDefinitionin classScope
getMethodDefinition
public IMethod getMethodDefinition(java.lang.String name, ISignature signature)
- Specified by:
getMethodDefinitionin classScope
getVariableDefinition
public IVariable getVariableDefinition(java.lang.String name)
- Specified by:
getVariableDefinitionin classScope
getLabelDefinition
public LabelDef getLabelDefinition(java.lang.String name)
- Specified by:
getLabelDefinitionin classScope
|
|||||||||
| 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