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

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.PackageDef
- All Implemented Interfaces:
- java.lang.Comparable, IDefinition, IPackage
- public class PackageDef
- extends DefaultScope
- implements IPackage
- extends DefaultScope
PackageDef contains all pertinent information about a
package.
| 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 | |
PackageDef(java.lang.String name,
Scope parentScope,
SymTabAST node)
|
|
| Method Summary | |
void |
addDefinition(IPackage def)
adds a package definition to its parent's list of package definitions |
IClass |
getClass(java.lang.String name)
return class definition associated with this package |
IPackage |
getEnclosingPackage()
gets the Package definition of itself |
LabelDef |
getLabelDefinition(java.lang.String name)
|
IVariable |
getVariableDefinition(java.lang.String name)
|
| Methods inherited from class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.DefaultScope |
getClassDefinition, getMethodDefinition |
| 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, 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 |
| Methods inherited from interface com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.IDefinition |
addReference, getName, getNumReferences, getQualifiedName, getReferences, isSourced |
| Constructor Detail |
PackageDef
public PackageDef(java.lang.String name, Scope parentScope, SymTabAST node)
| Method Detail |
getLabelDefinition
public LabelDef getLabelDefinition(java.lang.String name)
- Overrides:
getLabelDefinitionin classDefaultScope
getClass
public IClass getClass(java.lang.String name)
- Description copied from interface:
IPackage - return class definition associated with this package
getEnclosingPackage
public IPackage getEnclosingPackage()
- Description copied from interface:
IPackage - gets the Package definition of itself
- Specified by:
getEnclosingPackagein interfaceIPackage- Overrides:
getEnclosingPackagein classDefinition
getVariableDefinition
public IVariable getVariableDefinition(java.lang.String name)
- Overrides:
getVariableDefinitionin classDefaultScope
addDefinition
public void addDefinition(IPackage def)
- Description copied from interface:
IPackage - adds a package definition to its parent's list of package definitions
- Specified by:
addDefinitionin interfaceIPackage- Overrides:
addDefinitionin 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