|
Groovy 1.7.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.groovy.classgen.Variable
class Variable extends Object
Represents compile time variable metadata while compiling a method.
Field Summary | |
---|---|
static Variable |
SUPER_VARIABLE
|
static Variable |
THIS_VARIABLE
|
Constructor Summary | |
private Variable()
|
|
Variable(int index, ClassNode type, String name, int prevCurrent)
|
Method Summary | |
---|---|
Label
|
getEndLabel()
|
int
|
getIndex()
|
String
|
getName()
|
int
|
getPrevIndex()
|
Label
|
getStartLabel()
|
ClassNode
|
getType()
|
String
|
getTypeName()
|
boolean
|
isDynamicTyped()
|
boolean
|
isHolder()
|
boolean
|
isProperty()
|
void
|
setDynamicTyped(boolean b)
|
void
|
setEndLabel(Label endLabel)
|
void
|
setHolder(boolean holder)
|
void
|
setProperty(boolean property)
|
void
|
setStartLabel(Label startLabel)
|
void
|
setType(ClassNode type)
|
String
|
toString()
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
Field Detail |
---|
static final Variable SUPER_VARIABLE
static final Variable THIS_VARIABLE
Constructor Detail |
---|
private Variable()
public Variable(int index, ClassNode type, String name, int prevCurrent)
Method Detail |
---|
public Label getEndLabel()
public int getIndex()
public String getName()
public int getPrevIndex()
public Label getStartLabel()
public ClassNode getType()
public String getTypeName()
public boolean isDynamicTyped()
public boolean isHolder()
public boolean isProperty()
public void setDynamicTyped(boolean b)
public void setEndLabel(Label endLabel)
public void setHolder(boolean holder)
public void setProperty(boolean property)
public void setStartLabel(Label startLabel)
public void setType(ClassNode type)
public String toString()
Copyright © 2003-2009 The Codehaus. All rights reserved.