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

java.lang.Object
  extended bycom.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalDefinition
      extended bycom.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalVariable
All Implemented Interfaces:
IDefinition, IVariable, Typed
Direct Known Subclasses:
ArrayLengthMember

public class ExternalVariable
extends ExternalDefinition
implements IVariable

VariableDef is a Definition that contains information about the definition of a variable.


Field Summary
(package private)  java.lang.reflect.Field _javaField
           
 
Constructor Summary
ExternalVariable(java.lang.reflect.Field javaField)
           
 
Method Summary
 java.lang.String getName()
          gets the name that identified this particular definition/node
 java.lang.String getQualifiedName()
          gets the fully qualified name of the definition, ie.
 IClass getType()
          Returns the Type of the variable.
 
Methods inherited from class com.puppycrawl.tools.checkstyle.checks.usage.transmogrify.ExternalDefinition
addReference, getNumReferences, getReferences, isSourced
 
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
addReference, getNumReferences, getReferences, isSourced
 

Field Detail

_javaField

java.lang.reflect.Field _javaField
Constructor Detail

ExternalVariable

public ExternalVariable(java.lang.reflect.Field javaField)
Method Detail

getName

public java.lang.String getName()
Description copied from interface: IDefinition
gets the name that identified this particular definition/node

Specified by:
getName in interface IDefinition

getQualifiedName

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

Specified by:
getQualifiedName in interface IDefinition

getType

public IClass getType()
Returns the Type of the variable.

Specified by:
getType in interface Typed