org.gvnix.flex.as.classpath.as3parser.details
Class As3ParserConstructorMetadata

java.lang.Object
  extended by org.gvnix.flex.as.classpath.as3parser.details.As3ParserConstructorMetadata
All Implemented Interfaces:
ASConstructorMetadata, ASIdentifiableMember, ASInvocableMemberMetadata

public class As3ParserConstructorMetadata
extends Object
implements ASConstructorMetadata

Parser-specific metadata representation of an ActionScript constructor method.

Author:
Jeremy Grelle

Constructor Summary
As3ParserConstructorMetadata(String declaredByMetadataId, uk.co.badgersinfoil.metaas.dom.ASMethod method, CompilationUnitServices compilationUnitServices)
           
 
Method Summary
static void addConstructor(CompilationUnitServices compilationUnitServices, uk.co.badgersinfoil.metaas.dom.ASType type, ASConstructorMetadata declaredConstructor, boolean permitFlush)
           
 String getBody()
           
 String getDeclaredByMetadataId()
           
 List<ASMetaTagMetadata> getMetaTags()
           
 List<ActionScriptSymbolName> getParameterNames()
           
 List<ActionScriptType> getParameterTypes()
           
 ASTypeVisibility getVisibility()
          Indicates the visibility of the member.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

As3ParserConstructorMetadata

public As3ParserConstructorMetadata(String declaredByMetadataId,
                                    uk.co.badgersinfoil.metaas.dom.ASMethod method,
                                    CompilationUnitServices compilationUnitServices)
Method Detail

getBody

public String getBody()
Specified by:
getBody in interface ASInvocableMemberMetadata
Returns:
the body of the method, if available (can be null if unavailable)

getMetaTags

public List<ASMetaTagMetadata> getMetaTags()
Specified by:
getMetaTags in interface ASInvocableMemberMetadata
Returns:
meta tags on this invocable member (never null, but may be empty)

getParameterNames

public List<ActionScriptSymbolName> getParameterNames()
Specified by:
getParameterNames in interface ASInvocableMemberMetadata
Returns:
the parameter names, if available (never null, but may be empty)

getParameterTypes

public List<ActionScriptType> getParameterTypes()
Specified by:
getParameterTypes in interface ASInvocableMemberMetadata
Returns:
the parameter types (never null, but may be empty)

getDeclaredByMetadataId

public String getDeclaredByMetadataId()
Specified by:
getDeclaredByMetadataId in interface ASIdentifiableMember
Returns:
the ID of the metadata that declared this member (never null)

getVisibility

public ASTypeVisibility getVisibility()
Description copied from interface: ASIdentifiableMember
Indicates the visibility of the member.

Specified by:
getVisibility in interface ASIdentifiableMember
Returns:
the visibility, if available (required)

addConstructor

public static void addConstructor(CompilationUnitServices compilationUnitServices,
                                  uk.co.badgersinfoil.metaas.dom.ASType type,
                                  ASConstructorMetadata declaredConstructor,
                                  boolean permitFlush)


Copyright © 2010–2015 Conselleria d'Infraestructures i Transport - Generalitat Valenciana. All rights reserved.