|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gvnix.flex.as.classpath.as3parser.As3ParserMutableClassOrInterfaceTypeDetails
public class As3ParserMutableClassOrInterfaceTypeDetails
Parser-specific details for a mutable ActionScript source file.
| Field Summary | |
|---|---|
uk.co.badgersinfoil.metaas.dom.ASType |
clazz
|
boolean |
isDirty
|
| Constructor Summary | |
|---|---|
As3ParserMutableClassOrInterfaceTypeDetails(uk.co.badgersinfoil.metaas.dom.ASCompilationUnit compilationUnit,
org.springframework.roo.process.manager.FileManager fileManager,
String declaredByMetadataId,
String fileIdentifier,
ActionScriptType typeName,
org.springframework.roo.metadata.MetadataService metadataService,
ASPhysicalTypeMetadataProvider physicalTypeMetadataProvider)
|
|
| Method Summary | |
|---|---|
void |
addField(ASFieldMetadata fieldMetadata)
Adds a new field. |
void |
addField(ASFieldMetadata fieldMetadata,
boolean flush)
Adds a new field. |
void |
addImport(String fullyQualifiedTypeName)
|
void |
addMethod(ASMethodMetadata methodMetadata)
Adds a new method. |
void |
addMethod(ASMethodMetadata methodMetadata,
boolean flush)
Adds a new method. |
void |
addTypeMetaTag(ASMetaTagMetadata metaTag)
Adds a new type-level meta tag. |
void |
addTypeMetaTag(ASMetaTagMetadata metaTag,
boolean flush)
Adds a new type-level meta tag. |
void |
commit()
Commit changes to disk |
static void |
createType(org.springframework.roo.process.manager.FileManager fileManager,
ASClassOrInterfaceTypeDetails cit,
String fileIdentifier)
|
void |
flush()
Forces the implementation to flush any changes. |
ActionScriptPackage |
getCompilationUnitPackage()
|
String |
getDeclaredByMetadataId()
|
ASConstructorMetadata |
getDeclaredConstructor()
|
List<ASFieldMetadata> |
getDeclaredFields()
|
List<ASMethodMetadata> |
getDeclaredMethods()
|
List<ActionScriptType> |
getExtendsTypes()
|
List<ActionScriptType> |
getImplementsTypes()
|
List<String> |
getImports()
|
ActionScriptType |
getName()
|
static String |
getOutput(ASClassOrInterfaceTypeDetails cit)
|
ASPhysicalTypeCategory |
getPhysicalTypeCategory()
|
ASClassOrInterfaceTypeDetails |
getSuperClass()
|
List<ASMetaTagMetadata> |
getTypeMetaTags()
|
void |
removeField(ActionScriptSymbolName fieldName)
Removes an existing field. |
void |
removeField(ActionScriptSymbolName fieldName,
boolean flush)
Removes an existing field. |
void |
removeTypeMetaTag(String name)
Removes the type-level meta tag of the name indicated. |
void |
removeTypeMetaTag(String name,
boolean flush)
Removes the type-level meta tag of the name indicated. |
void |
updateField(ASFieldMetadata fieldMetadata)
|
void |
updateField(ASFieldMetadata fieldMetadata,
boolean flush)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public uk.co.badgersinfoil.metaas.dom.ASType clazz
public boolean isDirty
| Constructor Detail |
|---|
public As3ParserMutableClassOrInterfaceTypeDetails(uk.co.badgersinfoil.metaas.dom.ASCompilationUnit compilationUnit,
org.springframework.roo.process.manager.FileManager fileManager,
String declaredByMetadataId,
String fileIdentifier,
ActionScriptType typeName,
org.springframework.roo.metadata.MetadataService metadataService,
ASPhysicalTypeMetadataProvider physicalTypeMetadataProvider)
| Method Detail |
|---|
public void addField(ASFieldMetadata fieldMetadata,
boolean flush)
ASMutableClassOrInterfaceTypeDetails
addField in interface ASMutableClassOrInterfaceTypeDetailsfieldMetadata - to add (required)flush - changes to disk immediately
public void addMethod(ASMethodMetadata methodMetadata,
boolean flush)
ASMutableClassOrInterfaceTypeDetails
addMethod in interface ASMutableClassOrInterfaceTypeDetailsmethodMetadata - to add (required)flush - changes to disk immediately
public void addTypeMetaTag(ASMetaTagMetadata metaTag,
boolean flush)
ASMutableClassOrInterfaceTypeDetails
addTypeMetaTag in interface ASMutableClassOrInterfaceTypeDetailsmetaTag - to add (required)flush - changes to disk immediately
public void updateField(ASFieldMetadata fieldMetadata,
boolean flush)
updateField in interface ASMutableClassOrInterfaceTypeDetailspublic String getDeclaredByMetadataId()
getDeclaredByMetadataId in interface ASClassOrInterfaceTypeDetailspublic ASConstructorMetadata getDeclaredConstructor()
getDeclaredConstructor in interface ASMemberHoldingTypeDetailspublic List<ASFieldMetadata> getDeclaredFields()
getDeclaredFields in interface ASMemberHoldingTypeDetailspublic List<ASMethodMetadata> getDeclaredMethods()
getDeclaredMethods in interface ASMemberHoldingTypeDetailspublic List<ActionScriptType> getExtendsTypes()
getExtendsTypes in interface ASMemberHoldingTypeDetailspublic List<ActionScriptType> getImplementsTypes()
getImplementsTypes in interface ASMemberHoldingTypeDetailspublic List<ASMetaTagMetadata> getTypeMetaTags()
getTypeMetaTags in interface ASMemberHoldingTypeDetails
public void removeField(ActionScriptSymbolName fieldName,
boolean flush)
ASMutableClassOrInterfaceTypeDetails
removeField in interface ASMutableClassOrInterfaceTypeDetailsfieldName - to remove (required)flush - changes to disk immediately
public void removeTypeMetaTag(String name,
boolean flush)
ASMutableClassOrInterfaceTypeDetails
removeTypeMetaTag in interface ASMutableClassOrInterfaceTypeDetailsname - of the meta tag to remove (required)flush - changes to disk immediatelypublic ActionScriptType getName()
getName in interface ASPhysicalTypeDetailspublic void flush()
CompilationUnitServices
flush in interface CompilationUnitServicespublic ActionScriptPackage getCompilationUnitPackage()
getCompilationUnitPackage in interface CompilationUnitServicespublic List<String> getImports()
getImports in interface CompilationUnitServicespublic void addImport(String fullyQualifiedTypeName)
addImport in interface CompilationUnitServicespublic ASPhysicalTypeCategory getPhysicalTypeCategory()
getPhysicalTypeCategory in interface ASPhysicalTypeDetails
public static final void createType(org.springframework.roo.process.manager.FileManager fileManager,
ASClassOrInterfaceTypeDetails cit,
String fileIdentifier)
public static final String getOutput(ASClassOrInterfaceTypeDetails cit)
public ASClassOrInterfaceTypeDetails getSuperClass()
getSuperClass in interface ASClassOrInterfaceTypeDetailspublic void addField(ASFieldMetadata fieldMetadata)
ASMutableClassOrInterfaceTypeDetails
addField in interface ASMutableClassOrInterfaceTypeDetailsfieldMetadata - to add (required)public void addMethod(ASMethodMetadata methodMetadata)
ASMutableClassOrInterfaceTypeDetails
addMethod in interface ASMutableClassOrInterfaceTypeDetailsmethodMetadata - to add (required)public void addTypeMetaTag(ASMetaTagMetadata metaTag)
ASMutableClassOrInterfaceTypeDetails
addTypeMetaTag in interface ASMutableClassOrInterfaceTypeDetailsmetaTag - to add (required)public void updateField(ASFieldMetadata fieldMetadata)
updateField in interface ASMutableClassOrInterfaceTypeDetailspublic void removeField(ActionScriptSymbolName fieldName)
ASMutableClassOrInterfaceTypeDetails
removeField in interface ASMutableClassOrInterfaceTypeDetailsfieldName - to remove (required)public void removeTypeMetaTag(String name)
ASMutableClassOrInterfaceTypeDetails
removeTypeMetaTag in interface ASMutableClassOrInterfaceTypeDetailsname - of the meta tag to remove (required)public void commit()
ASMutableClassOrInterfaceTypeDetails
commit in interface ASMutableClassOrInterfaceTypeDetails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||