|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTypes.Type
Types.FIELD
public class FIELD
Type for fields.
Field Summary | |
---|---|
int |
index
|
java.lang.String |
name
|
Type |
type
|
Constructor Summary | |
---|---|
FIELD(Type type,
java.lang.String name,
int index)
|
Method Summary | |
---|---|
void |
accept(Visitor v)
Visitor pattern dispatch. |
boolean |
coerceTo(Type t)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.lang.String name
public Type type
public int index
Constructor Detail |
---|
public FIELD(Type type, java.lang.String name, int index)
Method Detail |
---|
public java.lang.String toString()
toString
in class Type
public boolean coerceTo(Type t)
coerceTo
in class Type
public void accept(Visitor v)
accept
in interface Visitable
accept
in class Type
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |