final class JFormatter.ReferenceList
extends java.lang.Object
JClass
es whose short name is the same.Modifier and Type | Field and Description |
---|---|
private java.util.ArrayList<JClass> |
classes |
private boolean |
id
true if this name is used as an identifier (like a variable name.)
|
Constructor and Description |
---|
ReferenceList() |
Modifier and Type | Method and Description |
---|---|
void |
add(JClass clazz) |
boolean |
collisions(JDefinedClass enclosingClass)
Returns true if the symbol represented by the short name
is "importable".
|
java.util.List<JClass> |
getClasses() |
boolean |
isId()
Return true iff this is strictly an id, meaning that there
are no collisions with type names.
|
void |
setId(boolean value) |
private final java.util.ArrayList<JClass> classes
private boolean id
public boolean collisions(JDefinedClass enclosingClass)
public void add(JClass clazz)
public java.util.List<JClass> getClasses()
public void setId(boolean value)
public boolean isId()