| Modifier and Type | Field and Description |
|---|---|
protected ArrayList<BytecodeAttribute> |
attributes |
protected List<Modifier> |
modifiers |
protected String |
name |
protected JvmType |
type |
| Constructor and Description |
|---|
Field(String name,
JvmType type,
List<Modifier> modifiers) |
| Modifier and Type | Method and Description |
|---|---|
BytecodeAttribute |
attribute(String name) |
List<BytecodeAttribute> |
attributes() |
Object |
constant() |
boolean |
hasModifier(Class modifierClass)
Check whether this field has one of the "base" modifiers (e.g.
|
boolean |
isAbstract()
Check whether this field is abstract
|
boolean |
isConstant() |
boolean |
isFinal()
Check whether this field is final
|
boolean |
isPrivate()
Check whether this field is private
|
boolean |
isProtected()
Check whether this field is protected
|
boolean |
isPublic()
Check whether this field is public
|
boolean |
isStatic()
Check whether this field is static
|
boolean |
isSynthetic()
Check whether this method is synthetic
|
List<Modifier> |
modifiers() |
String |
name() |
void |
setName(String n) |
void |
setType(JvmType t) |
JvmType |
type() |
protected String name
protected JvmType type
protected ArrayList<BytecodeAttribute> attributes
public String name()
public void setName(String n)
public JvmType type()
public void setType(JvmType t)
public List<BytecodeAttribute> attributes()
public BytecodeAttribute attribute(String name)
public boolean hasModifier(Class modifierClass)
modifierClass - public boolean isAbstract()
public boolean isFinal()
public boolean isStatic()
public boolean isPublic()
public boolean isProtected()
public boolean isPrivate()
public boolean isSynthetic()
public boolean isConstant()
public Object constant()
Copyright © 2016. All rights reserved.