public class JEnumConstantRef extends AbstractJExpressionImpl
IJExpression, this object
represents a reference to the enum constant.| Modifier | Constructor and Description |
|---|---|
protected |
JEnumConstantRef(AbstractJClass type,
String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
void |
generate(JFormatter f) |
String |
getName()
Returns the name of this constant including the type name
|
int |
hashCode() |
String |
name() |
AbstractJClass |
type() |
_instanceof, band, bor, cand, complement, component, component, component0, cor, decr, div, div, div, div, div, eq, eq0, eqNull, gt, gt0, gte, gte0, incr, invoke, invoke, lt, lt0, lte, lte0, minus, minus, minus, minus, minus, minus, mod, mul, mul, mul, mul, mul, ne, ne0, neNull, not, plus, plus, plus, plus, plus, plus, predecr, preincr, ref, ref, shl, shl, shr, shr, shrz, shrz, xorprotected JEnumConstantRef(@Nonnull AbstractJClass type, @Nonnull String name)
@Nonnull public AbstractJClass type()
@Nonnull public String name()
@Nonnull public String getName()
public void generate(@Nonnull JFormatter f)
Copyright © 2013–2015 Philip Helger. All rights reserved.