|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents an ActionScript method definition within an ActionScript class.
ASType.newMethod(String, ASProtection, String)
Method Summary | |
void |
addParam(java.lang.String name,
java.lang.String type)
Adds a formal parameter to the list of parameters supported by this ActionScript method. |
java.util.List |
getArgs()
Returns a list of the formal arguments accepted by this ActionScript method. |
java.lang.String |
getName()
Returns the name of this method. |
ASProtection |
getProtection()
Returns a value representing any protection-against-access defined for this ActionScript method. |
java.lang.String |
getType()
Returns the name of the return type of this ActionScript method, or null if it is untyped. |
boolean |
isStatic()
Returns true if this ActionScript method is static (i.e. |
Methods inherited from interface uk.co.badgersinfoil.metaas.StatementContainer |
addComment, addStmt |
Method Detail |
public java.lang.String getName()
public java.util.List getArgs()
addParam(String, String)
public java.lang.String getType()
public ASProtection getProtection()
public boolean isStatic()
static
keyword).
public void addParam(java.lang.String name, java.lang.String type)
name
- The name for the parametertype
- The type for the parameter, or null if the parameter is
to be untyped
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |