Search in sources :

Example 6 with IInterfaceDefinition

use of org.apache.flex.compiler.definitions.IInterfaceDefinition in project vscode-nextgenas by BowlerHatLLC.

the class ActionScriptTextDocumentService method appendInterfaceNamesToDetail.

private void appendInterfaceNamesToDetail(StringBuilder detailBuilder, IInterfaceDefinition[] interfaceDefinitions) {
    for (int i = 0, count = interfaceDefinitions.length; i < count; i++) {
        if (i > 0) {
            detailBuilder.append(", ");
        }
        IInterfaceDefinition baseInterface = interfaceDefinitions[i];
        detailBuilder.append(baseInterface.getBaseName());
    }
}
Also used : IInterfaceDefinition(org.apache.flex.compiler.definitions.IInterfaceDefinition)

Aggregations

IInterfaceDefinition (org.apache.flex.compiler.definitions.IInterfaceDefinition)6 IClassDefinition (org.apache.flex.compiler.definitions.IClassDefinition)4 IDefinition (org.apache.flex.compiler.definitions.IDefinition)3 IFunctionDefinition (org.apache.flex.compiler.definitions.IFunctionDefinition)3 IConstantDefinition (org.apache.flex.compiler.definitions.IConstantDefinition)2 ITypeDefinition (org.apache.flex.compiler.definitions.ITypeDefinition)2 FileNotFoundException (java.io.FileNotFoundException)1 IOException (java.io.IOException)1 StringReader (java.io.StringReader)1 Path (java.nio.file.Path)1 ArrayList (java.util.ArrayList)1 ConcurrentModificationException (java.util.ConcurrentModificationException)1 ISourceLocation (org.apache.flex.compiler.common.ISourceLocation)1 IAccessorDefinition (org.apache.flex.compiler.definitions.IAccessorDefinition)1 IEventDefinition (org.apache.flex.compiler.definitions.IEventDefinition)1 IGetterDefinition (org.apache.flex.compiler.definitions.IGetterDefinition)1 INamespaceDefinition (org.apache.flex.compiler.definitions.INamespaceDefinition)1 IParameterDefinition (org.apache.flex.compiler.definitions.IParameterDefinition)1 ISetterDefinition (org.apache.flex.compiler.definitions.ISetterDefinition)1 IStyleDefinition (org.apache.flex.compiler.definitions.IStyleDefinition)1