org.gvnix.flex.as.classpath.as3parser.details
Class As3ParserConstructorMetadata
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
As3ParserConstructorMetadata
public As3ParserConstructorMetadata(String declaredByMetadataId,
uk.co.badgersinfoil.metaas.dom.ASMethod method,
CompilationUnitServices compilationUnitServices)
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.