|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjasm.lang.ClassFile.Method
public static class ClassFile.Method
| Field Summary | |
|---|---|
protected java.util.ArrayList<BytecodeAttribute> |
attributes
|
protected java.util.List<Modifier> |
modifiers
|
protected java.lang.String |
name
|
protected JvmType.Function |
type
|
| Constructor Summary | |
|---|---|
ClassFile.Method(java.lang.String name,
JvmType.Function type,
java.util.List<Modifier> modifiers)
|
|
| Method Summary | ||
|---|---|---|
|
attribute(java.lang.Class<T> c)
|
|
BytecodeAttribute |
attribute(java.lang.String name)
|
|
java.util.List<BytecodeAttribute> |
attributes()
|
|
java.util.List<JvmType.Clazz> |
exceptions()
|
|
boolean |
hasModifier(java.lang.Class modClass)
Check whether this method has one of the "base" modifiers (e.g. |
|
boolean |
isAbstract()
Check whether this method is abstract |
|
boolean |
isFinal()
Check whether this method is final |
|
boolean |
isNative()
Check whether this method is native |
|
boolean |
isPrivate()
Check whether this method is private |
|
boolean |
isProtected()
Check whether this method is protected |
|
boolean |
isPublic()
Check whether this method is public |
|
boolean |
isStatic()
Check whether this method is static |
|
boolean |
isSynchronized()
Check whether this method is synchronized |
|
boolean |
isSynthetic()
Check whether this method is synthetic |
|
boolean |
isVariableArity()
Check whether this method has varargs |
|
java.util.List<Modifier> |
modifiers()
|
|
java.lang.String |
name()
|
|
java.util.List<ClassFile.Parameter> |
parameters()
|
|
void |
setType(JvmType.Function t)
|
|
JvmType.Function |
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.Function type
protected java.util.List<Modifier> modifiers
protected java.util.ArrayList<BytecodeAttribute> attributes
| Constructor Detail |
|---|
public ClassFile.Method(java.lang.String name,
JvmType.Function type,
java.util.List<Modifier> modifiers)
| Method Detail |
|---|
public java.lang.String name()
public JvmType.Function type()
public void setType(JvmType.Function t)
public java.util.List<ClassFile.Parameter> parameters()
public java.util.List<Modifier> modifiers()
public java.util.List<JvmType.Clazz> exceptions()
public <T extends BytecodeAttribute> T attribute(java.lang.Class<T> c)
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 isNative()
public boolean isSynchronized()
public boolean isSynthetic()
public boolean isVariableArity()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||