Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.puppycrawl.tools.checkstyle.checks.usage.transmogrify
Interface IPackage  view IPackage download IPackage.java

All Superinterfaces:
IDefinition
All Known Implementing Classes:
ExternalPackage, PackageDef

public interface IPackage
extends IDefinition

PackageDef contains all pertinent information about a package.


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
 
Methods inherited from interface com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.IDefinition
addReference, getName, getNumReferences, getQualifiedName, getReferences, isSourced
 

Method Detail

getClass

public IClass getClass(java.lang.String name)
return class definition associated with this package


getEnclosingPackage

public IPackage getEnclosingPackage()
gets the Package definition of itself


addDefinition

public void addDefinition(IPackage def)
adds a package definition to its parent's list of package definitions