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

All Known Subinterfaces:
IClass, IMethod, IPackage, IVariable, Typed
All Known Implementing Classes:
ArrayDef, ClassDef, Definition, ExternalClass, ExternalConstructor, ExternalDefinition, ExternalMethod, ExternalPackage, ExternalVariable, InterfaceConstructor, MethodDef, NullClass, PackageDef, UnknownClass, VariableDef

public interface IDefinition

implemented by all definitions of the SymTabAST tree, including source/non-sourced node


Method Summary
 void addReference(Reference reference)
          adds any reference that this definition have to its collection of _references
 java.lang.String getName()
          gets the name that identified this particular definition/node
 int getNumReferences()
          gets the number of references refer to by this definition
 java.lang.String getQualifiedName()
          gets the fully qualified name of the definition, ie.
 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)
 

Method Detail

isSourced

public boolean isSourced()
verifies if this definition node is source/non-sourced(with no source-code)


getName

public java.lang.String getName()
gets the name that identified this particular definition/node


getQualifiedName

public java.lang.String getQualifiedName()
gets the fully qualified name of the definition, ie. dotted name for classes, or method name with its signature for methods, etc


addReference

public void addReference(Reference reference)
adds any reference that this definition have to its collection of _references


getReferences

public java.util.Iterator getReferences()
gets the collection of references refer to by this definition


getNumReferences

public int getNumReferences()
gets the number of references refer to by this definition