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
Class ExternalDefinition  view ExternalDefinition download ExternalDefinition.java

java.lang.Object
  extended bycom.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalDefinition
All Implemented Interfaces:
IDefinition
Direct Known Subclasses:
ExternalClass, ExternalConstructor, ExternalMethod, ExternalPackage, ExternalVariable, InterfaceConstructor

public abstract class ExternalDefinition
extends java.lang.Object
implements IDefinition


Constructor Summary
ExternalDefinition()
           
 
Method Summary
 void addReference(Reference reference)
          adds any reference that this definition have to its collection of _references
 int getNumReferences()
          gets the number of references refer to by this definition
 java.util.Iterator getReferences()
          gets the collection of references refer to by this definition
 boolean isSourced()
          verifies if this definition node is source/non-sourced(with no source-code)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.IDefinition
getName, getQualifiedName
 

Constructor Detail

ExternalDefinition

public ExternalDefinition()
Method Detail

isSourced

public boolean isSourced()
Description copied from interface: IDefinition
verifies if this definition node is source/non-sourced(with no source-code)

Specified by:
isSourced in interface IDefinition

addReference

public void addReference(Reference reference)
Description copied from interface: IDefinition
adds any reference that this definition have to its collection of _references

Specified by:
addReference in interface IDefinition

getReferences

public java.util.Iterator getReferences()
Description copied from interface: IDefinition
gets the collection of references refer to by this definition

Specified by:
getReferences in interface IDefinition

getNumReferences

public int getNumReferences()
Description copied from interface: IDefinition
gets the number of references refer to by this definition

Specified by:
getNumReferences in interface IDefinition