public class VariableAccess
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
static int |
DEFINITION |
|
static int |
REFERENCING |
|
static int |
UNDEFINITION |
Constructor | Description |
---|---|
VariableAccess(int accessType,
java.lang.String varName) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
accessTypeMatches(int otherType) |
|
int |
getAccessType() |
|
java.lang.String |
getVariableName() |
|
boolean |
isDefinition() |
|
boolean |
isReference() |
|
boolean |
isUndefinition() |
|
java.lang.String |
toString() |
public static final int DEFINITION
public static final int REFERENCING
public static final int UNDEFINITION
public int getAccessType()
public boolean accessTypeMatches(int otherType)
public boolean isDefinition()
public boolean isReference()
public boolean isUndefinition()
public java.lang.String getVariableName()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2002–2018 PMD. All rights reserved.