uk.co.badgersinfoil.metaas
Interface ASMember

All Known Subinterfaces:
ASField, ASMethod

public interface ASMember

A member of a type; an ASMethod or ASField.


Method Summary
 java.lang.String getDocComment()
          Returns the contents of the documentation comment for this method.
 java.lang.String getName()
          Returns the name of this field.
 java.lang.String getType()
          Returns the name of the return type of value this ActionScript field may contain, or null if it is untyped.
 Visibility getVisibility()
          Returns a value representing any protection-against-access defined for this ActionScript field.
 boolean isStatic()
          Returns true if this ActionScript field is static (i.e.
 void setDocComment(java.lang.String text)
          Set the contents of the 'documentation comment' for this ActionScript method.
 void setName(java.lang.String string)
          Changes the name of this ActionScript field to the given value.
 void setStatic(boolean s)
          Defines this method to be static, or not.
 void setType(java.lang.String string)
          Defines the name of the type of object this ActionScript field may contain.
 void setVisibility(Visibility visibility)
          Defines the level of protection-against-external-access for this ActionScript field.
 

Method Detail

getName

public java.lang.String getName()
Returns the name of this field.


setName

public void setName(java.lang.String string)
Changes the name of this ActionScript field to the given value.


getType

public java.lang.String getType()
Returns the name of the return type of value this ActionScript field may contain, or null if it is untyped.


setType

public void setType(java.lang.String string)
Defines the name of the type of object this ActionScript field may contain. May be set to null, denoting that the value is untyped.


getVisibility

public Visibility getVisibility()
Returns a value representing any protection-against-access defined for this ActionScript field.


setVisibility

public void setVisibility(Visibility visibility)
Defines the level of protection-against-external-access for this ActionScript field.


isStatic

public boolean isStatic()
Returns true if this ActionScript field is static (i.e. the field definition uses the static keyword).


setStatic

public void setStatic(boolean s)
Defines this method to be static, or not. If set to true, this member definition will be qualified with the static keyword, if false, the keyword will be absent.


getDocComment

public java.lang.String getDocComment()
Returns the contents of the documentation comment for this method. Lines of text in the comment will alreeady have had leading '*' characters removed.


setDocComment

public void setDocComment(java.lang.String text)
Set the contents of the 'documentation comment' for this ActionScript method. If the given text has multiple lines, each line will have initial indentation and a '*' character added, so you shouldn't include these in the text yourself.