net.sourceforge.pmd.dfa.variableaccess

Class VariableAccess

public class VariableAccess extends Object

Author: raik

Field Summary
static intDEFINITION
static intREFERENCING
static intUNDEFINITION
Constructor Summary
VariableAccess(int accessType, String varName)
Method Summary
booleanaccessTypeMatches(int otherType)
intgetAccessType()
StringgetVariableName()
booleanisDefinition()
booleanisReference()
booleanisUndefinition()
StringtoString()

Field Detail

DEFINITION

public static final int DEFINITION

REFERENCING

public static final int REFERENCING

UNDEFINITION

public static final int UNDEFINITION

Constructor Detail

VariableAccess

public VariableAccess(int accessType, String varName)

Method Detail

accessTypeMatches

public boolean accessTypeMatches(int otherType)

getAccessType

public int getAccessType()

getVariableName

public String getVariableName()

isDefinition

public boolean isDefinition()

isReference

public boolean isReference()

isUndefinition

public boolean isUndefinition()

toString

public String toString()