Package net.sourceforge.pmd.lang.dfa
Class VariableAccess
- java.lang.Object
-
- net.sourceforge.pmd.lang.dfa.VariableAccess
-
public class VariableAccess extends Object
- Since:
- Created on 14.07.2004
- Author:
- raik
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFINITION
static int
REFERENCING
static int
UNDEFINITION
-
Constructor Summary
Constructors Constructor Description VariableAccess(int accessType, String varName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accessTypeMatches(int otherType)
int
getAccessType()
String
getVariableName()
boolean
isDefinition()
boolean
isReference()
boolean
isUndefinition()
String
toString()
-
-
-
Field Detail
-
DEFINITION
public static final int DEFINITION
- See Also:
- Constant Field Values
-
REFERENCING
public static final int REFERENCING
- See Also:
- Constant Field Values
-
UNDEFINITION
public static final int UNDEFINITION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
VariableAccess
public VariableAccess(int accessType, String varName)
-
-
Method Detail
-
getAccessType
public int getAccessType()
-
accessTypeMatches
public boolean accessTypeMatches(int otherType)
-
isDefinition
public boolean isDefinition()
-
isReference
public boolean isReference()
-
isUndefinition
public boolean isUndefinition()
-
getVariableName
public String getVariableName()
-
-