|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjasm.lang.ClassFile.Field
public static class ClassFile.Field
| Field Summary | |
|---|---|
protected java.util.ArrayList<BytecodeAttribute> |
attributes
|
protected java.util.List<Modifier> |
modifiers
|
protected java.lang.String |
name
|
protected JvmType |
type
|
| Constructor Summary | |
|---|---|
ClassFile.Field(java.lang.String name,
JvmType type,
java.util.List<Modifier> modifiers)
|
|
| Method Summary | |
|---|---|
BytecodeAttribute |
attribute(java.lang.String name)
|
java.util.List<BytecodeAttribute> |
attributes()
|
java.lang.Object |
constant()
|
boolean |
hasModifier(java.lang.Class modClass)
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 |
java.util.List<Modifier> |
modifiers()
|
java.lang.String |
name()
|
void |
setName(java.lang.String n)
|
void |
setType(JvmType t)
|
JvmType |
type()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String name
protected JvmType type
protected java.util.List<Modifier> modifiers
protected java.util.ArrayList<BytecodeAttribute> attributes
| Constructor Detail |
|---|
public ClassFile.Field(java.lang.String name,
JvmType type,
java.util.List<Modifier> modifiers)
| Method Detail |
|---|
public java.lang.String name()
public void setName(java.lang.String n)
public JvmType type()
public void setType(JvmType t)
public java.util.List<Modifier> modifiers()
public java.util.List<BytecodeAttribute> attributes()
public BytecodeAttribute attribute(java.lang.String name)
public boolean hasModifier(java.lang.Class modClass)
modifier -
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 java.lang.Object constant()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||