create new part instance with ReflectionClass
implements Parser::getXXXParts, Parser::hasXXXPart