//return <ClassName>._skinParts
ReturnStatementNode returnStatement = nodeFactory.returnStatement(list);
StatementListNode rStatementList = nodeFactory.statementList(null, returnStatement);
//Create final expression
FunctionCommonNode propertyGetter = nodeFactory.functionCommon(currentContext, null, functionSignature, rStatementList);
//Create FunctionDefinition that will contain the above expression and set its type to a GETTER
QualifiedIdentifierNode qFunctionName = AbstractSyntaxTreeUtil.generatePublicQualifiedIdentifier(nodeFactory, SKINPARTS);
FunctionNameNode functionName = nodeFactory.functionName(Tokens.GET_TOKEN, qFunctionName);
FunctionDefinitionNode functionDefinition = nodeFactory.functionDefinition(currentContext, AbstractSyntaxTreeUtil.generateProtectedAttribute(nodeFactory), functionName, propertyGetter);