use of net.jangaroo.jooc.ast.TypedIdeDeclaration in project jangaroo-tools by CoreMedia.
the class JsCodeGenerator method generateStaticMethodList.
private void generateStaticMethodList(ClassDeclaration classDeclaration) throws IOException {
out.write("[");
boolean isFirst = true;
for (TypedIdeDeclaration memberDeclaration : classDeclaration.getStaticMembers().values()) {
if (memberDeclaration.isMethod() && !memberDeclaration.isPrivate() && !memberDeclaration.isProtected() && memberDeclaration.isStatic() && !memberDeclaration.isNative()) {
if (isFirst) {
isFirst = false;
} else {
out.write(",");
}
out.write('"');
out.write(memberDeclaration.getName());
out.write('"');
}
}
out.write("]");
}
Aggregations