uk.co.badgersinfoil.metaas
Interface ASClassType

All Superinterfaces:
ASType

public interface ASClassType
extends ASType

A handle on the definition of an ActionScript class


Method Summary
 void addImplementedInterface(java.lang.String string)
          Adds an interface name to the list of interfaces which this ActionScript class implements.
 ASField getField(java.lang.String name)
          Returns a reference to the ActionScript field with the given name, or null, if no such field exists.
 java.util.List getFields()
          Returns a list of ASField objects representing the fields this ActionScript class defines.
 java.util.List getImplementedInterfaces()
          Returns the list of names of the interfaces that this ActionScript class implements.
 java.lang.String getSuperclass()
          Returns the name of this ActionScript class' superclass, or null of the superclass is not specified.
 ASField newField(java.lang.String name, Visibility visibility, java.lang.String type)
          Adds a new ActionScript field definition to this ActionScript class.
 void removeField(java.lang.String name)
          Removes the named field from the list of fields which this ActionScript class defines.
 void removeImplementedInterface(java.lang.String string)
          Removes an interface name from the list of interfaces which this ActionScript class implements.
 void setSuperclass(java.lang.String className)
          Defines the name of the superclass for this ActionScript class.
 
Methods inherited from interface uk.co.badgersinfoil.metaas.ASType
getDocComment, getMethod, getMethods, getName, getVisibility, newMethod, removeMethod, setDocComment, setName, setVisibility
 

Method Detail

getSuperclass

java.lang.String getSuperclass()
Returns the name of this ActionScript class' superclass, or null of the superclass is not specified.


setSuperclass

void setSuperclass(java.lang.String className)
Defines the name of the superclass for this ActionScript class.


getImplementedInterfaces

java.util.List getImplementedInterfaces()
Returns the list of names of the interfaces that this ActionScript class implements.


addImplementedInterface

void addImplementedInterface(java.lang.String string)
Adds an interface name to the list of interfaces which this ActionScript class implements.


removeImplementedInterface

void removeImplementedInterface(java.lang.String string)
Removes an interface name from the list of interfaces which this ActionScript class implements.


newField

ASField newField(java.lang.String name,
                 Visibility visibility,
                 java.lang.String type)
Adds a new ActionScript field definition to this ActionScript class.


getField

ASField getField(java.lang.String name)
Returns a reference to the ActionScript field with the given name, or null, if no such field exists.


getFields

java.util.List getFields()
Returns a list of ASField objects representing the fields this ActionScript class defines.


removeField

void removeField(java.lang.String name)
Removes the named field from the list of fields which this ActionScript class defines.



Copyright © 2006 null. All Rights Reserved.